From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Turning off colorization Date: Thu, 06 Nov 2014 11:53:23 -0500 Message-ID: References: <874muenb56.fsf@newcastle.ac.uk> <87egtivwop.fsf@fencepost.gnu.org> <87k33951ey.fsf@lifelogs.com> <871tpgwsnc.fsf@fencepost.gnu.org> <20141106160327.GB3385@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415292862 22832 80.91.229.3 (6 Nov 2014 16:54:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Nov 2014 16:54:22 +0000 (UTC) Cc: David Kastrup , emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 06 17:54:15 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XmQK4-00019F-Qd for ged-emacs-devel@m.gmane.org; Thu, 06 Nov 2014 17:54:12 +0100 Original-Received: from localhost ([::1]:54969 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmQK4-00087p-HH for ged-emacs-devel@m.gmane.org; Thu, 06 Nov 2014 11:54:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmQJk-00087W-BL for emacs-devel@gnu.org; Thu, 06 Nov 2014 11:53:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmQJc-00025D-Sr for emacs-devel@gnu.org; Thu, 06 Nov 2014 11:53:52 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:60938) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmQJU-00023i-Uw; Thu, 06 Nov 2014 11:53:36 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Au4MAOatTlRLd+sd/2dsb2JhbABcgw6DYoZ+y1MEAgKBHBcBAXyEAwEBAwFWIwULCw4mEhQYDSSISwnLcgEBAQEGAQEBAR6RCAeESwWLZI0umQ6Bb4QWH4J6AQEB X-IPAS-Result: Au4MAOatTlRLd+sd/2dsb2JhbABcgw6DYoZ+y1MEAgKBHBcBAXyEAwEBAwFWIwULCw4mEhQYDSSISwnLcgEBAQEGAQEBAR6RCAeESwWLZI0umQ6Bb4QWH4J6AQEB X-IronPort-AV: E=Sophos;i="5.04,797,1406606400"; d="scan'208";a="96115369" Original-Received: from 75-119-235-29.dsl.teksavvy.com (HELO ceviche.home) ([75.119.235.29]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 06 Nov 2014 11:53:33 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 02D29660D4; Thu, 6 Nov 2014 11:53:23 -0500 (EST) In-Reply-To: <20141106160327.GB3385@acm.acm> (Alan Mackenzie's message of "Thu, 6 Nov 2014 16:03:27 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:176458 Archived-At: > It's not that rare for me. I do it to make it less difficult to > diagnose bugs in font-locking. Disabling font-lock-mode and setting > font-lock-support-mode to nil is a normal thing to do. Of course, for development purposes it's handy. But the same functionality could be offered some other way. >> To the point that it has crossed my mind a few times that maybe >> a redesign of the code is in order: get rid of the font-lock-mode minor >> mode, set fontification-functions globally (i.e. enable jit-lock in all >> buffers) and have it call font-lock-set-defaults. > You're trolling, right? ;-) No. The only reason this hasn't happened yet is because it's low priority. Stefan