Re: Strange behaviour of RET in comments

"Uwe Siart" <[email protected]>
Newsgroups gmane.emacs.auc-tex
Message-ID <41ED2837.8553.6CEFF3@localhost>
On 18 Jan 2005 at 14:50, Ralf Angeli wrote:

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

You're right, I've chosen 'newline-and-indent' in order get automatic 
indentation after RET if there's already indentation present. But I'd 
never thought that the effect I reported is due to this (because in the 
example there's no indentation at all).

It seems as if 'newline-and-indent' doesn't work at all in commented 
regions: 

Here (with blanks at the beginning of the line)

,----
|      % Comment
`----

pressing RET in point after 'Comment' puts the cursor at the very 
beginning of the next line. Without '%' all is fine.

Of course not an urgent issue - just to let you know.

-- 
Uwe
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.