Difference between revisions of "Built-in help"

From WikEmacs
Jump to navigation Jump to search
(use CommandKeys instead of Keys)
Line 2: Line 2:
  
 
== Basic Commands ==
 
== Basic Commands ==
; {{Keys|C-h C-h}} (help-for-help)
+
; {{CommandKeys|C-h C-h|help-for-help}}
 
: Provides a list of all help options and prompts you to enter one of the options.
 
: Provides a list of all help options and prompts you to enter one of the options.
  
; {{Keys|C-h k}} (describe-key)
+
; {{CommandKeys|C-h k|describe-key}}
 
: Prompts you to enter a key sequence and then provides information about what it does.
 
: Prompts you to enter a key sequence and then provides information about what it does.
  
; {{Keys|C-h c}} (describe-key-briefly)
+
; {{CommandKeys|C-h c|describe-key-briefly}}
 
: 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)
+
; {{CommandKeys|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.
  
; {{Keys|C-h v}} (describe-variable)
+
; {{CommandKeys|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.
 
: Prompts you to enter a variable name and then provides full documentation of that variable, including the current value of the variable.
  
; {{Keys|C-h f}} (describe-function)
+
; {{CommandKeys|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)
+
; {{CommandKeys|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.
 
: 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)
+
; {{CommandKeys|C-h b|describe-bindings}}
 
: Displays all key bindings
 
: Displays all key bindings
  
 
There are many more help commands available. Enter C-h C-h in emacs for a full listing.
 
There are many more help commands available. Enter C-h C-h in emacs for a full listing.

Revision as of 02:59, 31 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] (or M-x help-for-help)
Provides a list of all help options and prompts you to enter one of the options.
[C-h k] (or M-x describe-key)
Prompts you to enter a key sequence and then provides information about what it does.
[C-h c] (or M-x describe-key-briefly)
Prompts you to enter a key sequence and then displays command that key sequence runs.
[C-h w] (or M-x where-is)
Given a command name, it displays a list of key sequences that could be used to invoke that command.
[C-h v] (or M-x 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] (or M-x describe-function)
Prompts you to enter a function name and then provides full documentation for that function.
[C-h d] (or M-x 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] (or M-x describe-bindings)
Displays all key bindings

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