File: org-fold.el.html
This file contains code handling temporary invisibility (folding and unfolding) of text in org buffers.
The folding is implemented using generic org-fold-core library. This file
contains org-specific implementation of the folding. Also, various
useful functions from org-fold-core are aliased under shorted org-fold
prefix.
The following features are implemented:
- Folding/unfolding various Org mode elements and regions of Org buffers:
+ Region before first heading;
+ Org headings, their text, children (subtree), siblings, parents, etc;
+ Org blocks and drawers
- Revealing Org structure around invisible point location
- Revealing folded Org elements broken by user edits
Defined variables (4)
org-fold-catch-invisible-edits | Check if in invisible region before inserting or deleting a character. |
org-fold-catch-invisible-edits-commands | Alist of commands where Org checks for invisible edits. |
org-fold-reveal-start-hook | Hook run before revealing a location. |
org-fold-show-context-detail | Alist between context and visibility span when revealing a location. |