[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] depending TODOs, scheduling following TODOs automatically
From: |
John Wiegley |
Subject: |
Re: [Orgmode] depending TODOs, scheduling following TODOs automatically |
Date: |
Mon, 08 Oct 2007 23:03:39 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin) |
Bastien <address@hidden> writes:
> We could use the TODO keywords instead of "SEND" as a way to say that
> reaching a particular todo state should trigger some kind of action.
How about just having generalized Lisp triggers:
:PROPERTIES:
:TRIGGER: (lambda (previous new)
(if (string= (assoc "TODO" new) "DONE")
(org-find-and-schedule "regexp matching task" date)))
:END:
In this example, previous and new are associative lists containing all of the
state information applicable to an entry.
This kind of mechanism would allow Carsten to come up with a small library of
org-mode Lisp functions for programmatically manipulating tasks simply by
specifying a regular expression, or a relative offset, to "locate" them.
I would far prefer this to a specialized syntax, which in the end would
require so complexity as to become a domain-specific language in itself.
John
- Re: [Orgmode] depending TODOs, scheduling following TODOs automatically, (continued)
- Re: [Orgmode] depending TODOs, scheduling following TODOs automatically, Denis Bueno, 2007/10/08
- Re: [Orgmode] depending TODOs, scheduling following TODOs automatically, Russell Adams, 2007/10/08
- Re: [Orgmode] depending TODOs, scheduling following TODOs automatically, Russell Adams, 2007/10/08
- Re: [Orgmode] depending TODOs, scheduling following TODOs automatically, Carsten Dominik, 2007/10/08
- Re: [Orgmode] depending TODOs, scheduling following TODOs automatically, Russell Adams, 2007/10/08
- Re: [Orgmode] depending TODOs, scheduling following TODOs automatically, Carsten Dominik, 2007/10/09
- Re: [Orgmode] depending TODOs, scheduling following TODOs automatically, Eddward DeVilla, 2007/10/08
- Re: [Orgmode] depending TODOs, scheduling following TODOs automatically, Bastien, 2007/10/08
- Re: [Orgmode] depending TODOs, scheduling following TODOs automatically, Adam Spiers, 2007/10/08
- Re: [Orgmode] depending TODOs, scheduling following TODOs automatically, Bastien, 2007/10/08
- Re: [Orgmode] depending TODOs, scheduling following TODOs automatically,
John Wiegley <=
- Re: [Orgmode] depending TODOs, scheduling following TODOs automatically, Eddward DeVilla, 2007/10/08
- Re: [Orgmode] depending TODOs, scheduling following TODOs automatically, Richard G Riley, 2007/10/09
- Re: [Orgmode] depending TODOs, scheduling following TODOs automatically, Eddward DeVilla, 2007/10/09
- Re: [Orgmode] depending TODOs, scheduling following TODOs automatically, Bastien, 2007/10/10
- Re: [Orgmode] depending TODOs, scheduling following TODOs automatically, Bastien, 2007/10/09
- Re: [Orgmode] depending TODOs, scheduling following TODOs automatically, Bastien, 2007/10/09
- Re: [Orgmode] depending TODOs, scheduling following TODOs automatically, Carsten Dominik, 2007/10/11
- Re: [Orgmode] depending TODOs, scheduling following TODOs automatically, Bastien, 2007/10/11
- Re: [Orgmode] depending TODOs, scheduling following TODOs automatically, pete phillips, 2007/10/11
- Re: [Orgmode] depending TODOs, scheduling following TODOs automatically, Sebastjan Trepca, 2007/10/11