From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Emacs revision #107149 Date: Fri, 10 Feb 2012 23:20:39 +0000 Message-ID: <20120210232039.GC4340@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1328916069 19039 80.91.229.3 (10 Feb 2012 23:21:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Feb 2012 23:21:09 +0000 (UTC) Cc: bug-cc-mode@gnu.org, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 11 00:21:08 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rvzm2-0003UB-MO for ged-emacs-devel@m.gmane.org; Sat, 11 Feb 2012 00:21:02 +0100 Original-Received: from localhost ([::1]:43722 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rvzm1-0005H0-MA for ged-emacs-devel@m.gmane.org; Fri, 10 Feb 2012 18:21:01 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:59863) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rvzlx-0005Gv-Nf for emacs-devel@gnu.org; Fri, 10 Feb 2012 18:21:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rvzlw-0002Bt-Iw for emacs-devel@gnu.org; Fri, 10 Feb 2012 18:20:57 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:22381 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rvzlw-0002Bh-8i for emacs-devel@gnu.org; Fri, 10 Feb 2012 18:20:56 -0500 Original-Received: (qmail 14320 invoked by uid 3782); 10 Feb 2012 23:20:54 -0000 Original-Received: from acm.muc.de (pD9556CC4.dip.t-dialin.net [217.85.108.196]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 11 Feb 2012 00:20:53 +0100 Original-Received: (qmail 6588 invoked by uid 1000); 10 Feb 2012 23:20:39 -0000 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 193.149.48.1 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:148463 Archived-At: Hello, Lars. Why did you make this change: * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function): Set the default at load time, too, so that `font-lock-fontify-buffer' can be called without setting up the entire mode first. This fixes a bug in `mm-inline-text' with C MIME parts. without so much as a discussion on bug-cc-mode? Or even emacs-devel? cc-mode.el is my file. I'm not happy about this change. Is "the entire mode first" CC Mode first or font lock mode first? Why, should the case be, would you want to call font-lock-fontify-buffer without initialising font lock mode first? Would this not, perhaps, indicate some other problem in mm-inline-text? Why, if the case may be, would you not want to initialise CC Mode? This is a genuine question, not a rhetorical one. -- Alan Mackenzie (Nuremberg, Germany).