3

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 2

3

There are two ways that I know of:

  1. 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 all PROJECT items.

  2. 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:

1
0

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.

2
  • Thanks! But is the LEVEL property something I have to generate myself inside a PROPERTY drawer, or is it something org mode define automatically? I cannot find anything about level when search in org mode property level on the web, or searching LEVEL among variables or function (C-h v or C-h f) inside Emacs.
    – myotis
    Aug 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.
    – erikstokes
    Aug 20, 2015 at 20:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.