From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Wolfgang Jenkner Newsgroups: gmane.emacs.devel Subject: Re: Emacs revision #107149 Date: Sat, 11 Feb 2012 19:07:14 +0100 Message-ID: <858vk9utv1.fsf@iznogoud.viz> References: <20120210232039.GC4340@acm.acm> <87pqdlbby2.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1328983647 24369 80.91.229.3 (11 Feb 2012 18:07:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 11 Feb 2012 18:07:27 +0000 (UTC) Cc: bug-cc-mode@gnu.org, Alan Mackenzie , Katsumi Yamaoka , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 11 19:07:26 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 1RwHM5-0003Il-Bp for ged-emacs-devel@m.gmane.org; Sat, 11 Feb 2012 19:07:25 +0100 Original-Received: from localhost ([::1]:57380 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwHM4-00022g-OL for ged-emacs-devel@m.gmane.org; Sat, 11 Feb 2012 13:07:24 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:55691) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwHM1-00022Q-RR for emacs-devel@gnu.org; Sat, 11 Feb 2012 13:07:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RwHM0-00075H-P6 for emacs-devel@gnu.org; Sat, 11 Feb 2012 13:07:21 -0500 Original-Received: from mx07.lb01.inode.at ([62.99.145.7]:21340 helo=mx.inode.at) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwHLz-00074J-1p; Sat, 11 Feb 2012 13:07:19 -0500 Original-Received: from [85.127.18.164] (port=7818 helo=iznogoud.viz) by smartmx-07.inode.at with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1RwHLw-0005UQ-7p; Sat, 11 Feb 2012 19:07:16 +0100 Original-Received: from wolfgang by iznogoud.viz with local (Exim 4.77 (FreeBSD)) (envelope-from ) id 1RwHLu-0000ou-8p; Sat, 11 Feb 2012 19:07:14 +0100 Mail-Followup-To: Lars Ingebrigtsen , Alan Mackenzie , bug-cc-mode@gnu.org, emacs-devel@gnu.org, Katsumi Yamaoka User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.92 (berkeley-unix) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 62.99.145.7 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:148479 Archived-At: On Sat, Feb 11 2012, Lars Ingebrigtsen wrote: > Alan Mackenzie writes: > >> 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? > > mm sets `font-lock-mode-hook' (and friends) to nil to avoid problems > when calling `(font-lock-fontify-buffer)', if I remember correctly. I think the point is to inhibit anything that could delay fontification. Please see (the whole) bug#10063 thread [1]. The bogus buffer local binding of font-lock-mode-hook in mm-display-inline-fontify is still there, by the way. [1] http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10063 Wolfgang