[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking
From: |
Stefan Monnier |
Subject: |
bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking |
Date: |
Fri, 10 Apr 2015 17:50:16 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> 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.
Or a misinterpretation of the state of the cursor?
Or maybe the cursor state is indeed changed, but not in the right window?
> Maybe the interval is 0.8 seconds sometimes when emacs is under heavy
> load. But the timer not being run is definitely not the cause for not
> blinking for up to 10 seconds here.
>> 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.
You could also use a pre-redisplay-function to count how many times
redisplay happensin that particular window.
Stefan
- bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking, (continued)
- bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking, Tassilo Horn, 2015/04/10
- bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking, Eli Zaretskii, 2015/04/10
- bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking, Eli Zaretskii, 2015/04/10
- bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking, Tassilo Horn, 2015/04/10
- bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking, Eli Zaretskii, 2015/04/10
- bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking, Tassilo Horn, 2015/04/10
- bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking, Eli Zaretskii, 2015/04/11
- bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking, Stefan Monnier, 2015/04/10
- bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking, Eli Zaretskii, 2015/04/10
- bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking, Tassilo Horn, 2015/04/10
- bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking,
Stefan Monnier <=
- bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking, Tassilo Horn, 2015/04/11
- bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking, Eli Zaretskii, 2015/04/11
- bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking, Eli Zaretskii, 2015/04/11
- bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking, Tassilo Horn, 2015/04/11
- bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking, Tassilo Horn, 2015/04/11
- bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking, Eli Zaretskii, 2015/04/11
- bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking, Tassilo Horn, 2015/04/11
- bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking, Eli Zaretskii, 2015/04/11
- bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking, Tassilo Horn, 2015/04/11
- bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking, Stefan Monnier, 2015/04/11