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 #123 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: "K. Richard Pixley" <rich <at> noir.com>
Cc: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#7771: 23.1; can't turn off font-lock-mode globally
Date: Tue, 04 Jan 2011 06:05:23 +0200
> From: "K. Richard Pixley" <rich <at> noir.com>
> Date: Mon, 03 Jan 2011 14:23:14 -0800
> 
> What I'm doing manually is cursing a bit, then switching buffers and 
> manually typing (global-font-lock-mode 0) to make these popups visible. 
>   I wonder if we couldn't automate that process?  (Excepting, perhaps 
> the cursing.)
> 
> Would it make sense to push the current value of global-font-lock-mode, 
> run the rest of what these guys do, then restore the value of 
> global-font-lock-mode afterwards?  That is, wrap them in a sort of 
> context manager?

What does global-font-lock-mode have to do with this?  Compilation
mode only turns on font-lock in the current buffer, normally the
compilation buffer.  So just turning it off in that buffer (with
"M-x font-lock-mode RET")  should be enough.  Or am I missing
something?




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.