This is great!
Thanks,
Luca
> (setq org-clock-in-switch-to-state "STRT")
> (setq org-clock-out-switch-to-state "DONE")
>
Hi Luca,
Luca Ferrari writes:
> a very good advice. Now, forgive my lisp ignorance, but I've defined
> the following function to do what I want:
...
Actually you can simply use
(setq org-clock-in-switch-to-state "STRT")
(setq org-clock-out-switch-to-state "DONE")
HTH,
--
Bastien
Luca Ferrari wrote:
> Thanks,
> a very good advice. Now, forgive my lisp ignorance, but I've defined
> the following function to do what I want:
>
> (defun org-todo-automatic-clock ()
> "Starts/Stops the clock when a task is marked as implementing or completed"
> (if (string= state org-todo-
Thanks,
a very good advice. Now, forgive my lisp ignorance, but I've defined
the following function to do what I want:
(defun org-todo-automatic-clock ()
"Starts/Stops the clock when a task is marked as implementing or completed"
(if (string= state org-todo-fluca1978-running)
(org-clock-
Hi Luca,
Luca Ferrari writes:
> I'd like to advice the function org-todo to check in and check out the
> clock automatically.
I would not advice `org-todo', I would explore the idea of adding a
function to `org-after-todo-state-change-hook'.
> I've defined the org-todo-keywords so that they ha
Hi all,
I'd like to advice the function org-todo to check in and check out the
clock automatically.
I've defined the org-todo-keywords so that they have a choice letter as follows:
(setq org-todo-keywords
'( (sequence "TODO(t!)" "|" "DONE(d!)")
(sequence "FEATURE(f!)" "BUG(b!)" "IM