From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Girard Subject: Re: Feature request: setq org-agenda-follow-indirect 'parent Date: Thu, 20 Sep 2012 15:52:50 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47697) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEhBw-0002mS-OG for emacs-orgmode@gnu.org; Thu, 20 Sep 2012 09:53:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TEhBo-0003dt-HS for emacs-orgmode@gnu.org; Thu, 20 Sep 2012 09:53:20 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:61720) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEhBo-0003dZ-2M for emacs-orgmode@gnu.org; Thu, 20 Sep 2012 09:53:12 -0400 Received: by pbbro12 with SMTP id ro12so5781273pbb.0 for ; Thu, 20 Sep 2012 06:53:10 -0700 (PDT) In-Reply-To: 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: emacs-orgmode 2012/3/31 Nicolas Girard : > > when browsing my TODO items in the agenda, I wish I could display then > in an indirect buffer. > But as I structure my stuff, displaying the tree with a TODO item as > root is often useless. > > Indeed, within my PROJECT items, I differentiate between TODO and > support (notes, references) children ; for instance > #+BEGIN_SRC org > ,* PROJECT My project > ,** References > ,*** Ref 1 > ,*** Ref 2 > ,** Notes > ,*** Note 1 > ,*** Note 2 > ,** TODO Todo item 1 > ,** TODO Todo item 2 > #+END_SRC > > In this example, in order to work on, or even decide anything about > "Todo item 1", chances are that I'd also need to see the contents of > the "References" and "Notes" items ; so the tree I'd need to see in > the indirect buffer should have the *parent* of "Todo item 1" as root, > instead of "Todo item 1" itself. > > It seems rather easy to achieve, since `org-agenda-do-context-action' > calls `org-agenda-tree-to-indirect-buffer', which is supposed to deal > with this case when called with a numerical prefix argument ; so I did > give it a try but couldn't get it to work properly :-( > Hi all, any thoughts about my request ? Thanks in advance, cheers, Nicolas