emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* RFC: Extensible Dependencies 'N' Actions
@ 2017-04-22  2:31 Ian Dunn
  2017-04-22  5:23 ` Gergely Polonkai
  2017-04-24  9:01 ` Adam Porter
  0 siblings, 2 replies; 4+ messages in thread
From: Ian Dunn @ 2017-04-22  2:31 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-04-24  9:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-22  2:31 RFC: Extensible Dependencies 'N' Actions Ian Dunn
2017-04-22  5:23 ` Gergely Polonkai
2017-04-22 15:29   ` Ian Dunn
2017-04-24  9:01 ` Adam Porter

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).