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 14:23:14 -0800 Message-ID: <4D224C52.8050200@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=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1294094422 15527 80.91.229.12 (3 Jan 2011 22:40:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 3 Jan 2011 22:40:22 +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 23:40:18 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 1PZt4b-0006AH-6d for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Jan 2011 23:40:17 +0100 Original-Received: from localhost ([127.0.0.1]:52136 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZt4a-000364-71 for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Jan 2011 17:40:16 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe13.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: 22 Original-X-Complaints-To: abuse@rawbandwidth.com Original-NNTP-Posting-Date: Mon, 03 Jan 2011 22:23:15 UTC Original-Xref: usenet.stanford.edu gnu.emacs.bug:70376 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:43070 Archived-At: On 20110102 19:55, Stefan Monnier wrote: >> M-x compile > > 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. What I'm doing manually is cursing a bit, then switching buffers and manually typing (global-font-lock-mode 0) to make these popups visible. I wonder if we couldn't automate that process? (Excepting, perhaps the cursing.) Would it make sense to push the current value of global-font-lock-mode, run the rest of what these guys do, then restore the value of global-font-lock-mode afterwards? That is, wrap them in a sort of context manager? The end result for me would be a legible buffer and for everyone else would be essentially the same thing they have now. --rich