From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bjoern Newsgroups: gmane.emacs.help Subject: Re: xml indenting, possibly with psgml? Date: Wed, 11 Dec 2002 00:13:48 +0100 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1039562608 24289 80.91.224.249 (10 Dec 2002 23:23:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 10 Dec 2002 23:23:28 +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 18Ltik-0006J8-00 for ; Wed, 11 Dec 2002 00:23:22 +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 18LtWI-0005EO-07 for gnu-help-gnu-emacs@m.gmane.org; Tue, 10 Dec 2002 18:10:30 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!129.187.19.220!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: 129.187.19.220 Original-X-Trace: fu-berlin.de 1039561786 33991919 129.187.19.220 (16 [142197]) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en In-Reply-To: Original-Xref: shelby.stanford.edu gnu.emacs.help:107977 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:4512 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4512 Jim Crossley wrote: > 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 Hm, my emacs doesn't seem to know that variable :-( >>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: The problem is that there isn't really a DTD for ant build.xml files. ALthough I think there now is a target to create one from a build file, but I am not sure if it's practical if it's constantly changing. Bjoern