0

After org-clock-out the current todos, I have to manually change its status from todo to done.

How could automate the process.

If a clocking task was clocked-out, it's status would be changed to done automatically.

  • 1
    Alternate behavior is you can configure Org to clock out when setting state to done (or changing state) as opposed to setting to done when clocking out. This is useful if your behavior has you clocking in and out of tasks multiple times before they are done. – mankoff Jul 27 at 2:19
1

Customize org-clock-out-switch-to-state variable:

Set task to a special todo state after clocking out. The value should be the state to which the entry should be switched. If the value is a function, it must take one parameter (the current TODO state of the item) and return the state to switch it to.

Also you can run org-clock-out with a universal prefix:

With a universal prefix, prompt for a state to switch the clocked out task to, overriding the existing value of org-clock-out-switch-to-state.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.