From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Push a dependent TODO item on top of a depending one Date: Tue, 06 Mar 2012 07:17:50 -0500 Message-ID: <8762ehncsx.fsf@norang.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4tLQ-000375-TK for emacs-orgmode@gnu.org; Tue, 06 Mar 2012 07:18:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S4tL1-0003aQ-8H for emacs-orgmode@gnu.org; Tue, 06 Mar 2012 07:18:20 -0500 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:25490) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4tL1-0003aK-4Z for emacs-orgmode@gnu.org; Tue, 06 Mar 2012 07:17:55 -0500 In-Reply-To: (Alan E. Davis's message of "Mon, 5 Mar 2012 22:42:05 -0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Alan E. Davis" Cc: org-mode "Alan E. Davis" 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. =C2=A0The item on top of > the stack is a task upon which performance of some other task > depends.=C2=A0 > > > I need to call someone, so I have a task that appears on my agenda, > to call him. =C2=A0However, =C2=A0I have just discovered that the phone n= umber > I have for this person is not working. =C2=A0I new need to find his phone > number, so I can write a new TODO task. =C2=A0It 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. =C2=A0=C2=A0 > > Once =C2=A0I have found the number, and "pop" the number finding task off > the agenda, the dependant task would appear as a high priority, > active task. =C2=A0 rendering the TODO to CALL invisible, perhaps as a > subtask, =C2=A0 > > I think there are many ways to do this. =C2=A0=C2=A0Is it a nightmare to > implement in the fashion I have suggested? =C2=A0 Is it already easy to > do? =C2=A0The 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