GNU bug report logs -
#39668
26.2; timer-list and timer-idle-list are undocumented in the Elisp manual
Previous Next
Reported by: ndame <emacsuser <at> freemail.hu>
Date: Tue, 18 Feb 2020 17:58:02 UTC
Severity: normal
Found in version 26.2
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Tue, 18 Feb 2020 19:36:08 +0000 (GMT)
> From: ndame <emacsuser <at> freemail.hu>
> Cc: "39668 <at> debbugs.gnu.org" <39668 <at> debbugs.gnu.org>
>
> > Why do you need to access the active timers?
>
> I wanted only to check the existing timers, not modify them,
> so I needed only read only access. I don't modify anything.
>
> I use this to avoid starting a timer if one is started already. So I just
> check the timer list for the function names if it already contains
> my function. If so then I don't start a timer, because it's already done.
>
> So the timer list eliminates the need of me haveing to store the timer in a variable,
> because the list tells me if it's already active.
There are other ways of doing that, but if you really need it for such
a rare use case, there's nothing wrong in reading the code.
This bug report was last modified 5 years and 88 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.