From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Jason Rumney <jasonr@f2s.com>
Cc: emacs-nxml-mode@yahoogroups.com, Emacs Devel <emacs-devel@gnu.org>
Subject: Re: nxml-mode faces
Date: Tue, 18 Dec 2007 21:04:43 +0100 [thread overview]
Message-ID: <476827DB.7040205@gmail.com> (raw)
In-Reply-To: <4767CFA3.10201@f2s.com>
Jason Rumney wrote:
> Does anyone have any objection to the patch below, which makes use of
> existing font-lock faces rather than inventing an entirely separate
> color scheme?
I have nothing against it, but I cc the emacs nxml mailing list if
someone there has any comments. (In fact I am using this color scheme
already in nXhtml, since fontification there may be done by xhtml-mode
even though nxhtml-mode (derived from nxml-mode) is used.)
There is another problem with fontification in nxml-mode. The
fontification routines works very differently from the normal font lock
scheme. If I understand and remember correctly fontification is done
while parsing the file. I think James Clark implemented it this way to
make it faster and perhaps it also allows more granularity.
However the fontification is a problem if you try to make nxml-mode
coexist with other major modes in a buffer since nxml-mode parses the
whole buffer and also wants to fontify the whole buffer.
But this is of course a problem to solve further on, it will take some time.
next prev parent reply other threads:[~2007-12-18 20:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-18 13:48 nxml-mode faces Jason Rumney
2007-12-18 14:25 ` Miles Bader
2007-12-18 16:15 ` Eric Lilja
2007-12-18 20:04 ` Lennart Borgman (gmail) [this message]
2007-12-18 23:37 ` Richard Stallman
2007-12-20 16:04 ` Jason Rumney
2007-12-21 11:01 ` Eric Lilja
2007-12-23 17:14 ` Juri Linkov
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=476827DB.7040205@gmail.com \
--to=lennart.borgman@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=emacs-nxml-mode@yahoogroups.com \
--cc=jasonr@f2s.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.