* filling and comments @ 2007-06-27 9:49 Pierre Lorenzon 2007-06-27 10:16 ` Pierre Lorenzon 2007-06-30 18:42 ` Ralf Angeli 0 siblings, 2 replies; 4+ messages in thread From: Pierre Lorenzon @ 2007-06-27 9:49 UTC (permalink / raw) To: help-gnu-emacs, auctex 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: filling and comments 2007-06-27 9:49 filling and comments Pierre Lorenzon @ 2007-06-27 10:16 ` Pierre Lorenzon 2007-06-30 18:42 ` Ralf Angeli 1 sibling, 0 replies; 4+ messages in thread From: Pierre Lorenzon @ 2007-06-27 10:16 UTC (permalink / raw) To: help-gnu-emacs, auctex Sorry ! Simply tell me "read the doc" was the good answer ! The question is the adaptive-fill-mode value ! Bests Pierre ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: filling and comments 2007-06-27 9:49 filling and comments Pierre Lorenzon 2007-06-27 10:16 ` Pierre Lorenzon @ 2007-06-30 18:42 ` Ralf Angeli 1 sibling, 0 replies; 4+ messages in thread From: Ralf Angeli @ 2007-06-30 18:42 UTC (permalink / raw) To: Pierre Lorenzon; +Cc: help-gnu-emacs, auctex * Pierre Lorenzon (2007-06-27) writes: > 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 ? Upgrade to an AUCTeX version that is not prehistoric. It looks like you are using 11.14 or earlier. -- Ralf ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <mailman.2678.1182937809.32220.help-gnu-emacs@gnu.org>]
* Re: filling and comments [not found] <mailman.2678.1182937809.32220.help-gnu-emacs@gnu.org> @ 2007-06-29 14:44 ` Stefan Monnier 0 siblings, 0 replies; 4+ messages in thread From: Stefan Monnier @ 2007-06-29 14:44 UTC (permalink / raw) To: help-gnu-emacs > 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 ! That sounds like a plain bug. I haven't tried it with AUCTeX, but with Emacs-22 and its' default tex-mode, this seems to work correctly, just as in emacs-lisp-mode. Stefan ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-06-30 18:42 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2007-06-27 9:49 filling and comments Pierre Lorenzon 2007-06-27 10:16 ` Pierre Lorenzon 2007-06-30 18:42 ` Ralf Angeli [not found] <mailman.2678.1182937809.32220.help-gnu-emacs@gnu.org> 2007-06-29 14:44 ` Stefan Monnier
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).