emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: Re: jit lock sit-for provokes redisplay provokes ime


From: martin rudalics
Subject: Re: address@hidden: Re: jit lock sit-for provokes redisplay provokes imenu]
Date: Wed, 30 Aug 2006 20:29:40 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> Stefan wrote:
>
>     This only eliminates one particular source of unwanted updates.  I don't
>     think this code is worth the trouble.
>
> That cause of unwanted updates is the only one we know of.  Nothing
> else is likely to change the buffer in the background.

`jit-lock-fontify-now' during scrolling, searching, window resizing.
Not mentioning the plethora of "hidden buffer changes" in c-mode.

>     Better yet, introduce a macro `with-buffer-unmodified' like the one used 
in
>     jit-lock, and make it manage a `buffer-really-modified-tick', kind of like
>     the buffer-chars-modified-tick.  Then use it in jit-lock/font-lock
>     and friends.
>
> That seems a lot more trouble, and I don't see that it is needed.

I think it is needed.





reply via email to

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