all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Reitter <david.reitter@gmail.com>
Subject: fill-paragraph / fill region in latex (auctex) buffer
Date: Mon, 14 Nov 2005 19:25:22 +0000	[thread overview]
Message-ID: <5A4F65E5-135B-4EC0-AB06-4F03C5799E1C@gmail.com> (raw)

When I do fill-paragraph on a long line that starts with a %, the  
line is correctly wrapped and a % is added in front of each line.
This is in latex-mode (AUCTeX).

fill-paragraph-function is nil.

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?
If so, is it due to Emacs or to AUCTeX?

             reply	other threads:[~2005-11-14 19:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-14 19:25 David Reitter [this message]
     [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
2005-11-24 11:27       ` Ralf Angeli
2005-11-25  4:20         ` Stefan Monnier

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5A4F65E5-135B-4EC0-AB06-4F03C5799E1C@gmail.com \
    --to=david.reitter@gmail.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.