From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: Indentation problems in SGML mode Date: Thu, 15 May 2003 08:53:14 -0600 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3EC3A9DA.3090706@yahoo.com> References: <84smrgli8r.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1053011365 27378 80.91.224.249 (15 May 2003 15:09:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 15 May 2003 15:09:25 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Thu May 15 17:09:21 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 19GKI0-0006kT-00 for ; Thu, 15 May 2003 17:05:00 +0200 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 19GK8r-00017Z-01 for gnu-help-gnu-emacs@m.gmane.org; Thu, 15 May 2003 10:55:33 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!feed3.newsreader.com!newsreader.com!ngpeer.news.aol.com!newsfeed1!bredband!uio.no!193.75.75.20.MISMATCH!news.eunet.no!fu-berlin.de!uni-berlin.de!170.207.51.80!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 49 Original-NNTP-Posting-Host: 170.207.51.80 Original-X-Trace: fu-berlin.de 1053010390 25377816 170.207.51.80 (16 [82742]) User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us Original-Xref: shelby.stanford.edu gnu.emacs.help:113267 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:9765 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9765 Kai Großjohann wrote: > When PSGML was written, font-lock was probably not powerful enough for > proper SGML font-locking: you can change the < and > characters in > SGML, so regular expressions don't work. I don't think that's the issue, since PSGML does not support different values of stago, etago, and tagc (other than the default values "<", ""): | File: psgml.info, Node: SGML declaration, Next: Managing the DTD, Prev: Validate, Up: Top | | SGML Declaration ****************| | | PSGML does not understand the SGML declaration, it accepts one in the | file but it is ignored. If you have the SGML declaration in another | file you can make `sgmls' use it when you use the `C-c C-v' | (`sgml-validate') command (*note Validate::.). | | PSGML has some options in what features it uses and what markup it | creates. You have to set these options to make PSGML's behavior | consistent with your SGML declaration and personal preferences. | | - User Option: sgml-omittag | Set this to `t' if the SGML declaration has `OMITTAG YES' and to | `nil' otherwise. | | - User Option: sgml-shorttag | Set this to `t' if the SGML declaration has `SHORTTAG YES' and to | `nil' otherwise. | | - User Option: sgml-always-quote-attributes | If non-nil, quote all attribute values inserted after finishing | edit attributes. If this variable is `nil' and `sgml-shorttag' is | non-`nil', attribute values that consists of only name characters | will not be quoted. | | - User Option: sgml-minimize-attributes | Determines minimization of attributes inserted by edit-attributes. | If non-nil, omit attribute name if the attribute value is from a | token group. If `max', omit attributes with default value. | Minimization will only be done if they produce legal SGML (assuming | `sgml-omittag' and `sgml-shorttag' are set correctly). -- Kevin Rodgers