|
From: | K. Richard Pixley |
Subject: | Re: bug#7771: 23.1; can't turn off font-lock-mode globally |
Date: | Mon, 03 Jan 2011 14:23:14 -0800 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 |
On 20110102 19:55, Stefan Monnier wrote:
M-x compileAs mentioned above, this is the same issue as M-x grep. I hope we can fix it for Emacs-24 (by making compile.el use syntax-propertize-function rather than font-lock), but for Emacs-23 the only solution I can offer is to configure the relevant faces so they look the same as default.
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?
The end result for me would be a legible buffer and for everyone else would be essentially the same thing they have now.
--rich
[Prev in Thread] | Current Thread | [Next in Thread] |