From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "K. Richard Pixley" Newsgroups: gmane.emacs.bugs Subject: Re: bug#7771: 23.1; can't turn off font-lock-mode globally Date: Mon, 03 Jan 2011 10:40:19 -0800 Message-ID: <4D221813.9000600@noir.com> References: <4D20CF4D.9010403@noir.com> <4D21180B.3050505@noir.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1294083615 28128 80.91.229.12 (3 Jan 2011 19:40:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 3 Jan 2011 19:40:15 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 03 20:40:11 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1PZqGH-0003oL-Sa for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Jan 2011 20:40:10 +0100 Original-Received: from localhost ([127.0.0.1]:43759 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZqGH-0005z9-9D for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Jan 2011 14:40:09 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!news1.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe17.iad.POSTED!00000000!not-for-mail User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 Original-Newsgroups: gnu.emacs.bug In-Reply-To: Original-Lines: 19 Original-X-Complaints-To: abuse@rawbandwidth.com Original-NNTP-Posting-Date: Mon, 03 Jan 2011 18:40:20 UTC Original-Xref: usenet.stanford.edu gnu.emacs.bug:70357 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:43051 Archived-At: On 20110103 08:42, Lennart Borgman wrote: > On Mon, Jan 3, 2011 at 4:55 AM, Stefan Monnier wrote: >> >> As mentioned above, this is the same issue as M-x grep. I hope we can >> fix it for Emacs-24 (by making compile.el use syntax-propertize-function >> rather than font-lock), but for Emacs-23 the only solution I can offer >> is to configure the relevant faces so they look the same as default. > > Would it be possible to make a quick fix for needs like those we are > discussing here by just allowing font-lock to set a property 'noface > instead of face? Or perhaps allow the display engine to bypass the > 'face property? I believe that the fix needs to occur at a meta level to font lock. If modes are changing a user preference randomly, that's not good. The user preference needs to take precedence. It sounds as though it needs to be possible to prevent font locking from being turned on. --rich