At Wed, 10 Nov 2010 04:37:43 +0800,
Joseph Buchignani wrote:
Hi Matt,
Thanks for your very helpful reply.
I know this is a noob question, so please forgive me for taxing your
patience...
How do I evaluate the statement you supplied for just one file? E.g. I
want to evaluate your
Sorry, I couldn't help myself:
(defun hb:set-habit-keyword-2 ()
*Reset keyword of done habit.
(let ((reset-to (org-entry-get nil REPEAT_TO_STATE)))
(if (and reset-to (string= state DONE))
(org-todo reset-to
(add-hook 'org-after-todo-state-change-hook 'hb:set-habit-keyword-2)
David, I understand what your second function does, but I'm confused
about what the first one does.
Does the first function set all habits to have a return to state property?
Or does it cause all habits to revert to the return to state defined
keyword, if it is defined?
I was asking how to set
At Wed, 10 Nov 2010 05:17:16 +0800,
Joseph Buchignani wrote:
David, I understand what your second function does, but I'm confused
about what the first one does.
Does the first function set all habits to have a return to state property?
Argh, no. I misread the original question. If you want