emacs-devel
[Top][All Lists]
Advanced

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

Re: how to prevent font-lock from messing with a portion of text?


From: Lennart Borgman (gmail)
Subject: Re: how to prevent font-lock from messing with a portion of text?
Date: Sun, 25 Mar 2007 05:31:23 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666

Stefan Monnier wrote:
A problem with this solution is however that fontification must use
font-lock-fontify-region-function etc.  All major modes does not do that.
Huh?  Which mode doesn't obey font-lock-fontify-region-function?
nxml-mode. Though it is not part of Emacs many people think it is the best
mode for editing XML.

But it doesn't use font-lock either, so no amount of fixing font-lock will
help it, right?


Yes, I believe so. I does its own fontification and I do not belive it has something in the fontification routines it uses that resembles font-lock-fontify-region-function. Unfortunately.




reply via email to

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