How to fold all blocks below a certain level in emacs org mode?
I often need to see information up to (actually) a certain level of detail. Is there a way to expand the blocks at a specific level and hide the rest? For example:
* name
Joe
** home number
111-111-1111
*** hobby
fishing
*** likes
books
** work number
222-222-2222
If the blocks of the third and lower levels are rarely used, I would like them to be folded as such:
* name
Joe
** home number
111-11-1111
*** hobby...
*** likes...
** work number
222-22-2222
source to share
If you place the cursor at the beginning of the buffer, it is easy <TAB>
to loop through the visibility of the entire subtree.
Alternatively, calling it with a prefix argument sets the global subtree visibility to the depth given by the ( C-u <TAB>
) argument . For example; C-u 3 <TAB>
will show everything up to the third level of the tree and hide everything below that.
Also see http://orgmode.org/manual/Visibility-cycling.html#Visibility-cycling
source to share