* resolving idle time after accidentally cancelling prompt
@ 2009-12-18 11:26 Adam Spiers
0 siblings, 0 replies; only message in thread
From: Adam Spiers @ 2009-12-18 11:26 UTC (permalink / raw)
To: org-mode mailing list
Hi there,
The `org-clock-idle-time' feature is really fantastic. However I
occasionally miss the [(kK)eep (sS)ubtract (C)ancel] prompt in the
minibuffer and press another key which cancels it; then I have to run
org-resolve-clocks manually. I can imagine a scenario where I
mistakenly thought that the window manager focus was in another
window, started typing, accidentally cancelled the prompt, and never
even noticed it was there in the first place - resulting in a
permanently dangling clock. Would it be worth making this code
idiot-proof ...
(if (or (null ch)
(not (memq ch '(?k ?K ?s ?S ?C))))
(message "")
.. so that the only way to cancel the prompt is to press `C' ? It
would also be nice if upon cancellation it did
(message "Use `M-x org-resolve-clocks' to resolve dangling clocks at any time.")
Thanks,
Adam
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-12-18 11:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-18 11:26 resolving idle time after accidentally cancelling prompt Adam Spiers
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).