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

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

RE: SGML/XML: fill-paragraph between start and end tags


From: Moore, Mathew L
Subject: RE: SGML/XML: fill-paragraph between start and end tags
Date: Tue, 09 Mar 2004 09:18:26 -0500

> -----Original Message-----
> From: Stefan Monnier [mailto:address@hidden 
> Sent: Friday, March 05, 2004 09:29
> To: address@hidden
> Subject: Re: SGML/XML: fill-paragraph between start and end tags
> 
> 
> > I am writing xml in sgml-mode.
> 
> If you're not using it already I recommend you try out the 
> sgml-mode.el
> version in the Emacs-CVS repository, which you can browse from
> http://savannah.gnu.org/projects/emacs.  It has some improvements for
> XML editing.
> 



The CVS version of sgml-mode seems to solve the problem outlined below.
I'll try to keep myself a little more up-to-date.

Thanks, Stefan!

--Matt



> > If I have this:
> 
> > <report>
> >   <title>This is a short tag</title>
> >   <description>
> >     <p>This is a long paragraph...</p>
> >   </description>
> > </report>
> 
> > and do a fill-paragraph while the point is between the <p> and </p>,
> > then I get this,
> 
> > <report>
> >   <title>This is a short tag</title>
> >   <description>
> >     <p>This is a long paragraph that needs to be
> >   filled only between the "p" tags.</p>
> >   </description> </report>
> 
> A lonely tag like </description> should be considered as
> a paragraph separator and prevent filling.  There's obviously a bug.
> Please report it with M-x report-emacs-bug.  But if you can 
> try it with the
> above-mentioned CVS code first (I believe the new 
> sgml-mode.el still works
> in Emacs-21.3) it's even better.
> 
> 
>         Stefan
> _______________________________________________
> Help-gnu-emacs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
> 




reply via email to

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