From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jim Crossley Newsgroups: gmane.emacs.help Subject: Re: xml indenting, possibly with psgml? Date: 06 Dec 2002 10:55:52 -0500 Organization: Posted via Supernews, http://www.supernews.com Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1039191085 393 80.91.224.249 (6 Dec 2002 16:11:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 6 Dec 2002 16:11:25 +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 18KL4W-00006C-00 for ; Fri, 06 Dec 2002 17:11:24 +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 18KKuZ-0004Jc-00; Fri, 06 Dec 2002 11:01:07 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter) Original-X-Complaints-To: abuse@supernews.com Original-Lines: 25 Original-Xref: shelby.stanford.edu gnu.emacs.help:107796 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:4345 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4345 Bjoern writes: > I can't figure out how to make psgml indent my xml-files. It just > doesn't do anything when I press 'tab' or do 'indent-region'. M-x customize-variable RET sgml-indent-data > I also get an error message because it doesn't find the dtd, can't I > get rid of that. I guess I really only need indenting and possibly > syntax highlighting. You'll only get that error once (the first time it attempts to parse). You can live with it (and still derive benefit from indentation, etc) or you can create a local CATALOG file that contains the DTD references you commonly use. I highly recommend this article: http://www-106.ibm.com/developerworks/library/x-emacs/ > Perhaps there is a simpler mode for achieving this? Not really. > Bjoern Jim