emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: "Alan E. Davis" <lngndvs@gmail.com>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: Push a dependent TODO item on top of a depending one
Date: Tue, 06 Mar 2012 07:17:50 -0500	[thread overview]
Message-ID: <8762ehncsx.fsf@norang.ca> (raw)
In-Reply-To: <CAF-1L2QHVruDSQAw7UtDw1MMM_5YzvwxORmnp6gN_PVoRHf4pg@mail.gmail.com> (Alan E. Davis's message of "Mon, 5 Mar 2012 22:42:05 -0800")

"Alan E. Davis" <lngndvs@gmail.com> writes:

> It just occurred to me to try to implement a method of pushing a TODO
> item on top of another, in the manner of a Stack.  The item on top of
> the stack is a task upon which performance of some other task
> depends. 
>
>
> I need to call someone, so I have a task that appears on my agenda,
> to call him.  However,  I have just discovered that the phone number
> I have for this person is not working.  I new need to find his phone
> number, so I can write a new TODO task.  It would be fantastic to be
> able to push a TODO on top of the dependant TODO, the task that is
> held up until one finds the phone number.   
>
> Once  I have found the number, and "pop" the number finding task off
> the agenda, the dependant task would appear as a high priority,
> active task.   rendering the TODO to CALL invisible, perhaps as a
> subtask,  
>
> I think there are many ways to do this.   Is it a nightmare to
> implement in the fashion I have suggested?   Is it already easy to
> do?  The crux of the matter is a dependent TODO is rendered invisible
> until some subtask TODO is completed.
>
> Thank you for all the ideas,

Can't you just create the new todo item when on column 1 of the
dependent task - so it gets inserted before it?

* TODO Some Project
  :PROPERTIES:
  :ORDERED: t
  :END:
** TODO Dependent Task
^
|
point here

Then C-S-TAB or M-S-TAN creates the new task before this one

* TODO Some Project
  :PROPERTIES:
  :ORDERED: t
  :END:
** TODO New Task
** TODO Dependent Task

Combined with the ORDERED property and the variable
org-agenda-dim-blocked-tasks set to 'invisible it might get you a long
way towards what you are trying to achieve.

HTH,
Bernt

      reply	other threads:[~2012-03-06 12:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-06  6:42 Push a dependent TODO item on top of a depending one Alan E. Davis
2012-03-06 12:17 ` Bernt Hansen [this message]

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=8762ehncsx.fsf@norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=lngndvs@gmail.com \
    /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).