[Top][All Lists]

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

Re: bug#7771: 23.1; can't turn off font-lock-mode globally

From: K. Richard Pixley
Subject: Re: bug#7771: 23.1; can't turn off font-lock-mode globally
Date: Mon, 03 Jan 2011 10:40:19 -0800
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv: Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7

On 20110103 08:42, Lennart Borgman wrote:
On Mon, Jan 3, 2011 at 4:55 AM, Stefan Monnier<address@hidden>  wrote:

As mentioned above, this is the same issue as M-x grep.  I hope we can
fix it for Emacs-24 (by making compile.el use syntax-propertize-function
rather than font-lock), but for Emacs-23 the only solution I can offer
is to configure the relevant faces so they look the same as default.

Would it be possible to make a quick fix for needs like those we are
discussing here by just allowing font-lock to set a property 'noface
instead of face? Or perhaps allow the display engine to bypass the
'face property?

I believe that the fix needs to occur at a meta level to font lock. If modes are changing a user preference randomly, that's not good. The user preference needs to take precedence. It sounds as though it needs to be possible to prevent font locking from being turned on.


reply via email to

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