GNU bug report logs -
#12937
24.2; Fontification performed in 'jit-lock-defer-time' in any case (don't wait while Emacs become really idle).
Previous Next
Reported by: Oleksandr Gavenko <gavenkoa <at> gmail.com>
Date: Mon, 19 Nov 2012 20:58:01 UTC
Severity: normal
Tags: moreinfo
Found in version 24.2
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 12937 <at> debbugs.gnu.org (full text, mbox):
> From: Oleksandr Gavenko <gavenkoa <at> gmail.com>
> Date: Mon, 19 Nov 2012 22:56:26 +0200
>
> I open (a very long .c file):
>
> emacs-bzr/trunk/src/coding.c
>
> and hold DOWN key. Text in buffer scrolls up but with jerks (random stops of
> scrolling for a little time) due to fontification actions.
>
> >From 'jit-lock-defer-time' docs:
>
> Idle time after which deferred fontification should take place.
> If nil, fontification is not deferred.
>
> I would try to workaround jerks with:
>
> (setq jit-lock-defer-time 0.01)
>
> and with same negative effect by (see below):
>
> (setq jit-lock-defer-time 3.0)
>
> When I hold DOWN key text scrolls up with jerks again! Because fontification
> performed again.
>
> I expect that when I *hold* key Emacs in not idle (it get user input and
> redisplay text!!)
It depends on the auto-repeat rate of your keyboard and the speed of
your CPU. With some combinations of those, I won't be surprised to
learn that Emacs has some idle time between auto-repeated keystrokes.
This bug report was last modified 5 years and 122 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.