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

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

LaTeX paragraphs


From: Davis Herring
Subject: LaTeX paragraphs
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.






reply via email to

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