Search code examples
emacselisporg-mode

show org-mode outline up to a certain heading level


I'm making an outline for my thesis using org-mode, and I'd like to show all headings up to a certain level (e.g. all level-1 and level-2 headings).

I haven't found anything about that in the org-mode manual. Cycling shows either only level-1 headings, or all headings, which is too much information in my outline right now.

Thanks,

daniel.

Update: I found a workaround for his: set the variable org-cycle-max-level. This is a global setting, though.


Solution

  • Just stumbled on this question. One year later but what the heck.. There are commands for this that allows you to show headings to a certain level.

    One command is C-<n> C-c tab will show subheadings up to level <n> (<n>=1,2,3...).

    Another command is C-<n> S-tab which will operate on the whole buffer. It shows all headings up to level <n> (<n>=1,2,3...)