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: Thu, 22 Apr 2004 00:26:54 +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 1082587409 27825 80.91.224.253 (21 Apr 2004 22:43:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Apr 2004 22:43:29 +0000 (UTC) Cc: emacs-devel Devel Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Apr 22 00:43:20 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 1BGQR6-0000pE-00 for ; Thu, 22 Apr 2004 00:43:20 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BGQR6-0003iw-00 for ; Thu, 22 Apr 2004 00:43:20 +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 1BGQKh-0006mC-P5 for emacs-devel@quimby.gnus.org; Wed, 21 Apr 2004 18:36:43 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BGQKE-0006kn-N7 for emacs-devel@gnu.org; Wed, 21 Apr 2004 18:36:14 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BGQBy-0003tr-Jq for emacs-devel@gnu.org; Wed, 21 Apr 2004 18:28:15 -0400 Original-Received: from [195.54.107.70] (helo=mxfep01.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BGQBx-0003sD-3x for emacs-devel@gnu.org; Wed, 21 Apr 2004 18:27:41 -0400 Original-Received: from coolsville.localdomain ([213.112.109.35] [213.112.109.35]) by mxfep01.bredband.com with ESMTP id <20040421222736.KLQ9130.mxfep01.bredband.com@coolsville.localdomain>; Thu, 22 Apr 2004 00:27:36 +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:22011 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22011 >> 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? > > What part of "uses it internally" don't you understand? > If you turn off font-lock, compile.el just plain doesn't work any more. I assumed it didn't use all the faces internally and those could be turned off, and give the impression that font lock is off. If that is not possible, I guess I have to redefine those faces. However, NEWS should mention this, and perhaps list the names of the faces. It is not obvious that faces starting with compile- also affects grep. Jan D.