Minor mode for editing outlines with selective display. Headings are lines which start with asterisks: one for major headings, two for sub-headings, etc. Lines not starting with asterisks are body lines.
Body text or sub-headings under a heading can be made temporarily invisible, or visible again. Invisible lines are attached to the end of the heading, so they move with it, if the line is killed and yanked back. A heading with text hidden under it is marked with an ellipsis (...).
outline-next-visible-headingmove by visible headings
outline-forward-same-levelsimilar but skip sub-headings
outline-up-heading move fromsub heading to heading
hide-bodymake all text invisible (not headings).
show-allmake everything in buffer visible.
outline-minor-modeleave outline mode.
The remaining commands are used when point is on a heading line. They apply to some of the body or sub-headings of that heading.
hide-subtreemake body and sub-headings invisible.
show-subtreemake body and sub-headings visible.
show-childrenmake direct sub-headings visible. No effect on body, or sub-headings 2 or more levels down. With arg N, affects sub-headings N levels down.
hide-entrymake immediately following body invisible.
show-entrymake it visible.
hide-leavesmake body under heading and under its sub-headings invisible. The sub-headings remain visible.
show-branchesmake all sub-headings at all levels visible.
User Option: outline-prefix-char
The prefix char (C-c C-o) used to activate the outline commands. You most likely want to set this to something shorter.
In LaTeX mode the default headings are the sectioning commands, and
as top level headings `\documentstyle', `\appendix',
TeX-header-end. You can also
define extra headings at any level, by setting the variable
User Option: TeX-outline-extra
List of extra TeX outline levels.
Each element is a list with two entries. The first entry is the regular
expression matching a header, and the second is the level of the header.
LaTeX-section-list for existing header levels.
You can use outlining in other modes as well, the function to do this is
Command: outline-minor-mode prefix
Enters outline minor mode. With prefix: no-nil: turn outline mode on. nil: turn outline mode off.
User Option: outline-regexp
Regular expression matching header lines. When using outline-minor mode outside AUC TeX, this is per default set to lines beginning with one or more stars.
User Option: outline-level-function
Function calculating the level of a header. Outside AUC TeX, this is
per default the length of the string matched by