[Top][All Lists]

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

Re: can't turn off font-lock

From: Karl Berry
Subject: Re: can't turn off font-lock
Date: Sun, 12 Aug 2007 16:48:00 -0500

    rms> In M-x grep, I do observe it, but M-x font-lock-mode turns it off.

I've made various attempts at turning off font-lock in compile/grep
hooks without success.  If someone knows a recipe that works, please

    monnier> Because grep relies on compilation-mode, which uses
    font-lock to do its work, so it forcefully enables font-lock.

Am I to infer that M-x compile and M-x grep don't work without
fontification/faces (sorry, I don't understand the difference) any more?
If so, this should be mentioned somehow in the Font Lock node -- that
(global-font-lock-mode 0) doesn't turn off everything.  And in fact
there's no way of predicting what it does and doesn't turn off.

(Also, if so, I guess I'll have to write my own versions, since I find
faces badly and uselessly distracting, especially in -nw mode.  Maybe I
am the only person in the world this is true for.  Sigh.)


reply via email to

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