From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: fill-paragraph / fill region in latex (auctex) buffer
Date: Wed, 23 Nov 2005 02:20:39 -0500 [thread overview]
Message-ID: <87hda3bzmk.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: 43838a31$0$41151$14726298@news.sunsite.dk
>>> 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
next prev parent reply other threads:[~2005-11-23 7:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.15243.1131996330.20277.help-gnu-emacs@gnu.org>
2005-11-22 20:17 ` fill-paragraph / fill region in latex (auctex) buffer Stefan Monnier
2005-11-22 21:14 ` Ralf Angeli
2005-11-23 7:20 ` Stefan Monnier [this message]
2005-11-24 11:27 ` Ralf Angeli
2005-11-25 4:20 ` Stefan Monnier
2005-11-14 19:25 David Reitter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87hda3bzmk.fsf-monnier+gnu.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).