From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Laurent Faureytier" Newsgroups: gmane.emacs.help Subject: Re: Formatting of XML Date: Sat, 7 Dec 2002 12:54:20 +0100 Organization: Guest of ProXad - France Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3df1e180$0$11853$626a54ce@news.free.fr> References: <5lu1i4nzb9.fsf@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1039287767 28381 80.91.224.249 (7 Dec 2002 19:02:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 7 Dec 2002 19:02:47 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18KkDu-0007Nb-00 for ; Sat, 07 Dec 2002 20:02:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18KjC6-0006e9-0B for gnu-help-gnu-emacs@m.gmane.org; Sat, 07 Dec 2002 12:56:50 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!fr.usenet-edu.net!usenet-edu.net!wanadoo.fr!proxad.net!feeder2-1.proxad.net!news1-2.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-Lines: 59 Original-NNTP-Posting-Date: 07 Dec 2002 12:54:41 MET Original-NNTP-Posting-Host: 62.147.153.15 Original-X-Trace: 1039262081 news1-2.free.fr 11853 62.147.153.15 Original-X-Complaints-To: abuse@proxad.net Original-Xref: shelby.stanford.edu gnu.emacs.help:107834 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:4401 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4401 Hi, I gave up trying to use the emacs builtin sgml-mode long ago... I read the article from the IBM guy about psgml-mode (I think it can still be found at http://www-106.ibm.com/developerworks/library/x-emacs/ ) and then there was light... (downloaded the package from sourceforge.net). It's a bit tricky to install/setup (need to create the SGML public catalog that associates each XML document type with the right DTD) but when it's done, it's really great for indentation, element syntax description, DTD-constrained edition, etc. The only things I regret is the hiliting in psgml seems to be a little poorer than with sgml-mode. Now, I don't know about xml-lite, it may provide a good compromise of complexity/features... Where can we get it ? (I'm using win32 emacs 21.1.1). Maybe more recent versions of Emacs have an improved version of sgml-mode ? "Oliver White" a écrit dans le message de news: b900e154.0211261841.62fac3e3@posting.google.com... > "Stefan Monnier " wrote in message news:<5lu1i4nzb9.fsf@rum.cs.yale.edu>... > > > The distributed version of sgml-mode does not support automatic indentation. > > The development one does, tho (it basically merged in the xml-lite code > > mentioned by Michael, with a few extra fixes/improvements (and new bugs > > as well, I'm sure)). Get it from: > > > > http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/lisp/textmodes/sgml- mode.el?rev=HEAD > > It's not so much auto-indenting that I'm worried about, it's just that > I simply cannot indent at all with the tab key, beyond the level of > indentation of the tag I'm in. > > For instance, if I have this text: > > > > > > > and I insert a new line within the pattern tags, I can't tab beyond > that single level of indentation. > > Also... how would I install the el file you offered? > > Cheers, > > Oli White > Software Engineer > Westinghouse Signals Australia