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

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

fill-paragraph and LaTeX comments


From: Franck Pommereau
Subject: fill-paragraph and LaTeX comments
Date: Mon, 24 Jan 2011 01:18:44 -0800 (PST)
User-agent: G2/1.0

Hello all,

I have a problem with fill-paragraph (M-q) in LaTeX mode.
For example, consider this text:

%
very long line that should be filled

If my cursor is in this line and I fill it with M-q, I get something
like:

% very long line
that should be
filled

So, some of my text is now commented, which is really a problem! The
same occur with $$.
I've tried to customise paragraph-separate to "[ \t]*\(%.*\)?$" and
similar regexps but this does not help.

Can anyone help me with this?

Many thanks in advance!
Franck


reply via email to

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