habitrpg.el icon indicating copy to clipboard operation
habitrpg.el copied to clipboard

Feature request: Create TODO if it did not exist, when switching to DONE

Open gabriel4649 opened this issue 10 years ago • 1 comments

(add-hook 'org-after-todo-state-change-hook 'habitrpg-add 'append is triggered whenever one switches a TODO item to DONE. Yet, if a TODO didn't exist at habirpg for that particular task then the DONE wouldn't be registered. I suggest that in these cases, a TODO is created at habitrpg and then intermediately switched to DONE.

gabriel4649 avatar May 09 '14 17:05 gabriel4649

Yeah I've been meaning to do this, haven't gotten around to it since I have an intermediate NEXT state and so this isn't a problem for me.

Gabriel [email protected] writes:

(add-hook 'org-after-todo-state-change-hook 'habitrpg-add 'append is triggered whenever one switches a TODO item to DONE. Yet, if a TODO didn't exist at habirpg for that particular task then the DONE wouldn't be registered. I suggest that in these cases, a TODO is created at habitrpg and then intermediately switched to DONE.


Reply to this email directly or view it on GitHub: https://github.com/ryjm/habitrpg.el/issues/6

ryjm avatar May 09 '14 17:05 ryjm