In my org file, I have the following lines:
#+STARTUP: logdone logrepeat logreschedule logredeadline logrefile logdrawer #+ARCHIVE: ::datetree/
When I mark a repeat task done, I want to:
Continue doing everything that is happening now (the task gets a new scheduled date, an entry is added in the :LOGBOOK: drawer, etc.) and additionally,
Make an entry in the datetree with DONE as the state for the task
How do I achieve this?