From: Ian Dunn <dunni@gnu.org>
To: emacs-orgmode@gnu.org
Subject: RFC: Extensible Dependencies 'N' Actions
Date: Fri, 21 Apr 2017 22:31:07 -0400 [thread overview]
Message-ID: <87pog5rx5g.fsf@escafil> (raw)
[-- Attachment #1: Type: text/plain, Size: 295 bytes --]
I've been working on something akin to org-depend.el called org-edna.
Basically, Edna provides an extensible means of specifying blocking
conditions and trigger actions.
For example, Edna allows you to specify that a task should be blocked
until all TODOs have been addressed in source code:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-org, Size: 153 bytes --]
* TODO Address all TODOs in code
:PROPERTIES:
:BLOCKER: file("main.cpp") file("code.cpp") re-search("TODO")
:END:
* TODO Commit Code to Repository
[-- Attachment #3: Type: text/plain, Size: 82 bytes --]
Or schedule the following task for an hour after the current task is
completed:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: Type: text/x-org, Size: 255 bytes --]
* TODO Put clothes in washer
SCHEDULED: <2017-04-08 Sat 09:00>
:PROPERTIES:
:TRIGGER: next-sibling scheduled("++1h")
:END:
* TODO Put clothes in dryer
:PROPERTIES:
:TRIGGER: next-sibling scheduled("++1h")
:BLOCKER: previous-sibling
:END:
[-- Attachment #5: Type: text/plain, Size: 169 bytes --]
The (semi-complete) documentation is here:
http://www.nongnu.org/org-edna-el/
I'd appreciate some feedback on it, whether the code or the
documentation.
--
Ian Dunn
next reply other threads:[~2017-04-22 2:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-22 2:31 Ian Dunn [this message]
2017-04-22 5:23 ` RFC: Extensible Dependencies 'N' Actions Gergely Polonkai
2017-04-22 15:29 ` Ian Dunn
2017-04-24 9:01 ` Adam Porter
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=87pog5rx5g.fsf@escafil \
--to=dunni@gnu.org \
--cc=emacs-orgmode@gnu.org \
/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).