emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Push a dependent TODO item on top of a depending one
@ 2012-03-06  6:42 Alan E. Davis
  2012-03-06 12:17 ` Bernt Hansen
  0 siblings, 1 reply; 2+ messages in thread
From: Alan E. Davis @ 2012-03-06  6:42 UTC (permalink / raw)
  To: org-mode

[-- Attachment #1: Type: text/plain, Size: 1085 bytes --]

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,

Alan Davis

[-- Attachment #2: Type: text/html, Size: 1288 bytes --]

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

* Re: Push a dependent TODO item on top of a depending one
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Bernt Hansen @ 2012-03-06 12:17 UTC (permalink / raw)
  To: Alan E. Davis; +Cc: org-mode

"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

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

end of thread, other threads:[~2012-03-06 12:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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