habitrpg.el
habitrpg.el copied to clipboard
Feature request: Create TODO if it did not exist, when switching to DONE
(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.
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