emacs-devel
[Top][All Lists]
Advanced

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

Re: Scrolling commands and skipping redisplay, was: Re: emacs rendering


From: Stefan Monnier
Subject: Re: Scrolling commands and skipping redisplay, was: Re: emacs rendering comparisson between emacs23 and emacs26.3
Date: Fri, 10 Apr 2020 10:45:08 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> It *does* flicker afterwards (e.g. 0.5 sec after I depress C-v), because
> that's what deferred jit-lock does: it applies syntax highlighting with 
> a delay. So I type, wait 0.5sec, and syntax highlighting arrives.  It's
> a less-aggravating kind of flicker because of its laid-back pace, but I 
> still wouldn't call it acceptable user experience.

And in theory it should be possible to make something like
(setq jit-lock-defer-mode 0) avoid this flicker because the last
repetition of `C-v` is executed with `input-pending-p` returning nil, so
we should be able to fully jit-lock right away with no deferral at
that point.


        Stefan




reply via email to

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