GNU bug report logs -
#20285
25.0.50; blink-cursor-mode sometimes stops blinking
Previous Next
Reported by: Tassilo Horn <tsdh <at> gnu.org>
Date: Thu, 9 Apr 2015 14:52:02 UTC
Severity: minor
Tags: moreinfo
Found in version 25.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #62 received at 20285 <at> debbugs.gnu.org (full text, mbox):
> From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
> Cc: Eli Zaretskii <eliz <at> gnu.org>, 20285 <at> debbugs.gnu.org
> Date: Fri, 10 Apr 2015 17:50:16 -0400
>
> > I can at least confirm that `blink-cursor-timer-function' runs every 0.5
> > seconds and toggles the visibility state of the cursor. When that state
> > doesn't appear on the screen, then what else can it be except for a
> > skipped redisplay.
>
> Of course, I don't know what it is, but it could be many other things,
> such as a successful redisplay which somehow just didn't think the
> relevant window needed to be refreshed.
The change of the cursor blink state explicitly prevents this
redisplay optimization, see line 13634 of xdisp.c.
> Or a misinterpretation of the state of the cursor?
How can that happen? The state is a simple on/off variable.
> Or maybe the cursor state is indeed changed, but not in the right window?
Then why does this not happen once the initial load of timers' work is
done, i.e. when Emacs is _really_ idle?
> >> Have you tried to call `redisplay' explicitly from the blink-cursor
> >> timer?
> > Yes, then it blinks fine even under stress.
>
> Great, so that would hint at redisplay being skipped, indeed.
> Revision 9e77c1b7bcfd0807be7fe67daf73c2320e864309 changed the way we
> decide when to skip a redisplay recently. The change should make us
> skip redisplay strictly less often rather than more often, but maybe
> there's a problem in that change.
Unlikely, since I see the problem since Emacs 24.4 at least.
This bug report was last modified 3 years and 26 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.