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:33:46 -0800 Message-ID: <4D22168A.5090200@noir.com> References: <4D20CF4D.9010403@noir.com> <4D21184F.2040303@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 1294080017 10248 80.91.229.12 (3 Jan 2011 18:40:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 3 Jan 2011 18:40:17 +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 19:40:12 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 1PZpKF-0008Uz-NO for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Jan 2011 19:40:11 +0100 Original-Received: from localhost ([127.0.0.1]:39526 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZpKF-0006tB-4D for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Jan 2011 13:40:11 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe16.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: 46 Original-X-Complaints-To: abuse@rawbandwidth.com Original-NNTP-Posting-Date: Mon, 03 Jan 2011 18:33:47 UTC Original-Xref: usenet.stanford.edu gnu.emacs.bug:70355 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:43047 Archived-At: On 20110103 00:13, Drew Adams wrote: >> compile (and grep) require font-lock to work. > > They did not used to require font locking. This is a regression, a feature > loss, if users are deprived of the Emacs `grep' and `compile' commands if they > simply turn off font-locking. I concur. This is a sad regression. > The added benefit users get from font-lock should just be a plus, not a > requirement. With font-lock turned off we should just not show any font-lock > highlighting, nothing more. As is, it's not a plus. It simply makes those commands difficult to use. You have to switch to the buffer and manually turn font locking off in them each time you create a pop up in order to view the pop up's contents. (I haven't tried to set up a mode-local hook to do it.) > Font lock was finally turned on by default globally (a change I support > strongly). But that should just be the _default_ behavior. Font lock should > not be required in order to compile or grep. I think it could be a reasonable default if it were visible in all cases. Since it's clearly not, it is, in my opinion, premature to turn on by default. New users and people who are ignorant of the font lock system should not be presented with illegible screens nor be forced to learn the details of this system simply in order to use emacs. IMO, that's intolerable and extremely embarrassing. I can't very well advocate for emacs use when this is such a common occurrence. > As the person who first added regexp highlighting to the Emacs `grep' command > (my version), I know it is a definite plus. But the implementation of the > `grep' and `compile' commands should not _require_ font locking for users to be > able to use the commands for their most important purpose. Again, I strongly concur. As a model, assume for a moment that "font-lock" meant "white characters on a white background". --rich