GNU bug report logs -
#39824
26.2; timers sometimes stop working when coming back from sleep
Previous Next
Reported by: ndame <emacsuser <at> freemail.hu>
Date: Fri, 28 Feb 2020 15:57:01 UTC
Severity: normal
Tags: notabug
Found in version 26.2
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
Message #38 received at 39824 <at> debbugs.gnu.org (full text, mbox):
Hello
I need a bit of help with instrumenting this correctly:
I've instrumented (run-at-time "10:35" 21600 'org-mobile-push)
using (evel-defun) C-M-x
This shows org-mobile-push runs without errors. In *Messages*:
(snip)
Edebug: edebug-anon11
Tracing...
Result: [nil 24189 51396 0 21600 org-mobile-push nil nil 0]
Creating agendas...
Preparing diary...done
[...] ten lines equal to this ^ one
Preparing diary...done
Agenda written to Org file /home/gijs/d/MobileOrg/agendas.org
Creating agendas...done
Saving all Org buffers... done
Copying files...
Writing index file...
Writing checksums...
Files for mobile viewer staged
[nil 24190 7460 0 21600 org-mobile-push nil nil 0]
M-x list-timers tells me:
-71245.81 360.00 org-mobile-push
and eh, a little later, the variable value of list-timers shows:
([t 24188 52132 0 21600 org-mobile-push nil nil 0]
But then... I guess (eval-defun) has run. I was expecting it to run
again in six hours? I can wait all day, put the laptop to sleep, but
the timer won't repeat. The next day the list-timer will show a minus
sign for org-mobile-push, for example
-54728.53 360.00 org-mobile-push
and looking at /home/gijs/d/MobileOrg/agendas.org will show me the files
were updated only when I eval-defun'ed (run-at-time "10:35" 21600
'org-mobile-push) the day before. Not at 10:35, not "six hours" later,
not the next morning.
Did I evel-defun'ed org-mobile-push, instead of run-at-time?
This bug report was last modified 4 years and 273 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.