[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: |
Juri Linkov |
Subject: |
Re: font-lock-add-keywords in hi-lock.el |
Date: |
Thu, 29 Dec 2005 03:05:23 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
> 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?
I think this information is enough to find the culprit. The function
`font-lock-fontify-keywords-region' is the only remaining function in
font-lock.el that compiles font-lock-keywords without calling
`(font-lock-set-defaults)' first.
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.
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?
--
Juri Linkov
http://www.jurta.org/emacs/
- Re: font-lock-add-keywords in hi-lock.el, (continued)
- Re: font-lock-add-keywords in hi-lock.el, Richard M. Stallman, 2005/12/16
- 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 <=
- Re: font-lock-add-keywords in hi-lock.el, Bill Wohler, 2005/12/29
- 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