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 fluca1...@infinito.it 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,
--
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!)
Hi Luca,
Luca Ferrari fluca1...@infinito.it 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
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)
Luca Ferrari fluca1...@infinito.it 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=