From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: karl@freefriends.org (Karl Berry) Newsgroups: gmane.emacs.devel Subject: Re: can't turn off font-lock Date: Sun, 12 Aug 2007 16:48:00 -0500 Message-ID: <200708122148.l7CLm0u32189@f7.net> References: NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1186955340 23554 80.91.229.12 (12 Aug 2007 21:49:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 12 Aug 2007 21:49:00 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: monnier@iro.umontreal.ca Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 12 23:48:58 2007 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.50) id 1IKLIv-00046c-Mu for ged-emacs-devel@m.gmane.org; Sun, 12 Aug 2007 23:48:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IKLIv-0004b7-7v for ged-emacs-devel@m.gmane.org; Sun, 12 Aug 2007 17:48:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IKLIi-0004J2-AD for emacs-devel@gnu.org; Sun, 12 Aug 2007 17:48:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IKLIh-0004I6-Lx for emacs-devel@gnu.org; Sun, 12 Aug 2007 17:48:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IKLIh-0004Hv-Gn for emacs-devel@gnu.org; Sun, 12 Aug 2007 17:48:43 -0400 Original-Received: from server1.f7.net ([64.34.169.74] helo=f7.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IKLIf-0002Wu-R2; Sun, 12 Aug 2007 17:48:42 -0400 X-Envelope-From: karl@freefriends.org X-Envelope-To: rms@gnu.org Original-Received: (from karl@localhost) by f7.net (8.11.7-20030920/8.11.7) id l7CLm0u32189; Sun, 12 Aug 2007 16:48:00 -0500 In-Reply-To: X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) 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:76400 Archived-At: rms> In M-x grep, I do observe it, but M-x font-lock-mode turns it off. I've made various attempts at turning off font-lock in compile/grep hooks without success. If someone knows a recipe that works, please inform. monnier> Because grep relies on compilation-mode, which uses font-lock to do its work, so it forcefully enables font-lock. Am I to infer that M-x compile and M-x grep don't work without fontification/faces (sorry, I don't understand the difference) any more? If so, this should be mentioned somehow in the Font Lock node -- that (global-font-lock-mode 0) doesn't turn off everything. And in fact there's no way of predicting what it does and doesn't turn off. (Also, if so, I guess I'll have to write my own versions, since I find faces badly and uselessly distracting, especially in -nw mode. Maybe I am the only person in the world this is true for. Sigh.) karl