I just decided that I should try the
outline-minor-mode for showing and hiding Emacs lisp
defun definitions in an Emacs Lisp file. So I typed
M-x outline-minor-mode and then I would like to get an overview over the available keyboard shortcuts, so I typed
C-h m and scrolled down until I found:
Outline minor mode (indicator Outl): Toggle Outline minor mode. With a prefix argument ARG, enable Outline minor mode if ARG is positive, and disable it otherwise. If called from Lisp, enable the mode if ARG is omitted or nil.
See the command `outline-mode' for more information on this mode.
Ok, this seems nice, but still not what I was looking for.. so I clicked the link for
outline-mode and found this:
C-c C-t make all text invisible (not headings).
C-c C-a make everything in buffer visible.
However, these keyboard sequences does not work. But after some googling, the Emacs Wiki page ( http://www.emacswiki.org/emacs/OutlineMode ) came to my rescue and informs that the actual keybindings are
C-c @ C-t and
C-c @ C-a (and not
C-c C-t and
C-c C-a) ..
I hope there is an easier way to find this information from within Emacs. Any suggestions?