[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fill-paragraph / fill region in latex (auctex) buffer
From: |
Stefan Monnier |
Subject: |
Re: fill-paragraph / fill region in latex (auctex) buffer |
Date: |
Wed, 23 Nov 2005 02:20:39 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
>>> When I select a region with the same text, the behavior is different - no
>>> %'s are inserted, and I get an undesirable result.
>>> This is annoying, because I would want to use fill-region on a whole buffer
>>> in order to wrap lines, and it turns all the commented out stuff into text
>>> that appears in my latex document...
>>
>>> Is this a bug?
>> Yes.
>>> If so, is it due to Emacs or to AUCTeX?
>> Emacs.
> In which sense? That you cannot hook specialized filling functions
> into `fill-region'?
Either that, or that fill-region doesn't understand the fact that blocks of
comments are paragraphs (actually fill-paragraph doesn't quite understand
it either: it only works when you're inside the comment, and even then only
in some cases).
Stefan