emacs-orgmode@gnu.org archives
 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 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).