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

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

Re: address@hidden: LaTeX paragraphs]


From: Stefan Monnier
Subject: Re: address@hidden: LaTeX paragraphs]
Date: 17 Sep 2003 09:49:46 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> [I sent this message a month ago but did not get a response.]
> Can you please look at this, and ack?

This bug has existed for ever (virtually) and is due to the fact
that the filling code still doesn't understand comments well enough.
We can trivially fix his problem by removing the %-lines from
the paragraph-separators, but then other problems start showing up.


        Stefan


> From: Davis Herring <address@hidden>
> Subject: LaTeX paragraphs
> To: address@hidden
> Date: Fri, 15 Aug 2003 11:27:44 -0600 (MDT)

> For GNU Emacs 21.2.1 (powerpc-apple-darwin, X toolkit) of 2003-06-06:

> The regexps used by LaTeX mode for `paragraph-start' and 
> `paragraph-separate' seem a bit too general: namely, using 
> `forward-paragraph' and then `backward-paragraph' on

> a

> %b

> c

> with point on "b"'s line puts point after c and then just before c (this
> is because, if I read the regexps correctly, the %comment is considered a
> paragraph separator and thus skippable).  Similarly back then forth moves
> across a both times.  This means, most notably, that `fill-paragraph' 
> won't work on comments.  Moreover, `fill-region' on a comment doesn't seem 
> to deduce the comment's fill-prefix properly -- not sure why on that, 
> though.

> Thanks in advance,
> Davis Herring

> - -- 
> This product is sold by volume, not by mass.  If it seems too dense or too 
> sparse, it means mass-energy conversion has occurred during shipping.




> _______________________________________________
> Bug-gnu-emacs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs
> ----------





reply via email to

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