Rainer Stengele <rainer.steng...@online.de> writes:

> Am 17.04.2012 12:09, schrieb Rainer Stengele:
> Hi Max,
>
> I found the culprit:
>
>
> (defun bh/mark-parent-tasks-started ()
>   "Visit each parent task and change TODO states to STARTED"
>   (unless bh/mark-parent-tasks-started
>     (when (equal state "INARBEIT")
>       (let ((bh/mark-parent-tasks-started t))
>         (save-excursion
>           (while (org-up-heading-safe)
>             (when (member (nth 2 (org-heading-components)) (list "TODO" 
> "INARBEIT" "WARTEN"))
>               (org-todo "INARBEIT"))))))))
>
> (add-hook 'org-after-todo-state-change-hook 'bh/mark-parent-tasks-started 
> 'append)
>
>
> something seems to have changed conecerning the "state" variable. The 
> function fails and stops the clockin process.
> Deactivating the hook brings back the right behaviour.
> Sorry for that.
>
> Bernt, that function of yours does seem to have stopped working?

Hi Rainer,

I no longer use a STARTED state so I've dropped this function from my
setup.  I'll update the doc - thanks for the notification.

Regards,
Bernt

Reply via email to