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: hi-lock-mode doesn't work with emacs -Q. Date: Thu, 07 Jun 2007 09:22:40 -0400 Message-ID: References: <20070607092651.GA1710@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1181222571 5138 80.91.229.12 (7 Jun 2007 13:22:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Jun 2007 13:22:51 +0000 (UTC) Cc: David Koppelman , emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 07 15:22:50 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HwHww-0005kz-1O for ged-emacs-devel@m.gmane.org; Thu, 07 Jun 2007 15:22:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HwHwv-0003gM-GI for ged-emacs-devel@m.gmane.org; Thu, 07 Jun 2007 09:22:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HwHwr-0003bv-Cg for emacs-devel@gnu.org; Thu, 07 Jun 2007 09:22:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HwHwo-0003WG-PN for emacs-devel@gnu.org; Thu, 07 Jun 2007 09:22:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HwHwo-0003WD-Jw for emacs-devel@gnu.org; Thu, 07 Jun 2007 09:22:42 -0400 Original-Received: from bc.sympatico.ca ([209.226.175.184] helo=tomts22-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HwHwo-0007Ha-7l for emacs-devel@gnu.org; Thu, 07 Jun 2007 09:22:42 -0400 Original-Received: from pastel.home ([70.55.144.218]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070607132241.WXAQ875.tomts22-srv.bellnexxia.net@pastel.home> for ; Thu, 7 Jun 2007 09:22:41 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id C5D7280D3; Thu, 7 Jun 2007 09:22:40 -0400 (EDT) In-Reply-To: <20070607092651.GA1710@muc.de> (Alan Mackenzie's message of "Thu\, 7 Jun 2007 10\:26\:51 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: Solaris 8 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:72411 Archived-At: > How can font-lock-mode be t, whilst at the same time there is no > after-change function? Because font-lock-mode-internal is not enabled. > Is this some optimisation in Font Lock mode that only sets > after-change-functions when font-lock-keywords is non-nil? Yes. > hi-lock.el doesn't seem to be violating Font Lock's proper calling > conventions in any way. Indeed. It's that the `font-lock-mode' function has changed meaning from Emacs-21 to Emacs-22. I'm not yet sure how best to fix it. Stefan