Subject: Re: bug#17392: 24.3.90; cursor blinks faster and faster

From: Eli Zaretskii <[email-masked]>
Date: Wed, 14 May 2014 19:13:12 +0300

> From: Michael Heerdegen <[email-masked]>
> Cc: [email-masked],  [email-masked]
> Date: Wed, 14 May 2014 17:36:46 +0200
> 
> 1.  blink-cursor-idle-timer is bound to the only idle blink timer,
>     everything is fine.
> 
> 2.  timer-idle-list is `copy-sequenc'ed.
> 
> 3.  The idle timer is canceled.  `blink-cursor-idle-timer' is now bound
> to nil.
> 
> 4.  The old timer from 2. is called with timer-event-handler.
> Note that as a side effect, the timer is pushed back to timer-idle-list,

Pushed how and where?

> but `blink-cursor-idle-timer' is still bound to nil.
> 
> 5.  `blink-cursor-check' is run.  It sees that `blink-cursor-idle-timer'
> is nil and starts another idle timer.

If this is what happens, then a trivial  change in blink-cursor-check
should fix the problem of cursor blinking faster and faster.  Does it?