* org-timer: let done hook access time, allow silencing notification
@ 2025-01-10 20:09 Stefan van der Walt
0 siblings, 0 replies; only message in thread
From: Stefan van der Walt @ 2025-01-10 20:09 UTC (permalink / raw)
To: emacs-orgmode
Hi all,
I have two small improvement suggestions for org-timer, and would like to hear your thoughts.
1. I use org-timer to run pomodoro-style clocks. When the timer finishes, I would like to generate a log entry. It would be helpful to be able to access the duration of the clock; however, in org-timer--run-countdown-timer, the variable org-timer-start-time is reset BEFORE the org-timer-done-hook is run.
Could we reset the variable *after* the hooks are run instead, so that they can access the timer value?
2. I have a custom notification for when the timer is done, installed via the done hook. I would like to suppress the existing notification, but there seems to be no option to do so. Would it make sense to provide a mechanism to override/silence the notification?
Thanks!
Stéfan
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-01-10 20:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-10 20:09 org-timer: let done hook access time, allow silencing notification Stefan van der Walt
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).