all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* LaTeX paragraphs
@ 2003-08-15 17:27 Davis Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Davis Herring @ 2003-08-15 17:27 UTC (permalink / raw)


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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: LaTeX paragraphs
       [not found] <mailman.459.1060968754.29551.bug-gnu-emacs@gnu.org>
@ 2003-08-19  9:37 ` Puff Addison
  0 siblings, 0 replies; 2+ messages in thread
From: Puff Addison @ 2003-08-19  9:37 UTC (permalink / raw)


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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-19  9:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-15 17:27 LaTeX paragraphs Davis Herring
     [not found] <mailman.459.1060968754.29551.bug-gnu-emacs@gnu.org>
2003-08-19  9:37 ` Puff Addison

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.