unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Indentation problems in SGML mode
Date: Thu, 15 May 2003 08:53:14 -0600	[thread overview]
Message-ID: <3EC3A9DA.3090706@yahoo.com> (raw)
In-Reply-To: 84smrgli8r.fsf@lucy.is.informatik.uni-duisburg.de

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 "<",
"</", and ">"):

| 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).

-- 
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;">Kevin Rodgers</a>

  reply	other threads:[~2003-05-15 14:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.6112.1052843222.21513.help-gnu-emacs@gnu.org>
2003-05-13 19:58 ` Indentation problems in SGML mode Kai Großjohann
2003-05-13 23:21   ` Peter Lee
2003-05-15  8:35     ` Kai Großjohann
2003-05-15 14:53       ` Kevin Rodgers [this message]
2003-05-16  6:21         ` Kai Großjohann
2003-05-15 15:22       ` Peter Lee
2003-05-15 17:27   ` Jeffery B. Rancier
     [not found]   ` <mailman.6260.1053020030.21513.help-gnu-emacs@gnu.org>
2003-05-17 17:16     ` Stefan Monnier
2003-05-19 14:36       ` Jeffery B. Rancier
     [not found]       ` <mailman.6432.1053392287.21513.help-gnu-emacs@gnu.org>
2003-05-20  6:40         ` Stefan Monnier
2003-05-21 20:39           ` Jeffery B. Rancier
2003-05-13 16:18 Jeffery B. Rancier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EC3A9DA.3090706@yahoo.com \
    --to=ihs_4664@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).