Fellow members of the Emacs Org Mode cult:
Is there a way to toggle visibility of a heading plus the entire subtree underneath it? For example, suppose I have this:
* Fish
Some text in Fish.
** A Fish subheading
Blah blah blah.
* Broccoli
Some text in Broccoli.
** A Broccoli subheading
Etc etc.
* Molybdenum
Hi. My atomic number is 42.
** A Molybdenum subheading
Some text about the wondrous
properties of Molybdenum.
Then I run some magical function (hide-top-level-trees-matching-re ".*Broccoli.*")
. Afterwards, although the buffer's text would be unmodified, I would see this...
* Fish
Some text in Fish.
** A Fish subheading
Blah blah blah.
* Molybdenum
Hi. My atomic number is 42.
** A Molybdenum subheading
Some text about the wondrous
properties of Molybdenum.
...and searches, etc, would behave accordingly: if I did an isearch for "Broccoli", I would not find any matches, etc.
I could probably implement this using the excellent hide-lines.el package. But maybe Org Mode offers something like this already? I've been looking around the manual and elsewhere and haven't found it yet, though.