From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "D. D. Brierton" Newsgroups: gmane.emacs.help Subject: Re: psgml - support for XML namespaces and schemas? Date: Fri, 08 Nov 2002 16:59:33 +0000 Organization: DZR Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <5l1y5wvy25.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 1036775636 12404 80.91.224.249 (8 Nov 2002 17:13:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 8 Nov 2002 17:13:56 +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 18AChe-0003DY-00 for ; Fri, 08 Nov 2002 18:13:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18ACi5-0002yY-00; Fri, 08 Nov 2002 12:14:21 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!demon!shale.ftech.net!news.ftech.net!landlord!stones.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs User-Agent: Pan/0.11.4 (Unix) X-Comment-To: "Stefan Monnier " Original-Lines: 55 Original-NNTP-Posting-Host: 212.159.101.92 Original-X-Complaints-To: abuse@plus.net.uk Original-X-Trace: stones 1036774774 212.159.101.92 (Fri, 08 Nov 2002 16:59:34 GMT) Original-NNTP-Posting-Date: Fri, 08 Nov 2002 16:59:34 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:106846 comp.emacs:75699 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3399 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3399 On Fri, 08 Nov 2002 16:14:10 +0000, Stefan Monnier wrote: > You can try out Emacs' built-in sgml-mode which is much less featureful than > PSGML but doesn't require anything like a DTD. The version that comes with > Emacs-21.2 is severely under-featured in many respects, but the version in > the development code > http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/lisp/textmodes/sgml-mode.el?rev=HEAD > supposedly works with Emacs-21.2 and provides XML support and indentation. > > I'd be interested to hear any comment about it, Hi Stefan, I downloaded the development code and tried it with 21.1. (I commented out the section of my .emacs on PSGML.) I tried it with this docment: ]> Emacs/PSGML Wrapper &content; The syntac highlighting is nice (nicer than PSGML's). Indenting seems to work nicely too. However, SGML -> Insert Attributes allows returns "Wrong context for adding attribute" regardless of where the cursor is. If I attempt to tab complete on SGML -> Insert Tag it gives ! and then a further tab gives me the choice of: Possible completions are: ![ !attlist !doctype !element !entity I wasn't really expecting any tab completion (I assume no parsing or attempt to read the DTD takes place), but why does it offer to insert things which belong in the internal subset of the document type declaration regardless of where I am in the document? Is that expected behaviour? Are there any specific tests you'd like me to run before I re-enable PSGML? Best, Darren -- ====================================================================== D. D. Brierton darren@dzr-web.com www.dzr-web.com Trying is the first step towards failure (Homer Simpson) ======================================================================