emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Sticky agenda branch merged


From: Bernt Hansen
Subject: Re: [O] Sticky agenda branch merged
Date: Tue, 17 Apr 2012 18:33:12 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Rainer Stengele <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]