From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#6135: font lock is not turned on in js-mode anymore Date: Wed, 16 Jun 2010 09:56:36 -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 1276697040 26078 80.91.229.12 (16 Jun 2010 14:04:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 Jun 2010 14:04:00 +0000 (UTC) Cc: 6135@debbugs.gnu.org, Paul Pogonyshev To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 16 16:03:58 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 1OOtDg-0008FL-VG for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Jun 2010 16:03:57 +0200 Original-Received: from localhost ([127.0.0.1]:51165 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOtDg-0003yH-5g for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Jun 2010 10:03:56 -0400 Original-Received: from [140.186.70.92] (port=34990 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOt8Y-0007hI-82 for bug-gnu-emacs@gnu.org; Wed, 16 Jun 2010 09:58:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOt8W-0003eG-5R for bug-gnu-emacs@gnu.org; Wed, 16 Jun 2010 09:58:37 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40778) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOt8W-0003e7-1V for bug-gnu-emacs@gnu.org; Wed, 16 Jun 2010 09:58:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OOt6z-0006MJ-R3; Wed, 16 Jun 2010 09:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier 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 13:57: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.127669660924432 (code B ref 6135); Wed, 16 Jun 2010 13:57:01 +0000 Original-Received: (at 6135) by debbugs.gnu.org; 16 Jun 2010 13:56:49 +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 1OOt6m-0006M1-Kr for submit@debbugs.gnu.org; Wed, 16 Jun 2010 09:56:48 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOt6k-0006Lu-AP for 6135@debbugs.gnu.org; Wed, 16 Jun 2010 09:56:46 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAEd1GExFxISg/2dsb2JhbACeeHK/MIUaBI0R X-IronPort-AV: E=Sophos;i="4.53,426,1272859200"; d="scan'208";a="68144251" Original-Received: from 69-196-132-160.dsl.teksavvy.com (HELO pastel.home) ([69.196.132.160]) by ironport2-out.pppoe.ca with ESMTP; 16 Jun 2010 09:56:41 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id EF53B80BC; Wed, 16 Jun 2010 09:56:36 -0400 (EDT) In-Reply-To: (Glenn Morris's message of "Tue, 15 Jun 2010 23:52:17 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 16 Jun 2010 09:57:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , 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:37803 Archived-At: >> 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). What's the recipe to reproduce the problem? Stefan