unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: emacs-devel@gnu.org
Subject: Re: Bug in font-lock/grep interaction
Date: Thu, 14 Oct 2010 18:28:40 +0200	[thread overview]
Message-ID: <m3pqvceo1z.fsf@quimbies.gnus.org> (raw)
In-Reply-To: f4iq14bw42.fsf@fencepost.gnu.org

Glenn Morris <rgm@gnu.org> 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.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




      reply	other threads:[~2010-10-14 16:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-14 13:02 Bug in font-lock/grep interaction Lars Magne Ingebrigtsen
2010-10-14 16:02 ` Glenn Morris
2010-10-14 16:28   ` Lars Magne Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3pqvceo1z.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).