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: Re: Fontification partly broken in some modes Date: Sun, 26 Feb 2012 13:08:01 +0000 Message-ID: <20120226130801.GA3228@acm.acm> References: <87hayfyz31.fsf@thinkpad.tsdh.de> <20120225181929.GA2691@acm.acm> <87d392zlna.fsf@thinkpad.tsdh.de> <20120226014746.GA3377@acm.acm> <87k43anqlp.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1330261739 473 80.91.229.3 (26 Feb 2012 13:08:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 26 Feb 2012 13:08:59 +0000 (UTC) Cc: Tassilo Horn , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 26 14:08:58 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 1S1dqT-0006cL-AR for ged-emacs-devel@m.gmane.org; Sun, 26 Feb 2012 14:08:57 +0100 Original-Received: from localhost ([::1]:36339 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1dqS-00048W-CA for ged-emacs-devel@m.gmane.org; Sun, 26 Feb 2012 08:08:56 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1dqK-00048P-Oz for emacs-devel@gnu.org; Sun, 26 Feb 2012 08:08:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S1dqF-0001OB-4x for emacs-devel@gnu.org; Sun, 26 Feb 2012 08:08:48 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:58328 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1dqE-0001O7-V6 for emacs-devel@gnu.org; Sun, 26 Feb 2012 08:08:43 -0500 Original-Received: (qmail 60957 invoked by uid 3782); 26 Feb 2012 13:08:40 -0000 Original-Received: from acm.muc.de (pD9556B68.dip.t-dialin.net [217.85.107.104]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 26 Feb 2012 14:08:36 +0100 Original-Received: (qmail 3492 invoked by uid 1000); 26 Feb 2012 13:08:01 -0000 Content-Disposition: inline In-Reply-To: <87k43anqlp.fsf@gnu.org> 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:148790 Archived-At: On Sun, Feb 26, 2012 at 12:52:34PM +0800, Chong Yidong wrote: > Alan Mackenzie writes: > > Please try the following patch and let me know it works: > Looks good, thanks. But I suggest moving the check for font-lock-mode > and font-lock-spec-present into font-lock-initial-fontify, so that you > can just do > :after-hook (font-lock-initial-fontify) > Please to commit, with this modification. DONE. Rev. #107741. -- Alan Mackenzie (Nuremberg, Germany).