By Debra Cameron, Bill Rosenblatt, Eric S. Raymond
Cover | Table of Contents | Colophon
|
If
|
Read
|
|---|---|
|
You are an administrative user
|
Preface
Chapter 1-Chapter 3, Chapter 16
|
|
You are a casual user
|
Preface,
Chapter 1-Chapter 3,
Chapter 16
|
|
You are a programmer
|
Preface,
Chapter 1-Chapter 5,
Chapter 10-Chapter 12,
|
|
You are a writer or production person
|
Preface,
Chapter 1-Chapter 4,
Chapter 8, Chapter 9,
Chapter 16
|
|
You want to customize Emacs
|
Chapter 11 and possibly Chapter 13
|
http://www.oreilly.com/catalog/gnu2/
http://www.oreilly.com
*scratch* is just a temporary practice
buffer, like a scratch-pad; the help facility displays help
messages in a buffer named *Help*, which also isn't connected
to a file. But you don't have to worry about these now. For the
moment, just remember that when you start editing a file, Emacs copies
the file into the buffer. As you edit the file, you are modifying the
buffer, not the file itself. When you're satisfied with your changes,
you can save them. Your file is only modified when you deliberately
choose to save your changes. If you decide you don't like your
changes, you can quit Emacs without saving the file, and no harm will
be done.|
Mode
|
Function
|
|
Fundamental mode
|
The default mode; no special behavior
|
|
Text mode
|
For writing text (Chapter 2)
|
|
Mail mode
|
For writing mail messages (Chapter 6)
|
|
RMAIL mode
|
For reading and organizing mail (Chapter 6)
|
|
View mode
|
For viewing files but not editing (Chapter 5)
|
|
Shell mode
|
*scratch*, which is an
ideal place for you to experiment.
Wrote
filename in the minibuffer. If you haven't made
any changes to the file, Emacs puts the message (No changes need
to be saved) in the minibuffer.*scratch* buffer by typing C-x C-s, Emacs asks you for a
filename. After you give it a filename, Emacs changes the mode line to
reflect the filename, replacing *scratch* with the new name.Please answer yes or no, you didn't enter the whole word and it wants you to. In versions
prior to 19.29, it can also be picky about case; enter
lowercase
y or n or lowercase
yes or
no, depending on what it asks for.
*Help* buffer; it contains the
information about the insert-file command that you wanted to
look up. Emacs keeps the cursor in the dickens buffer because
it knows there's no good reason for you to edit the *Help*
buffer. To make the *Help* buffer disappear from the screen,
type the command C-x 1 (to remember this, think "return to 1
buffer") or select One Window|
Keystrokes
|
Command Name
|
Action
|
|---|---|---|
|
C-x C-f
|
find-file
|
Find file and read it in a new buffer.
|
|
Files→Open File
| ||
|
C-x C-v
|
find-alternate-file
|
Read an alternate file, replacing the one read with C-x C-f.
|
|
C-x i
|
insert-file
|
Insert file at cursor position.
|
|
Files→Insert File
| ||
|
C-x C-s
|
Beginning of buffer or End of buffer.
There's one important exception to this rule. If you
are on the last line of a buffer, typing C-n will move to the
next line, adding a new line to the buffer. In this situation (and
only in this situation) C-n not only moves down a line, it
creates a new line. Don't ask us why.|
If the cursor is here:
|
ESC d makes this edit:
|
|
|
Mark set appears in the minibuffer.