From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.bugs Subject: bug#13816: 24.3.50; turn-on-font-lock doesn't turn it on Date: Tue, 26 Feb 2013 16:51:10 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1361865144 22275 80.91.229.3 (26 Feb 2013 07:52:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Feb 2013 07:52:24 +0000 (UTC) To: 13816-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 26 08:52:48 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UAFLD-0004Eo-Lu for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Feb 2013 08:52:47 +0100 Original-Received: from localhost ([::1]:54661 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAFKs-0003Tm-Ph for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Feb 2013 02:52:26 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAFKn-0003TX-U5 for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 02:52:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAFKm-000514-7k for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 02:52:21 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45009) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAFKm-00050u-2p for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 02:52:20 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UAFMR-0002i7-AH for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 02:54:03 -0500 In-Reply-To: Resent-From: Katsumi Yamaoka Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Feb 2013 07:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 13816 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed patch Mail-Followup-To: 13816@debbugs.gnu.org, yamaoka@jpl.org, yamaoka@jpl.org Original-Received: via spool by 13816-done@debbugs.gnu.org id=D13816.136186518610350 (code D ref 13816); Tue, 26 Feb 2013 07:54:02 +0000 Original-Received: (at 13816-done) by debbugs.gnu.org; 26 Feb 2013 07:53:06 +0000 Original-Received: from localhost ([127.0.0.1]:50470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAFLV-0002gs-Rp for submit@debbugs.gnu.org; Tue, 26 Feb 2013 02:53:06 -0500 Original-Received: from mail-hampton.hostforweb.net ([216.246.13.138]:51484 helo=hampton.hostforweb.net) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAFLO-0002gP-Ep for 13816-done@debbugs.gnu.org; Tue, 26 Feb 2013 02:53:04 -0500 Original-Received: from localhost.localdomain ([127.0.0.1]:60823 helo=localhost) by hampton.hostforweb.net with smtp (Exim 4.80) (envelope-from ) id 1UAFJg-0041vD-Re; Tue, 26 Feb 2013 01:51:13 -0600 X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.130006 (=?UTF-8?Q?=E7=9C=9F?= Gnus v0.6) Emacs/24.3.50 (i686-pc-cygwin) Cancel-Lock: sha1:2723l33K2hcs0xv8SSPaFVm7rLQ= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: acl_c_authenticated_local_user: root X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:71833 Archived-At: I confirmed it has been fixed on: In GNU Emacs 24.3.50.1 (i686-pc-cygwin, X toolkit, Xaw3d scroll bars) of 2013-02-26 on yamaoka-PC Bzr revision: 111882 eggert@cs.ucla.edu-20130226030908-c65ivknn1bm5hjru Windowing system distributor `The Cygwin/X Project', version 11.0.11302000 Sorry for the noise. Katsumi Yamaoka wrote: > Stefan Monnier wrote: >>> Recently turn-on-font-lock set to some hook turns font-lock >>> on but turns it off immediately regardless of the value of >>> global-font-lock-mode. Here's a recipe: >>> emacs -Q >>> Eval: (add-hook 'emacs-lisp-mode-hook 'turn-on-font-lock) >>> and visit some .el file. >> Works fine on the trunk right now. Can you confirm it was fixed if you >> try a recent enough build? > I build Emacs from the trunk almost everyday. Now I use: > In GNU Emacs 24.3.50.1 (i686-pc-cygwin, X toolkit, Xaw3d scroll bars) > of 2013-02-26 on localhost > Bzr revision: 111880 monnier@iro.umontreal.ca-20130225232750-8wmx78e4uz1u7tfk > Windowing system distributor `The Cygwin/X Project', version 11.0.11302000 > Configured using: > `configure --verbose --with-x-toolkit=lucid --without-imagemagick > --without-dbus --without-gconf --without-gsettings' > I've reverted the 111870 change because of bug#13818, though. > According to my tracing of run-mode-hooks, it turns on font-lock > but turns it off by the last line: > (defun run-mode-hooks (&rest hooks) > [...] > ;; ON > (apply 'run-hooks (cons 'change-major-mode-after-body-hook hooks)) > ;; OFF > (run-hooks 'after-change-major-mode-hook)))