* Sebastian P. Luque (2007-01-13) writes: > On Sat, 13 Jan 2007 13:42:01 +0100, > Ralf Angeli <[EMAIL PROTECTED]> wrote: > >> * Sebastian P. Luque (2007-01-12) writes: >>> Whenever line breaks are introduced to make it easier to read the LaTeX >>> in an equation environment, the closing statement gets an awkward >>> indentation. > >> What's the output of `C-h v TeX-newline-function RET'? > > It says: > > ,-----[ C-h v TeX-newline-function RET ] > | TeX-newline-function is a variable defined in > `/usr/share/emacs-snapshot/site-lisp/auctex/tex.elc'. > | Its value is > | reindent-then-newline-and-indent
That means you've customized it to perform an indent after typing <RET>. Indentation in equation environments is not supported very well. So your options are to either reset `TeX-newline-function' to its default value or to customize `LaTeX-indent-environment-list' and inhibit indentation in equation environments completely. Use the verbatim environments shown in the variable as an example. -- Ralf _______________________________________________ auctex mailing list [email protected] http://lists.gnu.org/mailman/listinfo/auctex
