Support for logging when task state changes
Sorry if this was already requested, I'm new to org.
I've tried searching for "logging" on the issue tracker and haven't found anything.
To be clear, I'm asking for something like what's described here: Tracking TODO state changes.
On top of my org file I have this line:
#+TODO: TODO(t) WAIT(w@/!) | DONE(d!) CANCELED(c@)
And indeed Emacs adds an entry whenever I finish a task (change from TODO to DONE), which is helpful for viewing a consistency graph (from org-habit, I believe).
It also lets me add a note if I change a task to WAIT or CANCELED but in practice I never use this feature so it's not important for me.
I've just tried marking a task as DONE in Orgzly and it doesn't seem to log the change when I view it in Emacs or in Orgzly.
Am I doing anything wrong or does Orgzly not support this? If the latter is the case, is support for this planned?
It's not supported yet. Only time shifts can be logged (Settings / Notes & Notebooks / Note / Log to drawer on time shift).
Having that logged as CLOSED is better than nothing I suppose, but I would have loved to have seen it dropped into my LOGBOOK drawer.
It's not supported yet. Only time shifts can be logged (Settings / Notes & Notebooks / Note / Log to drawer on time shift).
For anyone else with org-habit issues:
When I enable this setting state changes from TODO to DONE are logged in the LOGBOOK drawer. In my emacs config I have org-log-into-drawer set to LOGBOOK. With this setup I find that my habit consistency is being effectively rendered in agenda views even when completing the habit tasks from Orgzly. Remember to enable the org-habit module, ofc.
Also remember you have to manually sync Orgzly or your changes won't be pushed.
For this it would also be handy to have the logbook in a separate foldable section rather than part of the content field :)