From: Karl Voit <devnull@Karl-Voit.at>
To: emacs-orgmode@gnu.org
Subject: org-depend: TRIGGER XYZ(KEYWORD) not working
Date: Sun, 19 Nov 2017 11:05:09 +0100 [thread overview]
Message-ID: <2017-11-19T10-47-05@devnull.Karl-Voit.at> (raw)
Hi,
I am playing around with org-depend[1] again[2].
I noticed that certain TRIGGER events do not get executed.
> # -*- mode: org; coding: utf-8; -*-
> * heading 1
> :PROPERTIES:
> :ID: foo
> :TRIGGER: bar(NEXT) baz(NEXT)
> :END:
>
> * Heading 2
> :PROPERTIES:
> :ID: bar
> :END:
>
> * Heading 3
> :PROPERTIES:
> :ID: baz
> :END:
First observation:
When I set the heading 1 to DONE (without assigning it any other
keyword), the TRIGGER events are ignored totally. I guess this is
an edge-case that may be considered as a bug.
Second observation:
However, what is bugging me even more is that even when "heading 1"
has a TODO keyword assigned, in *some* cases, the TRIGGER event does
not get executed when I do it in my large Org-mode file.
Copying the corresponding headings (the one with the TRIGGER prop
and the headings containing the "target" IDs) from my real-world
Org-mode file to my small test.org from above and marking the
heading that contains the TRIGGER properties to DONE, it then works
as expected.
I then took the simple example from above, added a TODO keyword to
the heading 1, copied it to my real-world Org-mode file and even
this did not work: Heading 2 and 3 don't get their "NEXT" keyword
assigned.
So the behavior changes within different Org-file contexts.
Therefore, I do have an issue creating a minimal example to
demonstrate the bug.
Can somebody give me an advice how to debug this behavior?
[1] http://orgmode.org/worg/org-contrib/org-depend.html
[2] http://karl-voit.at/2016/12/18/org-depend/
--
get mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML into Org-mode:
> get Memacs from https://github.com/novoid/Memacs <
Personal Information Management > http://Karl-Voit.at/tags/pim/
Emacs-related > http://Karl-Voit.at/tags/emacs/
next reply other threads:[~2017-11-19 10:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-19 10:05 Karl Voit [this message]
2017-11-19 10:18 ` org-depend: TRIGGER XYZ(KEYWORD) not working Karl Voit
2017-12-03 15:13 ` Adrian Bradd
2017-12-03 18:38 ` Karl Voit
2017-12-04 2:42 ` Adrian Bradd
2017-12-04 19:21 ` Karl Voit
2017-12-06 2:51 ` Adrian Bradd
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2017-11-19T10-47-05@devnull.Karl-Voit.at \
--to=devnull@karl-voit.at \
--cc=emacs-orgmode@gnu.org \
--cc=news1142@Karl-Voit.at \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.