Let's say I have a custom TODO tag called 'NEXT' and a file gtd.org which contains the following:
* Some category
** TODO Big project in category
*** NEXT Big step to completing project
**** NEXT Small step to completing big step
In my custom agenda view, I have a block listing everything with a NEXT tag. The problem is that this block lists the big step and the small step, whereas I only want to see the small step. That is, I'm looking for one of the following solutions, from most desirable to least desirable:
- Do not show a 'NEXT' headline if it has a child with 'NEXT' (probably resource heavy)
- Sort the agenda block so that greater headline depth is on top
- Have different blocks for different headline depths
I know that org can detect headline depth, because when setting org-agenda-prefix-format
its possible to add a number of spaces spaces to the prefix equaling the headline depth (using %l
).
Any ideas?