emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Girard <girard.nicolas@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Feature request: setq org-agenda-follow-indirect 'parent
Date: Sat, 31 Mar 2012 13:40:30 +0200	[thread overview]
Message-ID: <CANMKmefuzoEESJL2OtAA5o4pXZtaQFdV47_+oWN4Qs_tAw8RXA@mail.gmail.com> (raw)

Hi all,

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 :-(

Cheers,
Nicolas

             reply	other threads:[~2012-03-31 11:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-31 11:40 Nicolas Girard [this message]
2012-09-20 13:52 ` Feature request: setq org-agenda-follow-indirect 'parent Nicolas Girard
2012-09-25  1:18   ` Bastien
2012-09-25 10:27     ` Nicolas Girard

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=CANMKmefuzoEESJL2OtAA5o4pXZtaQFdV47_+oWN4Qs_tAw8RXA@mail.gmail.com \
    --to=girard.nicolas@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).