Andreas Seltenreich <[EMAIL PROTECTED]> writes:
> martin rudalics <[EMAIL PROTECTED]> writes:
>
>>> I just caught Emacs hogging the CPU with endless
>>> redisplay/fontification. The following code triggers it for me:
>>>
> [...]
>> I tried this with emacs -Q and it left point at the end of line 178
>> displaying baz with the "z" invisible. No redisplay or fontification
>> problems seen, but my build is older than yours.
>
> I just tried it with older builds I had lying around: It also happens
> with a build from 2006-08-23, but not with one from 2006-07-06.
Update: The problem goes away when I revert the following change.
--8<---------------cut here---------------start------------->8---
2006-08-01 Stefan Monnier <[EMAIL PROTECTED]>
* font-core.el (font-lock-extend-region-function)
(font-lock-extend-region): Move to font-lock.el.
* font-lock.el (font-lock-extend-region-function)
(font-lock-extend-region): Move from font-core.el. Simplify.
* jit-lock.el (jit-lock-fontify-now): Cause a second redisplay
if needed.
(jit-lock-start, jit-lock-end): New dynamic scoped vars.
(jit-lock-after-change-extend-region-functions): New hook.
(jit-lock-after-change): Use it instead of hard-coding font-lock code.
* font-lock.el (font-lock-extend-jit-lock-region-after-change): New fun.
(font-lock-turn-on-thing-lock): Use it.
* longlines.el (longlines-show-region): Make it work on read-only
buffers as well.
--8<---------------cut here---------------end--------------->8---
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug