all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jeff.rancier@softechnics.com (Jeffery B. Rancier)
Subject: Re: SGML/XML: fill-paragraph between start and end tags
Date: Fri, 05 Mar 2004 11:47:18 -0500	[thread overview]
Message-ID: <u7jxz1bs9.fsf@softechnics.com> (raw)
In-Reply-To: D0DB062F3B1EE24E8A171F220FF12BDE07CB15@ws-bco-mse4.milky-way.battelle.org

"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

  reply	other threads:[~2004-03-05 16:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-03 15:35 SGML/XML: fill-paragraph between start and end tags Moore, Mathew L
2004-03-05 16:47 ` Jeffery B. Rancier [this message]
     [not found] <mailman.1096.1078485135.340.help-gnu-emacs@gnu.org>
2004-03-05 14:28 ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2004-03-09 14:18 Moore, Mathew L

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=u7jxz1bs9.fsf@softechnics.com \
    --to=jeff.rancier@softechnics.com \
    /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.