From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: jeff.rancier@softechnics.com (Jeffery B. Rancier) Newsgroups: gmane.emacs.help Subject: Re: Indentation problems in SGML mode Date: Mon, 19 May 2003 10:36:33 -0400 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <84el327h68.fsf@lucy.is.informatik.uni-duisburg.de> <5l3cjdqysh.fsf@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1053392801 27356 80.91.224.249 (20 May 2003 01:06:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 20 May 2003 01:06:41 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue May 20 03:06:40 2003 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 19HvaR-00076q-00 for ; Tue, 20 May 2003 03:06:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19HvSH-0003IJ-Nx for gnu-help-gnu-emacs@m.gmane.org; Mon, 19 May 2003 20:58:13 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19HunQ-0001Kc-7i for help-gnu-emacs@gnu.org; Mon, 19 May 2003 20:16:00 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19HuGr-0006PG-7y for help-gnu-emacs@gnu.org; Mon, 19 May 2003 19:42:22 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19HllQ-0004hQ-00 for help-gnu-emacs@gnu.org; Mon, 19 May 2003 10:37:20 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Hliy-00052w-00 for ; Mon, 19 May 2003 16:34:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Hliv-00052G-00 for ; Mon, 19 May 2003 16:34:45 +0200 Original-Lines: 28 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:vu3f/0Cby1J4/elToxhwQoDnV38= 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:9904 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9904 "Stefan Monnier" writes: >>> Are you using PSGML or the SGML mode that comes with Emacs? >> Out of the box SGML mode. (along with xslt-process as the minor mode). > > Out of the box, Emacs's sgml-mode does not have xslt-process, does not do > indentation, and does not know anything about XML. > You might want to try: > > http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/lisp/textmodes/sgml-mode.el?rev=HEAD > > which adds XML support and indentation to "out of the box SGML mode". That appears to be the same module included in my install (although more current, is that what you were implying?), in /emacs-21.3/lisp/textmodes/sgml-mode.el. Also, from the Menu->SGML->File Options, there is *Indent Step*, and *Indent Data*. Are we talking about two different SGML modes? -- Thanks, Jeff ,---- | Jeffery B. Rancier | | Softechnics | a METTLER TOLEDO company `----