- The apropos commands are your friend. Command
apropos
is the most general:
apropos
is an autoloaded interactive Lisp function in apropos.el
.
It is bound to <menu-bar> <help-menu> <search-documentation> <find-any-object-by-name>
.
(apropos PATTERN &optional DO-ALL)
Probably introduced at or before Emacs version 1.8.
Show all meaningful Lisp symbols whose names match PATTERN
.
Symbols are shown if they are defined as functions, variables, or
faces, or if they have nonempty property lists.
PATTERN
can be a word, a list of words (separated by spaces),
or a regexp (using some regexp special characters). If it is a word,
search for matches for that word as a substring. If it is a list of words,
search for matches for any two (or more) of those words.
With C-u
prefix, or if apropos-do-all
is non-nil
,
consider all symbols (if they match PATTERN
).
Returns list of symbols and documentation found.
C-h S
looks up a symbol in the manuals:
C-h S
runs the command info-lookup-symbol
(found in global-map
), which
is an autoloaded interactive Lisp function in info-look.el
.
It is bound to C-h S
, <f1> S
, <help> S
.
(info-lookup-symbol SYMBOL &optional MODE)
Probably introduced at or before Emacs version 20.1.
Display the definition of SYMBOL
, as found in the relevant manual.
When this command is called interactively, it reads SYMBOL
from the
minibuffer. In the minibuffer, use M-n
to yank the default argument
value into the minibuffer so you can edit it. The default symbol is the
one found at point.
With prefix arg MODE
a query for the symbol help mode is offered.
C-h o
. I'm not sure if it qualifies as magic, but it's useful! – aadcg Nov 13 '21 at 14:56