From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: jeff.rancier@softechnics.com (Jeffery B. Rancier) Newsgroups: gmane.emacs.help Subject: Re: SGML/XML: fill-paragraph between start and end tags Date: Fri, 05 Mar 2004 11:47:18 -0500 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1078858446 7772 80.91.224.253 (9 Mar 2004 18:54:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 Mar 2004 18:54:06 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 09 19:53:59 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B0mMZ-0001Rp-00 for ; Tue, 09 Mar 2004 19:53:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B0mK1-0003iG-RT for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Mar 2004 13:51:21 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1AzIUy-00024k-GD for help-gnu-emacs@gnu.org; Fri, 05 Mar 2004 11:48:32 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1AzIUO-0001p8-Li for help-gnu-emacs@gnu.org; Fri, 05 Mar 2004 11:48:29 -0500 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1AzIUN-0001oe-Kl for help-gnu-emacs@gnu.org; Fri, 05 Mar 2004 11:47:55 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AzIUF-00060O-00 for ; Fri, 05 Mar 2004 17:47:47 +0100 Original-Received: from mailserver.softechnics.com ([65.247.80.131]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Mar 2004 17:47:47 +0100 Original-Received: from jeff.rancier by mailserver.softechnics.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Mar 2004 17:47:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 46 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: mailserver.softechnics.com User-Agent: Gnus/5.110001 (No Gnus v0.1) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:/GEB5NTO/CVjVUFlDY2QQ4nKRIQ= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17488 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17488 "Moore, Mathew L" 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: > > > This is a short tag > >

This is a long paragraph...

>
>
> > and do a fill-paragraph while the point is between the

and

, > then I get this, > > > This is a short tag > >

This is a long paragraph that needs to be > filled only between the "p" tags.

>
> > instead of the more preferable, > > > This is a short tag > >

This is a long paragraph that needs to be > filled only between the "p" tags.

>
>
> > Thanks in advance, > > --Matt Moore You may want to look at psgml mode: http://sourceforge.net/projects/psgml/ -- Thanks, Jeff