From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier " Newsgroups: gmane.emacs.help Subject: Re: xml indenting, possibly with psgml? Date: 12 Jan 2003 15:46:49 -0500 Organization: Yale University Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <5l7kdadrk6.fsf@rum.cs.yale.edu> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1042442231 10900 80.91.224.249 (13 Jan 2003 07:17:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 13 Jan 2003 07:17:11 +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 18XyqK-0002pX-00 for ; Mon, 13 Jan 2003 08:17:09 +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 18Xyq9-0001cF-04 for gnu-help-gnu-emacs@m.gmane.org; Mon, 13 Jan 2003 02:16:57 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news.ycc.yale.edu!rum.cs.yale.edu!rum.cs.yale.edu Original-Newsgroups: gnu.emacs.help Original-Lines: 12 Original-NNTP-Posting-Host: rum.cs.yale.edu User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Original-NNTP-Posting-Host: rum.cs.yale.edu X-Original-Trace: 12 Jan 2003 15:46:50 -0500, rum.cs.yale.edu Original-Xref: shelby.stanford.edu gnu.emacs.help:108891 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:5419 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5419 >> http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/lisp/textmodes/sgml-mode.el?rev=HEAD > I downloaded this guy and loaded it up, but when I C-x h and C-M \ it > doesn't seem to indent logically. It basically indents every line > increasingly so that they form a backwards stair-step pattern. Any hints??? Just like with most auto-indenting modes (well, maybe more so ;-), you have to be careful where you break your lines. Try to insert newlines at various places to see what helps. In any case, send a problematic sample to emacs-pretest-bug@gnu.org so we can see what to do with it. Stefan