GNU bug report logs - #7771
23.1; can't turn off font-lock-mode globally

Previous Next

Package: emacs;

Reported by: "K. Richard Pixley" <rich <at> noir.com>

Date: Sun, 2 Jan 2011 19:21:02 UTC

Severity: normal

Found in version 23.1

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "K. Richard Pixley" <rich <at> noir.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: bug-gnu-emacs <at> gnu.org
Subject: bug#7771: 23.1; can't turn off font-lock-mode globally
Date: Mon, 03 Jan 2011 12:29:13 -0800
On 20110103 11:52, Eli Zaretskii wrote:
>> From: "K. Richard Pixley"<rich <at> noir.com>
>> Date: Mon, 03 Jan 2011 10:40:19 -0800
>>
>> I believe that the fix needs to occur at a meta level to font lock.
> What do you mean by "meta level to font lock"?
I mean that the mechanism for allowing or barring font lock apparently 
can't be part of the font lock subsystem.  It appears as though it will 
need to be outside the font-lock system in order to _gate_ the font lock 
system.

It appears as though people may be erroneously conflating font-lock 
modes with syntactic meaning of the underlying text and keying off 
font-lock values rather than the syntactic meanings.  This leads to the 
erroneous programmer impression that font-lock is a necessary 
prerequisite for their code, so they force it on.

Perhaps this is just an iteration of the "better lock, better lockpick, 
better lock, better lockpick" escalation cycle.  Perhaps there's another 
way to solve this problem without resorting to an escalation.  But as 
emacs is currently regressing, (can't use major modes that used to be 
available), it appears as though we are in dire need of a quick fix 
before emacs regresses to a point of complete inutility.

Either that, or we need to back off some recent changes and return to 
the code that worked.

--rich




This bug report was last modified 14 years and 115 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.