[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
slackbook:emacs [2012/09/16 16:25 (UTC)] – [How to Move Around] Added original content and formatting mfillpotslackbook:emacs [2012/09/16 16:35 (UTC)] – [Calling Functions] Added original content and formatting mfillpot
Line 133: Line 133:
 will move five characters to the right. will move five characters to the right.
 ===== Getting Help ===== ===== Getting Help =====
 +
 +**//Emacs//** contains a great deal of
 +documentation, to the point that it is often called a
 +//"self-documenting"// editor. This is because it provides
 +mechanisms for providing users with documentation while you are
 +using it.
 +
 +Here are some useful functions that display documentation (they
 +all start with <key>C-h</key>):
 +
 +
 +**Accessing Emacs Documentation**
 +^Command^Result|
 +|<key>C-h</key> f FUNCTION-NAME <key>Enter</key>|Show documentation for function FUNCTION-NAME|
 +|<key>C-h</key> k <key>C-x</key> <key>C-c</key>|Show documentation for the function bound to the keys<key>C-x</key> <key>C-c</key>|
 +|<key>C-h</key> t|Show the Emacs tutorial|
 +|<key>C-h</key> ?|Show all help-related functions|
 +
 +    
 +<key>C-h</key> **t** is especially useful if you want or need practice using **//Emacs//**.
 ===== Calling Functions ===== ===== Calling Functions =====
 +
 +As noted earlier, **//Emacs//** exports a
 +large number of functions to for interactive use.  Some of
 +these, like those opening and saving files, are mapped to keys.
 +Others (like the ones for moving to the beginning and end of
 +lines) are not.  To call them, you have to invoke them.  Say we
 +want to call the function //"end-of-line"// We would do
 +this:
 +
 +
 +**M-x** end-of-line <key>Enter</key>
 +
 +
 +And the cursor would move to the end of the line, as the function name
 +suggests.
 ===== Emacs Cheat Sheet ===== ===== Emacs Cheat Sheet =====
  
 slackbook:emacs ()