aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1997-02-28 22:40:56 +0000
committerKarl Heuer1997-02-28 22:40:56 +0000
commitbec1289c6f5e9c17dbc8ce786b8e2b753915b9db (patch)
treed527855e78e272e0bfcb3eb94b53192c7cdfe070
parent0e35bfd8d0d6a9910b069c61e75bc09919ac942f (diff)
downloademacs-bec1289c6f5e9c17dbc8ce786b8e2b753915b9db.tar.gz
emacs-bec1289c6f5e9c17dbc8ce786b8e2b753915b9db.zip
Fix punctuation; add some missing words.
Mention ALT along with the EDIT key.
-rw-r--r--etc/TUTORIAL31
1 files changed, 16 insertions, 15 deletions
diff --git a/etc/TUTORIAL b/etc/TUTORIAL
index 8b39e544d91..59080e1d4bb 100644
--- a/etc/TUTORIAL
+++ b/etc/TUTORIAL
@@ -27,7 +27,7 @@ the text.
27The first thing that you need to know is how to move around from place 27The first thing that you need to know is how to move around from place
28to place in the text. You already know how to move forward one screen, 28to place in the text. You already know how to move forward one screen,
29with C-v. To move backwards one screen, type M-v (hold down the META key 29with C-v. To move backwards one screen, type M-v (hold down the META key
30and type v, or type <ESC>v if you do not have a META or EDIT key). 30and type v, or type <ESC>v if you do not have a META, EDIT, or ALT key).
31 31
32>> Try typing M-v and then C-v, a few times. 32>> Try typing M-v and then C-v, a few times.
33 33
@@ -86,7 +86,8 @@ time, so it would be of great benefit if you learn them now.
86 86
87Each of text line ends with a Newline character, which serves to 87Each of text line ends with a Newline character, which serves to
88separate it from the following line. The last line in your file ought 88separate it from the following line. The last line in your file ought
89to have a Newline at the end (but Emacs does not require have one). 89to have a Newline at the end (but Emacs does not require it to have
90one).
90 91
91>> Try to C-b at the beginning of a line. It should move to 92>> Try to C-b at the beginning of a line. It should move to
92 the end of the previous line. This is because it moves back 93 the end of the previous line. This is because it moves back
@@ -187,9 +188,9 @@ easily learn to use other advanced cursor motion commands as well.
187Most Emacs commands accept a numeric argument; for most commands, this 188Most Emacs commands accept a numeric argument; for most commands, this
188serves as a repeat-count. The way you give a command a repeat count 189serves as a repeat-count. The way you give a command a repeat count
189is by typing C-u and then the digits before you type the command. If 190is by typing C-u and then the digits before you type the command. If
190you have a META or EDIT key, there is another alternative way to enter 191you have a META (or EDIT or ALT) key, there is another alternative way
191a numeric argument: type the digits while holding down the META or 192to enter a numeric argument: type the digits while holding down the
192EDIT key. We recommend learning the C-u method because it works on 193META key. We recommend learning the C-u method because it works on
193any terminal. 194any terminal.
194 195
195For instance, C-u 8 C-f moves forward eight characters. 196For instance, C-u 8 C-f moves forward eight characters.
@@ -388,7 +389,7 @@ What do you do if you have some text you want to yank back, and then
388you kill something else? C-y would yank the more recent kill. But 389you kill something else? C-y would yank the more recent kill. But
389the previous text is not lost. You can get back to it using the M-y 390the previous text is not lost. You can get back to it using the M-y
390command. After you have done C-y to get the most recent kill, typing 391command. After you have done C-y to get the most recent kill, typing
391M-Y replaces that yanked text with the previous kill. Typing M-y 392M-y replaces that yanked text with the previous kill. Typing M-y
392again and again brings in earlier and earlier kills. When you have 393again and again brings in earlier and earlier kills. When you have
393reached the text you are looking for, you do not have to do anything to 394reached the text you are looking for, you do not have to do anything to
394keep it. Just go on with your editing, leaving the yanked text where 395keep it. Just go on with your editing, leaving the yanked text where
@@ -688,7 +689,7 @@ editing modes you are in. The default mode is Fundamental which is
688what you are using now. It is an example of a "major mode". 689what you are using now. It is an example of a "major mode".
689 690
690Emacs has many different major modes. Some of them are meant for 691Emacs has many different major modes. Some of them are meant for
691editing different languages and or kinds of text, such as Lisp mode, 692editing different languages and/or kinds of text, such as Lisp mode,
692Text mode, etc. At any time one and only one major mode is active, 693Text mode, etc. At any time one and only one major mode is active,
693and its name can always be found in the mode line just where 694and its name can always be found in the mode line just where
694"Fundamental" is now. 695"Fundamental" is now.
@@ -698,7 +699,7 @@ there are commands for creating comments in a program, and since each
698programming language has a different idea of what a comment should 699programming language has a different idea of what a comment should
699look like, each major mode has to insert comments differently. Each 700look like, each major mode has to insert comments differently. Each
700major mode is the name of an extended command, which is how you can 701major mode is the name of an extended command, which is how you can
701switchto that mode. For example, M-x fundamental-mode is a command to 702switch to that mode. For example, M-x fundamental-mode is a command to
702switch to Fundamental mode. 703switch to Fundamental mode.
703 704
704If you are going to be editing English text, such as this file, you 705If you are going to be editing English text, such as this file, you
@@ -721,11 +722,11 @@ To view documentation on your current major mode, type C-h m.
721>> Type C-x 1 to remove the documentation from the screen. 722>> Type C-x 1 to remove the documentation from the screen.
722 723
723Major modes are called major because there are also minor modes. 724Major modes are called major because there are also minor modes.
724Minor modes are not to the major modes, just minor modifications of 725Minor modes are alternatives not to the major modes, just minor
725them. Each minor mode can be turned on or off by itself, independent 726modifications of them. Each minor mode can be turned on or off by
726of all other minor modes, and independent of your major mode. So you 727itself, independent of all other minor modes, and independent of your
727can use no minor modes, or one minor mode, or any combination of 728major mode. So you can use no minor modes, or one minor mode, or any
728several minor modes. 729combination of several minor modes.
729 730
730One minor mode which is very useful, especially for editing English 731One minor mode which is very useful, especially for editing English
731text, is Auto Fill mode. When this mode is on, Emacs breaks the line 732text, is Auto Fill mode. When this mode is on, Emacs breaks the line
@@ -938,7 +939,7 @@ very brief documentation--sufficient to remind you of commands you
938have already learned. 939have already learned.
939 940
940Multi-character commands such as C-x C-s and (if you have no META or 941Multi-character commands such as C-x C-s and (if you have no META or
941EDIT key) <ESC>v are also allowed after C-h c. 942EDIT or ALT key) <ESC>v are also allowed after C-h c.
942 943
943To get more information about a command, use C-h k instead of C-h c. 944To get more information about a command, use C-h k instead of C-h c.
944 945
@@ -963,7 +964,7 @@ Here are some other useful C-h options:
963 all the commands whose names contain that keyword. 964 all the commands whose names contain that keyword.
964 These commands can all be invoked with Meta-x. 965 These commands can all be invoked with Meta-x.
965 For some commands, Command Apropos will also list a one 966 For some commands, Command Apropos will also list a one
966 or two character sequence runs the same command. 967 or two character sequence which runs the same command.
967 968
968>> Type C-h a file<Return>. 969>> Type C-h a file<Return>.
969 970