GNU bug report logs - #7771
23.1; can't turn off font-lock-mode globally

Previous Next

Package: emacs;

Reported by: "K. Richard Pixley" <rich <at> noir.com>

Date: Sun, 2 Jan 2011 19:21:02 UTC

Severity: normal

Found in version 23.1

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


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

From: "K. Richard Pixley" <rich <at> noir.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 7771 <at> debbugs.gnu.org
Subject: Re: bug#7771: 23.1; can't turn off font-lock-mode globally
Date: Sun, 02 Jan 2011 17:20:06 -0800
On 20110102 15:49, Stefan Monnier wrote:
>> (global-font-lock-mode 0) doesn't seem to work.
> It should work.  So please tell us the cases where it doesn't work, so
> we can try and figure out where's the problem.
After starting emacs with "emacs -q", call (global-font-lock-mode 0) by 
hand, then visit a python file.  For me, it is font-locked.

When I call (global-font-lock-mode 0) in my .emacs.el, python mode isn't 
font locked.  But if I ever M-x python-shell, then files visited 
afterward will be font locked, even though global-ton-lock-mode's value 
is nil.  At this point I have to restart emacs in order to see anything.

--rich




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

Previous Next


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