From: Bernt Hansen <bernt@norang.ca>
To: Rainer Stengele <rainer.stengele@online.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Sticky agenda branch merged
Date: Tue, 17 Apr 2012 18:33:12 -0400 [thread overview]
Message-ID: <87hawikmzb.fsf@norang.ca> (raw)
In-Reply-To: 4F8DBE61.7080405@online.de
Rainer Stengele <rainer.stengele@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
prev parent reply other threads:[~2012-04-17 22:33 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-16 9:47 Sticky agenda branch merged Max Mikhanosha
2012-04-16 17:44 ` Tassilo Horn
2012-04-16 18:27 ` Charles Philip Chan
2012-04-16 22:59 ` Max Mikhanosha
2012-04-16 23:23 ` Charles Philip Chan
2012-04-17 6:14 ` Tassilo Horn
2012-04-17 10:09 ` Rainer Stengele
2012-04-17 12:29 ` Max Mikhanosha
2012-04-17 13:23 ` Rainer Stengele
2012-04-17 15:32 ` Max Mikhanosha
2012-04-17 15:58 ` Rainer Stengele
2012-04-17 16:28 ` BUG: Agenda clock related "v" for multi-block agendas Max Mikhanosha
2012-04-17 17:41 ` Sticky agenda branch merged Rainer Stengele
2012-04-17 19:02 ` Rainer Stengele
2012-04-17 19:35 ` Nick Dokos
2012-04-17 20:06 ` Rainer Stengele
2012-04-17 22:33 ` Bernt Hansen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87hawikmzb.fsf@norang.ca \
--to=bernt@norang.ca \
--cc=emacs-orgmode@gnu.org \
--cc=rainer.stengele@online.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).