emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Agenda that shows hierarchy above matches?


From: Tilmann Singer
Subject: [Orgmode] Agenda that shows hierarchy above matches?
Date: Thu, 23 Jul 2009 10:29:42 +0200
User-agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/22.3 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]