To keep my master org file tidy, I want to automatically archive each level 2 headline when I mark it done.

This works great using org-after-todo-state-change-hook, EXCEPT when the headline has a repeater. Then org-entry-is-done-p returns TRUE even though the headline will be resurrected.

I thought I could fix this by using org-trigger-hook instead, which is called after the repeater checks in org-todo, but the passed property list still shows the final state as "done".

I''m not much good at emacs-lisp. I can do some of the easy stuff, like the above, but solving this current issue is beyond me. Any advice?




Reply via email to