GNU bug report logs - #6135
font lock is not turned on in js-mode anymore

Previous Next

Package: emacs;

Reported by: Paul Pogonyshev <p.pogonyshev <at> anakreon.net>

Date: Fri, 7 May 2010 15:23:01 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 6135 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 6135 <at> debbugs.gnu.org, Paul Pogonyshev <p.pogonyshev <at> anakreon.net>
Subject: Re: bug#6135: font lock is not turned on in js-mode anymore
Date: Wed, 16 Jun 2010 09:56:36 -0400
>> 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  <monnier at iro.umontreal.ca>
  
>   * 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




This bug report was last modified 14 years and 346 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.