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

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

Re: LaTeX paragraphs


From: Puff Addison
Subject: Re: LaTeX paragraphs
Date: Tue, 19 Aug 2003 10:37:43 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030529

Davis Herring wrote:
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

I have not checked what teh regexpr is but in LaTeX blank lines are paragraph separaptors so its seesmto be working properly.





reply via email to

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