From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Emacs revision #107149 Date: Sat, 11 Feb 2012 16:56:53 +0100 Message-ID: <87pqdlbby2.fsf@gnus.org> References: <20120210232039.GC4340@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1328975838 4568 80.91.229.3 (11 Feb 2012 15:57:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 11 Feb 2012 15:57:18 +0000 (UTC) Cc: bug-cc-mode@gnu.org, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 11 16:57:15 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 1RwFK7-00077P-HA for ged-emacs-devel@m.gmane.org; Sat, 11 Feb 2012 16:57:15 +0100 Original-Received: from localhost ([::1]:34509 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwFK6-00067E-WA for ged-emacs-devel@m.gmane.org; Sat, 11 Feb 2012 10:57:14 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:43603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwFK3-00066x-8c for emacs-devel@gnu.org; Sat, 11 Feb 2012 10:57:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RwFK1-00045j-Qd for emacs-devel@gnu.org; Sat, 11 Feb 2012 10:57:11 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:36070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwFK1-00045B-Lb; Sat, 11 Feb 2012 10:57:09 -0500 Original-Received: from 93-41-188-50.ip82.fastwebnet.it ([93.41.188.50] helo=rusty) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1RwFJn-0008S1-KX; Sat, 11 Feb 2012 16:56:55 +0100 In-Reply-To: <20120210232039.GC4340@acm.acm> (Alan Mackenzie's message of "Fri, 10 Feb 2012 23:20:39 +0000") User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux) X-MailScanner-ID: 1RwFJn-0008S1-KX MailScanner-NULL-Check: 1329580616.20623@73xE6ZsrhM14T/b+CReV9Q X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 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:148474 Archived-At: 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. Since it's that hook that sets `c-standard-font-lock-fontify-region-function' (which is nil by default), this breaks when viewing C mode files. Is there any reason why `c-standard-font-lock-fontify-region-function' is nil, when this makes just calling `(font-lock-fontify-buffer)' not work? All the other modes seem to work fine. -- (domestic pets only, the antidote for overdose, milk.) http://lars.ingebrigtsen.no * Sent from my Rome