emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Karl Voit <devnull@Karl-Voit.at>
To: emacs-orgmode@gnu.org
Subject: Re: org-depend: dependencies between TODO entries in different files
Date: Mon, 12 Dec 2016 16:17:54 +0100	[thread overview]
Message-ID: <2016-12-12T15-59-38@devnull.Karl-Voit.at> (raw)
In-Reply-To: CADn3Z2+AY+R8QT-qvzkCbObj1D4_pM2KmAAhv35vwSAvwkuT8w@mail.gmail.com

* Carsten Dominik <dominik@uva.nl> wrote:
>
> Dear all,

Hi Carsten,

> Since ord-depend was only proof of concept, we could also think a bit more
> broadly about what it should be able to do.  Is there specific
> functionality it also should support, besides the TRIGGER/BLOCKER functions
> it has right now?

Oh my goodness - free wishes for org-depend? Christmas is rather
early this year! ;-)

OK, let's do some brain storming ...

For reference purposes: http://orgmode.org/worg/org-contrib/org-depend.html

> One issue to deal with is, that in different files, a different set of TODO
> keywords might be active, so if a TRIGGER entry changes a TODO state, and
> that entry lives in a different file, it falls onto the user to make sure
> that the required state is valid in both files.

From my point of view: due to the fact that the user has to state
the TRIGGER keyword manually, it is up to the user that this makes
any sense. So far, nothing prevents me from typing:

    :TRIGGER: foo-bar(INVALIDSTATUS)


> Any ides what is missing or might be useful?

Well, this comes a bit unprepared (I might be able to come up with
more feature possibilities to org-depend when thinking about it) but
I'd say that following workflows would be nice to discuss about:


Being able to specify SCHEDULED-dates *and* next status for
arbitrary IDs.

For example:

    ** NEXT Asking the client about XY
    :PROPERTIES:
    :TRIGGER: send-task(NEXT,2016-12-23)
    :END:
    
    ** Send XY to client
    :PROPERTIES:
    :ID: send-task
    :END:

Well the syntax might be chosen differently. What I want to achieve
is that when changing the "Asking" task to a finished state, the
"Send" task gets a fixed SCHEDULED value and the status NEXT. 

Additional: the two tasks are not necessarily in the same file or
within the same sub-hierarchy. So the «inherit scheduled date»
feature via chain-siblings-scheduled does not work in most cases to
me.


Another one:

    ** NEXT Asking the client about XY
    SCHEDULED: <2016-12-12>
    :PROPERTIES:
    :TRIGGER: send-task(NEXT,.+3d)
    :END:
    
    ** Send XY to client
    :PROPERTIES:
    :ID: send-task
    :END:

When the "Asking" task is set to a finished state, the "Send" task
will be scheduled three days in the future and gets the status NEXT.

The usual date-syntax applies here as well: +3d (3 days from maybe
the SCHEDULED(?) date of the "Asking" task), .+3d (3 days from now),
and so forth.


Another one: having the possibility to define "Send" state changes
that rely on the "Asking" state. For example: If I cancel the
"Asking" task, the "Send" state should be cancelled as well because
it makes no sense without the first one.

-- 
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
       > get Memacs from https://github.com/novoid/Memacs <

https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github

  reply	other threads:[~2016-12-12 15:18 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-25 12:43 org-depend: dependencies between TODO entries in different files Karl Voit
2016-08-25 14:44 ` Nicolas Goaziou
2016-08-25 15:11   ` Karl Voit
2016-12-08  6:44     ` Carsten Dominik
2016-12-08 10:16       ` Jorge Morais Neto
2016-12-08 11:11         ` Samuel Loury
2016-12-12 10:21         ` Jorge Morais Neto
2016-12-08 14:37       ` Nicolas Goaziou
2016-12-11 22:19       ` Christophe Schockaert
2016-12-12 11:57         ` Karl Voit
2016-12-12 13:57           ` Carsten Dominik
2016-12-12 15:17             ` Karl Voit [this message]
2016-12-12 22:23               ` Christophe Schockaert
2016-12-18 12:12               ` org-depend improvements: ID picker Karl Voit
2016-12-18 17:49                 ` Eric Abrahamsen
2016-12-20 20:01                   ` a general " Karl Voit
2016-12-20 21:21                     ` Eric Abrahamsen
2016-12-18 12:14               ` Automatically Generating IDs From Title and Date Karl Voit
2016-12-18 19:36                 ` Samuel Wales
2016-12-20 19:57                   ` Properties ID vs. CUSTOM_ID (was: Automatically Generating IDs From Title and Date) Karl Voit
2016-12-22 10:03                     ` Karl Voit
2016-12-22 14:29                       ` John Kitchin
2016-12-22 15:30                         ` Properties ID vs. CUSTOM_ID Karl Voit
2016-12-22 15:40                           ` John Kitchin
2016-12-22 19:23                             ` Christophe Schockaert
2016-12-22 15:54                           ` Eric Abrahamsen
2016-12-22 19:45                             ` Christophe Schockaert
2016-12-22 21:02                               ` Eric Abrahamsen
2016-12-22 21:31                                 ` Carsten Dominik
2016-12-22 21:39                                   ` Carsten Dominik
2016-12-22 21:40                                   ` Eric Abrahamsen
2016-12-22 22:19                                     ` Christophe Schockaert
2016-12-22 17:10                           ` Samuel Wales
2016-12-22 17:13                             ` Samuel Wales
2016-12-18 12:17               ` org-depend improvements: TRIGGER in Combination With Set SCHEDULED Karl Voit
2016-12-18 12:18               ` org-depend improvements: Canceled Tasks Do Cancel Their Dependencies as Well Karl Voit
2016-12-12 19:25             ` org-depend: dependencies between TODO entries in different files Samuel Wales
2016-12-12 21:13               ` Karl Voit
2016-12-18 19:27                 ` Samuel Wales

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=2016-12-12T15-59-38@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 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).