all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Deric Bytes <dericbytes@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Changing todo status to waiting before clocked out.
Date: Sat, 11 Apr 2009 13:28:06 +0100	[thread overview]
Message-ID: <59b700510904110528q420228a9y8b1849b460c65caf@mail.gmail.com> (raw)

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")))

             reply	other threads:[~2009-04-11 12:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-11 12:28 Deric Bytes [this message]
2009-04-11 13:09 ` Changing todo status to waiting before clocked out Bernt Hansen
2009-04-11 20:35   ` SOLVED: " dericbytes
2009-04-12 11:09     ` fixed error in my code dericbytes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=59b700510904110528q420228a9y8b1849b460c65caf@mail.gmail.com \
    --to=dericbytes@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.