From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Daniel Colascione <dan.colascione@gmail.com>
Cc: Emacs Devel <emacs-devel@gnu.org>,
"Eric M. Ludlam" <eric@siege-engine.com>,
emacs-nxml-mode@yahoogroups.com
Subject: Re: [emacs-nxml-mode] [patch] use font-lock
Date: Fri, 23 May 2008 22:39:02 -0400 [thread overview]
Message-ID: <jwvlk20v35b.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <48373CB1.5040302@gmail.com> (Lennart Borgman's message of "Fri, 23 May 2008 23:52:49 +0200")
>> I've converted nxml to font-lock. I used the existing fontification
>> machinery and put it inside a cc-mode-style matcher. Efficiency and
>> output are the same, but:
>>
>> 1) hi-lock-mode works now
>> 2) all conventional font-locking functions work as expected.
>> For example, you can turn fontification on and off with
>> M-x font-lock-mode.
>> 3) font-lock-add-keywords DTRT
>> 4) multiple-major-modes modes should be able to use nXML fontification now,
>> though this remains untested
Sounds great. Would you submit your patch to emacs-devel@gnu.org?
Stefan
PS: BTW, is the Emacs CVS now the "official" nxml repository?
prev parent reply other threads:[~2008-05-24 2:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200805231711.30830.danc@merrillpress.com>
2008-05-23 21:52 ` [patch] use font-lock Lennart Borgman (gmail)
2008-05-23 22:24 ` [emacs-nxml-mode] " Daniel Colascione
[not found] ` <200805231824.18563.danc@merrillpress.com>
2008-05-23 22:50 ` Lennart Borgman (gmail)
2008-05-24 15:03 ` Daniel Colascione
2008-05-24 16:57 ` Lennart Borgman (gmail)
2008-05-24 2:39 ` Stefan Monnier [this message]
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=jwvlk20v35b.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=dan.colascione@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=emacs-nxml-mode@yahoogroups.com \
--cc=eric@siege-engine.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).