From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Bug in font-lock/grep interaction Date: Thu, 14 Oct 2010 18:28:40 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1287074865 15958 80.91.229.12 (14 Oct 2010 16:47:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 14 Oct 2010 16:47:45 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 14 18:47:44 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P6Qxw-00043p-Cc for ged-emacs-devel@m.gmane.org; Thu, 14 Oct 2010 18:47:40 +0200 Original-Received: from localhost ([127.0.0.1]:59095 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P6Qxv-0001bO-QH for ged-emacs-devel@m.gmane.org; Thu, 14 Oct 2010 12:47:39 -0400 Original-Received: from [140.186.70.92] (port=43025 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P6Qh2-00053K-0l for emacs-devel@gnu.org; Thu, 14 Oct 2010 12:30:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P6Qgy-0000Zw-4N for emacs-devel@gnu.org; Thu, 14 Oct 2010 12:30:11 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:33917) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P6Qgx-0000Zr-QJ for emacs-devel@gnu.org; Thu, 14 Oct 2010 12:30:08 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P6Qgu-0002z5-FY for emacs-devel@gnu.org; Thu, 14 Oct 2010 18:30:04 +0200 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Oct 2010 18:30:04 +0200 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Oct 2010 18:30:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 30 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEX0yqP75rb537DOLzr6 4rPmf3afmBxJAAACbElEQVQ4jU1UQW4kIQwkTLjHLR7AeOl7S6jvi+W9o2H9/69sGWakJVISUY2r qLIJIfJeWjtp106EPyQhMIvUnrXUSJ/Vc3aAuSvzGV65f4AuG8B+faSrVFbfz6pHiGXV55BaGyFW wikRfZ8Q5TRnu26LqkqsAD6iHsPaZW3oWlIdEOyXeaPU2V5dKWMxgKdmib9am/OOaWxZkBu51v77 +9FaszuF8ha8AO4/Mc1maUKJX9wRANLpx+K808PGOUIiVwyg4oPUxmzThmGlXWsBxzQDxdqf9/MD CKVhs902prW72fcGYCCl8uMH/IRrCFtVzRTlNHuNwRPASPb8AJRPO19pBEMxO+1ry63Qd8QikOrC mjmwgurCGjOMTgOHgAVdpfQpOSPtMobzgyPEXapXRWYasBse5ge3V6q1KquckGw3PBmLA3HU7izq ANSGZH+fHUDV7k1CnNoKy335osM5VMAibA2+tDtAlmvcmVfxSu2eF645bHQnBy8/Cyo5ciHEELSu Ulk4uH2ebrsYfdj1zcEBOTlyj1FX5Lw5fvv3DtgrdAFw8O6rP06AGG18U6b/gDMt6nlfgS0+Cffa vZtsAeB4FdwEpAC820/01Nq3XuZgIe92P5JS2HJHLRbRcVC1APx+LOCqRwFwVN9CL3IpD/gE+oix VHR5daBqFYFBThJIClLrR3B2wQ/+QY8Y90yqMDXsq+vSjPxiP0gwUfqZQe2S0KQYQNJn35njNhgt KmiqNZpwV1eCiBuf9GIo3THj68lYQdEyrnjT0H4c8p7BPUKFPw+GPw1u4n5utt17wRL1R+L9sNAC RQmJq/wD+f63+8u38jwAAAAASUVORK5CYII= Mail-Copies-To: never X-Now-Playing: Toshimaru Nakamura's _Egrets_: "Tane" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:G00oYouCQFQ5TAkjDyiriu5PGF8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:131708 Archived-At: Glenn Morris 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