Difference between revisions of "Built-in help"

From WikEmacs
Jump to navigation Jump to search
(fix typo)
Line 19: Line 19:
 
; {{Keys|C-h f}} (describe-function)
 
; {{Keys|C-h f}} (describe-function)
 
: Prompts you to enter a function name and then provides full documentation for that function.
 
: Prompts you to enter a function name and then provides full documentation for that function.
 +
 +
; {{Keys|C-h d}} (apropos-documentation)
 +
: Prompts you for a list of words or a regexp and then returns a list of functions, variables, etc. that match.
  
 
; {{Keys|C-h b}} (describe-bindings)
 
; {{Keys|C-h b}} (describe-bindings)

Revision as of 19:34, 30 March 2014

Emacs provides many help features, all of which are helpfully bound to a prefix key, C-h.

Basic Commands

[C-h C-h] (help-for-help)
Provides a list of all help options and prompts you to enter one of the options.
[C-h k] (describe-key)
Prompts you to enter a key sequence and then provides information about what it does.
[C-h c] (describe-key-briefly)
Prompts you to enter a key sequence and then displays command that key sequence runs.
[C-h w] (where-is)
Given a command name, it displays a list of key sequences that could be used to invoke that command.
[C-h v] (describe-variable)
Prompts you to enter a variable name and then provides full documentation of that variable, including the current value of the variable.
[C-h f] (describe-function)
Prompts you to enter a function name and then provides full documentation for that function.
[C-h d] (apropos-documentation)
Prompts you for a list of words or a regexp and then returns a list of functions, variables, etc. that match.
[C-h b] (describe-bindings)
Displays all key bindings

There are many more help commands available. Enter C-h C-h in emacs for a full listing.