emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Agenda that shows hierarchy above matches?
@ 2009-07-23  8:29 Tilmann Singer
  2009-07-23  8:56 ` Eric S Fraga
  0 siblings, 1 reply; 5+ messages in thread
From: Tilmann Singer @ 2009-07-23  8:29 UTC (permalink / raw)
  To: emacs-orgmode

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

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

end of thread, other threads:[~2009-08-03 15:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-23  8:29 Agenda that shows hierarchy above matches? Tilmann Singer
2009-07-23  8:56 ` Eric S Fraga
2009-07-23 12:21   ` Tilmann Singer
2009-08-03  4:31     ` Carsten Dominik
2009-08-03 15:55       ` Tilmann Singer

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