From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#6135: font lock is not turned on in js-mode anymore Date: Tue, 15 Jun 2010 23:52:17 -0400 Message-ID: References: <201005071822.06290.p.pogonyshev@anakreon.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1276660730 917 80.91.229.12 (16 Jun 2010 03:58:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 Jun 2010 03:58:50 +0000 (UTC) Cc: 6135@debbugs.gnu.org To: Paul Pogonyshev Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 16 05:58:47 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OOjlz-0005c5-BA for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Jun 2010 05:58:43 +0200 Original-Received: from localhost ([127.0.0.1]:51903 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOjly-0000yg-R2 for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Jun 2010 23:58:42 -0400 Original-Received: from [140.186.70.92] (port=60744 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOjls-0000wW-NN for bug-gnu-emacs@gnu.org; Tue, 15 Jun 2010 23:58:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOjlq-00018s-JF for bug-gnu-emacs@gnu.org; Tue, 15 Jun 2010 23:58:36 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48893) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOjlq-00018k-Hy for bug-gnu-emacs@gnu.org; Tue, 15 Jun 2010 23:58:34 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OOjgT-0000gS-T3; Tue, 15 Jun 2010 23:53:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <201005071822.06290.p.pogonyshev@anakreon.net> Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Jun 2010 03:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6135 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6135-submit@debbugs.gnu.org id=B6135.12766603442617 (code B ref 6135); Wed, 16 Jun 2010 03:53:01 +0000 Original-Received: (at 6135) by debbugs.gnu.org; 16 Jun 2010 03:52:24 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOjfr-0000gA-FF for submit@debbugs.gnu.org; Tue, 15 Jun 2010 23:52:23 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOjfp-0000g3-E6 for 6135@debbugs.gnu.org; Tue, 15 Jun 2010 23:52:22 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OOjfl-0005Sp-CE; Tue, 15 Jun 2010 23:52:17 -0400 X-Spook: MDA industrial espionage NORAD illuminati Vince Foster X-Ran: 0Ya#O List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37799 Archived-At: Paul Pogonyshev wrote: > Since a few days, opening a .js file (js-mode) doesn't turn buffer > fontification on, despite `global-font-lock-mode' being t. Directly > invoking `M-x font-lock-mode' in this new buffer does bring syntax > highlight back, so it's not like "fontification does not work" it is > "fontification is not turned on". It seems this is somehow due to 2010-04-27 Stefan Monnier * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Avoid re-enabling a minor mode after the user turned the minor mode off if MODE-enable-in-buffers is run twice (typically once from fundamental-mode's after-change-major-mode-hook and a second time from run-mode-hook's own after-change-major-mode-hook).