Re: Strange behaviour of RET in comments

Ralf Angeli <[email protected]>
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
* Uwe Siart (2005-01-18) writes:

> in AUCTeX 11.54: When I have a commented line like
>
> ,----
> | % Comment
> `----
>
> and point is before the '%' sign, then after pressing <RET> <RET> the
> result is
>
> ,----
> | %
> | Comment
> `----
>
> Is this wanted? It looks strange to me, because I can't push the
> commented paragraph forward by repeated RET.

You asked for this behavior by customizing `TeX-newline-function'.

But I admit that the result of `newline-and-indent' or
`reindent-then-newline-and-indent' (whatever you have chosen) is a bit
odd.  Maybe we should provide additional functions which are aware of
comments.

-- 
Ralf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.