emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tilmann Singer <tils@tils.net>
To: emacs-orgmode@gnu.org
Subject: Agenda that shows hierarchy above matches?
Date: Thu, 23 Jul 2009 10:29:42 +0200	[thread overview]
Message-ID: <87my6vdcp5.wl%tils@tils.net> (raw)

Hi,

I wonder if there is way to get an agenda showing all TODO items with
the hierarchical context up to the top level.

Given an projects.org like this:

 * Project A
 ** TODO do foo
 ** TODO do bar
 ** DONE do baz
 * Project B
 ** DONE do foo
 * TODO Another small thing

An agenda view, e.g. tags match for /!TODO looks like this:

 projects: TODO do foo
 projects: TODO do bar
 projects: TODO Another small thing

In order to find out the context of the first two lines, I currently
have to go to each line and hit tab to see the corresponding location
in the org file or switch on follow mode. This is not ideal for
getting an overview over all TODO items when there are lots of such
matches because I would then need to follow each item and remember the
context. Also sometimes I would like to export an agenda to a text
file including all their parent headlines up to the top level, but no
other items of the org file.

So is there a way to get an agenda that looks similar to this:

 projects: 
 * Project A
 ** TODO do foo
 ** TODO do bar
 * TODO Another small thing

Actually org-sparse-tree is very close to what I want, but first it
only works for a single org file (which I could live with), but also
as far as I see there is no way to hide the collapsed top level
headlines which have no match - "* Project B" in the above example.


Til

             reply	other threads:[~2009-07-23  8:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-23  8:29 Tilmann Singer [this message]
2009-07-23  8:56 ` Agenda that shows hierarchy above matches? Eric S Fraga
2009-07-23 12:21   ` Tilmann Singer
2009-08-03  4:31     ` Carsten Dominik
2009-08-03 15:55       ` Tilmann Singer

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=87my6vdcp5.wl%tils@tils.net \
    --to=tils@tils.net \
    --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).