Robert Goldman <[email protected]> writes:
> This is one of those cases where automating a task will not pay back the
> investment (at least not to me, individually), so I think I'd better
> just do it by hand.
I think automating a task that annoys you is worth the trouble. You
could at least start with something like the following, and flesh it out
to include drawer notes and check lists.
--8<---------------cut here---------------start------------->8---
(defun gjg/org-reset-todo ()
"reset any task from point onward with a TODO keyword to
initial TODO state. Show all trees you want to reset before
running this command: hidden trees will not be touched"
(interactive)
(save-excursion
(while (not (eobp))
(outline-next-visible-heading 1)
(if (org-get-todo-state)
(org-todo "TODO")))))
--8<---------------cut here---------------end--------------->8---
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode