auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-devel] On TeX-newline


From: alex
Subject: [AUCTeX-devel] On TeX-newline
Date: Tue, 12 Apr 2016 15:10:08 -0400

Hi,

As it stands, `TeX-newline' doesn't respect `electric-indent-mode'. It calls
`TeX-newline-function' non-interactively, which disables the electric
indentation that `newline' would normally do when `electric-indent-mode` is
enabled. I know that setting this variable to `newline-and-indent' would work,
but all other modes that use `newline' work out of the box.

Is this intentional? It would be solved by using `call-interactively' instead of
`funcall', but there's still the issue of no arguments being passed into
`TeX-newline-function'.

Though I don't really see the point in this variable/function in the first
place. Why not tell people interested in changing behaviour to put the relevant
define-key call in their init file?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]