From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: Grep and font-lock Date: Wed, 21 Apr 2004 21:27:00 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <102F157B-9374-11D8-991C-000D93505B76@swipnet.se> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1082575987 4840 80.91.224.253 (21 Apr 2004 19:33:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Apr 2004 19:33:07 +0000 (UTC) Cc: emacs-devel Devel Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Apr 21 21:32:59 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BGNSs-0004ZW-00 for ; Wed, 21 Apr 2004 21:32:58 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BGNSs-0000yA-00 for ; Wed, 21 Apr 2004 21:32:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BGNRr-0003MN-5j for emacs-devel@quimby.gnus.org; Wed, 21 Apr 2004 15:31:55 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BGNPo-0002qx-5Z for emacs-devel@gnu.org; Wed, 21 Apr 2004 15:29:48 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BGNOG-0001bV-JR for emacs-devel@gnu.org; Wed, 21 Apr 2004 15:28:51 -0400 Original-Received: from [195.54.107.73] (helo=mxfep02.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BGNNg-0000wr-U5 for emacs-devel@gnu.org; Wed, 21 Apr 2004 15:27:37 -0400 Original-Received: from coolsville.localdomain ([213.112.109.35] [213.112.109.35]) by mxfep02.bredband.com with ESMTP id <20040421192735.CRHI9494.mxfep02.bredband.com@coolsville.localdomain>; Wed, 21 Apr 2004 21:27:35 +0200 In-Reply-To: Original-To: Stefan Monnier X-Mailer: Apple Mail (2.613) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:22001 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22001 >> Good to see grep working again. However, there is an incompatible >> change, >> grep now always turns on font-lock, which the old did not do. How >> does >> one go about to turn it off for grep only? Not wanting to be against >> new > > The new compile.el uses font-lock internally, so you can't turn it off. > But maybe we can make it so font-lock does not put any faces. Any particular reason it doesn't behave like other modes, i.e. if global font lock is off, and not otherwise turned on, via a hook for example, leave it off? Jan D.