From: dericbytes <dericbytes@gmail.com>
To: emacs-orgmode@gnu.org
Subject: fixed error in my code
Date: Sun, 12 Apr 2009 11:09:37 +0000 (UTC) [thread overview]
Message-ID: <loom.20090412T110735-161@post.gmane.org> (raw)
In-Reply-To: loom.20090411T201639-971@post.gmane.org
- changed regex
- it now works if there is no clock running
(defun change-todo-state-on-old-clock ()
; old-clock needs state changed if STARTED
(save-excursion
(progn
(when (marker-buffer org-clock-marker)
(set-buffer (marker-buffer org-clock-marker))
(goto-char (point-min))
(when (re-search-forward "^\*+ STARTED" nil t)
(org-todo "WAITING"))))))
prev parent reply other threads:[~2009-04-12 11:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` dericbytes [this message]
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=loom.20090412T110735-161@post.gmane.org \
--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.