emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [emacs-nxml-mode] [patch] use font-lock


From: Stefan Monnier
Subject: Re: [emacs-nxml-mode] [patch] use font-lock
Date: Fri, 23 May 2008 22:39:02 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> 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 address@hidden


        Stefan


PS: BTW, is the Emacs CVS now the "official" nxml repository?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]