Difference between revisions of "Built-in help"

From WikEmacs
Jump to navigation Jump to search
(add page)
 
(fix typo)
Line 11: Line 11:
 
: Prompts you to enter a key sequence and then displays command that key sequence runs.
 
: Prompts you to enter a key sequence and then displays command that key sequence runs.
  
; {Keys|C-h w}} (where-is)
+
; {{Keys|C-h w}} (where-is)
 
: Given a command name, it displays a list of key sequences that could be used to invoke that command.
 
: Given a command name, it displays a list of key sequences that could be used to invoke that command.
  

Revision as of 19:27, 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 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.