|
From: | Dmitry Gutov |
Subject: | Re: Scrolling commands and skipping redisplay, was: Re: emacs rendering comparisson between emacs23 and emacs26.3 |
Date: | Fri, 10 Apr 2020 20:23:14 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
On 10.04.2020 17:45, Stefan Monnier wrote:
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.
When the last repetition is executed, the behavior seems fine already if the value is 0. What I see is "flickering" during scrolling, while C-v is still pressed. Maybe it's the effect of fontified screenfuls being interleaved with unfontified ones.
[Prev in Thread] | Current Thread | [Next in Thread] |