[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SGML/XML: fill-paragraph between start and end tags
From: |
Jeffery B. Rancier |
Subject: |
Re: SGML/XML: fill-paragraph between start and end tags |
Date: |
Fri, 05 Mar 2004 11:47:18 -0500 |
User-agent: |
Gnus/5.110001 (No Gnus v0.1) Emacs/21.3 (windows-nt) |
"Moore, Mathew L" <MooreML@BATTELLE.ORG> writes:
> I am writing xml in sgml-mode.
>
> Is there a convenient way to perform a fill-paragraph that operates only
> between the start-tag and end-tag surrounding the current point?
>
> 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>
>
> instead of the more preferable,
>
> <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>
>
> Thanks in advance,
>
> --Matt Moore
You may want to look at psgml mode:
http://sourceforge.net/projects/psgml/
--
Thanks,
Jeff