unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [herring@lanl.gov: LaTeX paragraphs]
       [not found] <E19zYSO-0005LI-AR@fencepost.gnu.org>
@ 2003-09-17 13:49 ` Stefan Monnier
  0 siblings, 0 replies; only message in thread
From: Stefan Monnier @ 2003-09-17 13:49 UTC (permalink / raw)
  Cc: bug-gnu-emacs

> [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 <herring@lanl.gov>
> Subject: LaTeX paragraphs
> To: bug-gnu-emacs@gnu.org
> 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
> Bug-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs
> ----------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-17 13:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E19zYSO-0005LI-AR@fencepost.gnu.org>
2003-09-17 13:49 ` [herring@lanl.gov: LaTeX paragraphs] Stefan Monnier

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).