2

After clocking out, I would like Emacs to prompt me for a note, as when I switch the state of an entry to a state that requires an annotation.

Use case: During the day I work in several things related to one main task, which I set an entry for it in my org-mode document and clock on, and I cannot specify what is going to be work on beforehand, otherwise I would create a sub-entry and log the time there.

3

I will answer myself stating that the variable org-log-note-clock-out exists for this very purpose. Set it to t to add a note after clocking out.

  • Please elaborate. – Drew Dec 16 '17 at 6:09
  • The org-log-note-clock-out variable controls whether the user is prompted to enter a note after clocking out. When set to t, a popup buffer will be created whenever org-clock-out (C-c C-x C-o) is called. You enter a note, then press C-c C-c to close the popup buffer. The note is added immediately after the CLOCK: line. The org-log-note-clock-out variable can be set globally using Emacs Lisp with (setq org-log-note-clock-out t) or per-buffer with #+STARTUP: lognoteclock-out. NB: Check the documentation for definitive information (except Drew who already knows this!) :) – Lorem Ipsum Aug 20 at 13:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.