From: "Moore, Mathew L" <MooreML@BATTELLE.ORG>
Subject: RE: SGML/XML: fill-paragraph between start and end tags
Date: Tue, 09 Mar 2004 09:18:26 -0500 [thread overview]
Message-ID: <D0DB062F3B1EE24E8A171F220FF12BDEFE4959@ws-bco-mse4.milky-way.battelle.org> (raw)
> -----Original Message-----
> From: Stefan Monnier [mailto:monnier@iro.umontreal.ca]
> Sent: Friday, March 05, 2004 09:29
> To: help-gnu-emacs@gnu.org
> 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
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
>
next reply other threads:[~2004-03-09 14:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-09 14:18 Moore, Mathew L [this message]
[not found] <mailman.1096.1078485135.340.help-gnu-emacs@gnu.org>
2004-03-05 14:28 ` SGML/XML: fill-paragraph between start and end tags Stefan Monnier
-- strict thread matches above, loose matches on Subject: below --
2004-03-03 15:35 Moore, Mathew L
2004-03-05 16:47 ` Jeffery B. Rancier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D0DB062F3B1EE24E8A171F220FF12BDEFE4959@ws-bco-mse4.milky-way.battelle.org \
--to=mooreml@battelle.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.