[Top][All Lists]

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

Re: Bug in font-lock/grep interaction

From: Lars Magne Ingebrigtsen
Subject: Re: Bug in font-lock/grep interaction
Date: Thu, 14 Oct 2010 18:28:40 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Glenn Morris <address@hidden> writes:

> Lars Magne Ingebrigtsen wrote:
>> If you have
>> (setq font-lock-global-modes nil)
> Why would you do that, as opposed to
> (global-font-lock-mode -1)

Does it make a difference?

>> then grep won't work:
> I think grep requires font-lock to be on to work, so it should
> probably override/ignore font-lock-global-modes. See
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=801
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2134

grep doesn't seem to require font-lock to work?  It works fine if you
disable the colouring crap in grep-setup if font-lock is off.  I think.

But there may be use cases I haven't tested.

(domestic pets only, the antidote for overdose, milk.)
  address@hidden * Lars Magne Ingebrigtsen

reply via email to

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