emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fontification loop


From: martin rudalics
Subject: Re: fontification loop
Date: Sun, 24 Sep 2006 12:02:43 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> I just caught Emacs hogging the CPU with endless
> redisplay/fontification.  The following code triggers it for me:
>
> --8<---------------cut here---------------start------------->8---
> (progn
>   (switch-to-buffer "*fontification loop*")
>   (emacs-lisp-mode)
>   (while (< (point) (floor (* (sqrt 2) jit-lock-chunk-size)))
>     (insert "\nfoo\nbar\nbaz"))
>   (put-text-property (- (point-max) 5) (point-max) 'invisible t))
> --8<---------------cut here---------------end--------------->8---

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.

Does it happen when you try emacs -Q too?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]