unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: kai.grossjohann@gmx.net (Kai Großjohann)
Subject: Re: Indentation problems in SGML mode
Date: Thu, 15 May 2003 10:35:48 +0200	[thread overview]
Message-ID: <84smrgli8r.fsf@lucy.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: uof26xwja.fsf@swbell.net

Peter Lee <pete_lee@swbell.net> writes:

> When I open an xml file it is initially not fontified. However if I
> select a region and do C-M-\ it then fontifies.

That's because PSGML uses its own fontification mechanism, and avoids
font-lock.  PSGML does fontification lazily, in a way, so it only
fontifies things that you change.  You can also go to a line
and hit TAB -- then it will fontify everything up to that line.

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.

-- 
This line is not blank.

  reply	other threads:[~2003-05-15  8:35 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 [this message]
2003-05-15 14:53       ` Kevin Rodgers
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=84smrgli8r.fsf@lucy.is.informatik.uni-duisburg.de \
    --to=kai.grossjohann@gmx.net \
    /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).