From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Moore, Mathew L" Newsgroups: gmane.emacs.help Subject: RE: SGML/XML: fill-paragraph between start and end tags Date: Tue, 09 Mar 2004 09:18:26 -0500 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1079028005 9014 80.91.224.253 (11 Mar 2004 18:00:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Mar 2004 18:00:05 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 11 18:59:54 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 1B1UTJ-0000ae-00 for ; Thu, 11 Mar 2004 18:59:54 +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 1B1UPj-0001UQ-Cn for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Mar 2004 12:56:11 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B0i5Z-0000xL-PL for help-gnu-emacs@gnu.org; Tue, 09 Mar 2004 09:20:09 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B0i52-0000ly-Ek for help-gnu-emacs@gnu.org; Tue, 09 Mar 2004 09:20:08 -0500 Original-Received: from [131.167.1.2] (helo=bclcl1.im.battelle.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B0i51-0000kK-CM for help-gnu-emacs@gnu.org; Tue, 09 Mar 2004 09:19:35 -0500 Original-Received: from ws-bco-scn3.milky-way.battelle.org ([131.167.1.110]) by BCLCL1 (PMDF V5.1-10 #U2779) with ESMTP id <01L7IO00USP690T9K1@BCLCL1> for help-gnu-emacs@gnu.org; Tue, 9 Mar 2004 09:18:53 EST Original-Received: from ws-bco-mse1.milky-way.battelle.org ([131.167.1.91]) by ws-bco-scn3 with trend_isnt_name_B; Tue, 09 Mar 2004 09:18:27 -0500 Original-Received: from ws-bco-mse4.milky-way.battelle.org ([131.167.1.104]) by ws-bco-mse1.milky-way.battelle.org with Microsoft SMTPSVC(5.0.2195.5329) ; Tue, 09 Mar 2004 09:18:27 -0500 Original-To: Stefan Monnier , help-gnu-emacs@gnu.org X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: SGML/XML: fill-paragraph between start and end tags Thread-Index: AcQF0rACnRAWrZsuQOqoeX7Wfiz99wADpxVA X-OriginalArrivalTime: 09 Mar 2004 14:18:27.0645 (UTC) FILETIME=[63FBE6D0:01C405E1] X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 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:17535 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17535 > -----Original Message----- > From: Stefan Monnier [mailto:monnier@iro.umontreal.ca]=20 > Sent: Friday, March 05, 2004 09:29 > To: help-gnu-emacs@gnu.org > Subject: Re: SGML/XML: fill-paragraph between start and end tags >=20 >=20 > > I am writing xml in sgml-mode. >=20 > If you're not using it already I recommend you try out the=20 > 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. >=20 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: >=20 > > > > This is a short tag > > > >

This is a long paragraph...

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

and

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

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

> >
>=20 > A lonely tag like 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=20 > try it with the > above-mentioned CVS code first (I believe the new=20 > sgml-mode.el still works > in Emacs-21.3) it's even better. >=20 >=20 > Stefan > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://mail.gnu.org/mailman/listinfo/help-gnu-emacs >=20