The possibility within Org mode to organize tasks hierarchically makes it suited for managing projects. Hence the the overal project goal ("build a new house") can be the parent task with many subtasks (children task). During my weekly review I would like to make an agenda view that only shows me tasks that has subtasks. Is that possible? Or even more general, can I make an agenda view that only shows tasks of a certain hierarchical depth?
2 Answers
There are two ways that I know of:
Create a
PROJECT
to-do keyword, and set the top-level project headlines to this keyword. Then you can make a custom agenda view that shows allPROJECT
items.You'll need to write a custom agenda function that skips headlines you don't want to see. I can't write this for you, but here are some really good resources:
-
Thanks for the pointers! it might be helpful to mine: emacs.stackexchange.com/questions/53377/…– Yu ShenOct 26, 2019 at 13:25
The LEVEL
special property tells you the depth of an entry.
In addition to the Special properties, one other “property” can also be used. LEVEL represents the level of an entry.
For example a search LEVEL>1
will match any entry with more than one leading star. I don't see any straightforward way to match entries having children.
-
Thanks! But is the
LEVEL
property something I have to generate myself inside aPROPERTY
drawer, or is it something org mode define automatically? I cannot find anything about level when search inorg mode property level
on the web, or searchingLEVEL
among variables or function (C-h v or C-h f) inside Emacs.– myotisAug 20, 2015 at 10:29 -
LEVEL
isn't a normal property, but you can still search for it and it works just like a property. Aug 20, 2015 at 20:51