GNU bug report logs -
#17392
24.3.90; cursor blinks faster and faster
Previous Next
Reported by: michael_heerdegen <at> web.de
Date: Sat, 3 May 2014 01:45:02 UTC
Severity: normal
Found in version 24.3.90
Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Bug is archived. No further changes may be made.
Full log
Message #65 received at 17392 <at> debbugs.gnu.org (full text, mbox):
Hi,
In emacs -Q, I did
--8<---------------cut here---------------start------------->8---
(progn
(advice-add 'timer-event-handler :before
(lambda (timer)
(unless (or (memq timer timer-list)
(memq timer timer-idle-list))
(message "This should not happen"))))
(defun provoke (&rest _)
(run-with-idle-timer .001 nil
(lambda () (sit-for 2.))))
(defadvice handle-switch-frame (after provoke activate)
(provoke)))
--8<---------------cut here---------------end--------------->8---
After switching frames a bit, I get "This should not happen". So an
idle blinking timer not in timer-idle-list is called from C with
timer-event-handler. At this point, there is already another blinking
timer in timer-idle-list. timer-event-handler pushes the zombie timer
to timer-idle-list as well, so then we have two of them there etc.
Michael.
This bug report was last modified 11 years and 59 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.