all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Changing todo status to waiting before clocked out.
@ 2009-04-11 12:28 Deric Bytes
  2009-04-11 13:09 ` Bernt Hansen
  0 siblings, 1 reply; 4+ messages in thread
From: Deric Bytes @ 2009-04-11 12:28 UTC (permalink / raw)
  To: emacs-orgmode

How can I change the todo status before an item is clocked out. I was
hoping for something like the following


    (add-hook 'org-before-todo-state-change-hook
	   'dericbytes/org-clock-out-change-status-to-waiting)


   (defun dericbytes/org-clock-out-change-status-to-waiting ()
         (save-excursion
         (goto-char org-clock-marker)
         (org-todo "WAITING")))

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-04-12 11:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-11 12:28 Changing todo status to waiting before clocked out Deric Bytes
2009-04-11 13:09 ` Bernt Hansen
2009-04-11 20:35   ` SOLVED: " dericbytes
2009-04-12 11:09     ` fixed error in my code dericbytes

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.