help-gnu-emacs
[Top][All Lists]
Advanced

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

filling and comments


From: Pierre Lorenzon
Subject: filling and comments
Date: Wed, 27 Jun 2007 11:49:28 +0200 (CEST)


Hi,

I am surprised by the difference between the behavior of the
fill-region command in modes like emacs-lisp-mode and
latex-mode provided by auctex. Personnaly I'd like that it
works the same way ! If there is something to modify/customize
please tell me ! 

So what : In emacs-lisp-mode (or Makefile mode or other
programming moddes I think,) when there is a long line starting with
a comment : e.g. ;; and filling the region containing this line
with the fill-region command, the ;; is propagated on all lines
created by the fill command.

In latex-mode, (the line is now starting with %%), and
executing the same command in the same situation, the long line
is broken into smaller ones but the %% is not propagated ! It
means that the short created lines are not commtnted ! and
anyway that's not what I want !

What should I do ? 

Regards

Pierre





reply via email to

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