[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: font-lock-add-keywords in hi-lock.el
From: |
Bill Wohler |
Subject: |
Re: font-lock-add-keywords in hi-lock.el |
Date: |
Thu, 29 Dec 2005 19:10:49 -0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Juri Linkov <address@hidden> writes:
>> font-lock-keywords in the affected Gnus buffers is (t nil).
>>
>> [...]
>>
>> Is that enough information to find the culprit, or is there a watch I
>> can put on the global value of font-lock-keywords which will print a
>> stacktrace or enter the debugger when it is changed?
> ...
>
> Before fixing it, it would be useful to know how it gets called.
> In the buffer list you sent earlier there is the *Occur* buffer.
> Do you remember on what buffer you called `occur'? Very likely
> `occur' forced fontification on a non-font-lock buffer.
It's most likely to have been one of these two:
* mh-e.texi 309787 Texinfo
/usr/local/src/mh-e/doc/mh-e.texi
mh-customize.el 111626 Emacs-Lisp
/usr/local/src/mh-e/src/emacs/lisp/mh-e/mh-customize.el
As you can imagine, both have extensive font-lock-keywords settings; I
do have this in my custom-set-variables so font-lock is turned on.
'(global-font-lock-mode t nil (font-lock))
I suppose it is no longer needed except for Emacs 21 compatibility.
> However, I can't reproduce this bug with `emacs -Q'. Do you have a
> special font-lock configuration in .emacs, like calling
> `(font-lock-turn-on-thing-lock)' directly on non-font-lock buffers
> or something like that?
Nope, that setting above is the only hit for "font" in my loaded
modules.
Would it help to check the value of font-lock-keywords before and
after running list-matching-lines?
--
Bill Wohler <address@hidden> http://www.newt.com/wohler/ GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.
- Re: font-lock-add-keywords in hi-lock.el, (continued)
- Re: font-lock-add-keywords in hi-lock.el, Bill Wohler, 2005/12/15
- Re: font-lock-add-keywords in hi-lock.el, Bill Wohler, 2005/12/22
- Re: font-lock-add-keywords in hi-lock.el, Juri Linkov, 2005/12/22
- Re: font-lock-add-keywords in hi-lock.el, Bill Wohler, 2005/12/23
- Re: font-lock-add-keywords in hi-lock.el, Juri Linkov, 2005/12/24
- Re: font-lock-add-keywords in hi-lock.el, Bill Wohler, 2005/12/26
- Re: font-lock-add-keywords in hi-lock.el, Juri Linkov, 2005/12/26
- Re: font-lock-add-keywords in hi-lock.el, Bill Wohler, 2005/12/28
- Re: font-lock-add-keywords in hi-lock.el, Stefan Monnier, 2005/12/28
- Re: font-lock-add-keywords in hi-lock.el, Juri Linkov, 2005/12/28
- Re: font-lock-add-keywords in hi-lock.el,
Bill Wohler <=
- Re: font-lock-add-keywords in hi-lock.el, Stefan Monnier, 2005/12/29
- Re: font-lock-add-keywords in hi-lock.el, Bill Wohler, 2005/12/30
- Re: font-lock-add-keywords in hi-lock.el, Bill Wohler, 2005/12/30
- Re: font-lock-add-keywords in hi-lock.el, Richard M. Stallman, 2005/12/31
- Re: font-lock-add-keywords in hi-lock.el, Bill Wohler, 2005/12/31
- Re: font-lock-add-keywords in hi-lock.el, Bill Wohler, 2005/12/30
- Re: font-lock-add-keywords in hi-lock.el, Luc Teirlinck, 2005/12/30
- Re: font-lock-add-keywords in hi-lock.el, Luc Teirlinck, 2005/12/30
- Re: font-lock-add-keywords in hi-lock.el, Bill Wohler, 2005/12/30
- Re: font-lock-add-keywords in hi-lock.el, Stefan Monnier, 2005/12/30