diff options
| author | Karl Heuer | 1997-02-28 22:40:56 +0000 |
|---|---|---|
| committer | Karl Heuer | 1997-02-28 22:40:56 +0000 |
| commit | bec1289c6f5e9c17dbc8ce786b8e2b753915b9db (patch) | |
| tree | d527855e78e272e0bfcb3eb94b53192c7cdfe070 | |
| parent | 0e35bfd8d0d6a9910b069c61e75bc09919ac942f (diff) | |
| download | emacs-bec1289c6f5e9c17dbc8ce786b8e2b753915b9db.tar.gz emacs-bec1289c6f5e9c17dbc8ce786b8e2b753915b9db.zip | |
Fix punctuation; add some missing words.
Mention ALT along with the EDIT key.
| -rw-r--r-- | etc/TUTORIAL | 31 |
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. | |||
| 27 | The first thing that you need to know is how to move around from place | 27 | The first thing that you need to know is how to move around from place |
| 28 | to place in the text. You already know how to move forward one screen, | 28 | to place in the text. You already know how to move forward one screen, |
| 29 | with C-v. To move backwards one screen, type M-v (hold down the META key | 29 | with C-v. To move backwards one screen, type M-v (hold down the META key |
| 30 | and type v, or type <ESC>v if you do not have a META or EDIT key). | 30 | and 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 | ||
| 87 | Each of text line ends with a Newline character, which serves to | 87 | Each of text line ends with a Newline character, which serves to |
| 88 | separate it from the following line. The last line in your file ought | 88 | separate it from the following line. The last line in your file ought |
| 89 | to have a Newline at the end (but Emacs does not require have one). | 89 | to have a Newline at the end (but Emacs does not require it to have |
| 90 | one). | ||
| 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. | |||
| 187 | Most Emacs commands accept a numeric argument; for most commands, this | 188 | Most Emacs commands accept a numeric argument; for most commands, this |
| 188 | serves as a repeat-count. The way you give a command a repeat count | 189 | serves as a repeat-count. The way you give a command a repeat count |
| 189 | is by typing C-u and then the digits before you type the command. If | 190 | is by typing C-u and then the digits before you type the command. If |
| 190 | you have a META or EDIT key, there is another alternative way to enter | 191 | you have a META (or EDIT or ALT) key, there is another alternative way |
| 191 | a numeric argument: type the digits while holding down the META or | 192 | to enter a numeric argument: type the digits while holding down the |
| 192 | EDIT key. We recommend learning the C-u method because it works on | 193 | META key. We recommend learning the C-u method because it works on |
| 193 | any terminal. | 194 | any terminal. |
| 194 | 195 | ||
| 195 | For instance, C-u 8 C-f moves forward eight characters. | 196 | For 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 | |||
| 388 | you kill something else? C-y would yank the more recent kill. But | 389 | you kill something else? C-y would yank the more recent kill. But |
| 389 | the previous text is not lost. You can get back to it using the M-y | 390 | the previous text is not lost. You can get back to it using the M-y |
| 390 | command. After you have done C-y to get the most recent kill, typing | 391 | command. After you have done C-y to get the most recent kill, typing |
| 391 | M-Y replaces that yanked text with the previous kill. Typing M-y | 392 | M-y replaces that yanked text with the previous kill. Typing M-y |
| 392 | again and again brings in earlier and earlier kills. When you have | 393 | again and again brings in earlier and earlier kills. When you have |
| 393 | reached the text you are looking for, you do not have to do anything to | 394 | reached the text you are looking for, you do not have to do anything to |
| 394 | keep it. Just go on with your editing, leaving the yanked text where | 395 | keep 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 | |||
| 688 | what you are using now. It is an example of a "major mode". | 689 | what you are using now. It is an example of a "major mode". |
| 689 | 690 | ||
| 690 | Emacs has many different major modes. Some of them are meant for | 691 | Emacs has many different major modes. Some of them are meant for |
| 691 | editing different languages and or kinds of text, such as Lisp mode, | 692 | editing different languages and/or kinds of text, such as Lisp mode, |
| 692 | Text mode, etc. At any time one and only one major mode is active, | 693 | Text mode, etc. At any time one and only one major mode is active, |
| 693 | and its name can always be found in the mode line just where | 694 | and 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 | |||
| 698 | programming language has a different idea of what a comment should | 699 | programming language has a different idea of what a comment should |
| 699 | look like, each major mode has to insert comments differently. Each | 700 | look like, each major mode has to insert comments differently. Each |
| 700 | major mode is the name of an extended command, which is how you can | 701 | major mode is the name of an extended command, which is how you can |
| 701 | switchto that mode. For example, M-x fundamental-mode is a command to | 702 | switch to that mode. For example, M-x fundamental-mode is a command to |
| 702 | switch to Fundamental mode. | 703 | switch to Fundamental mode. |
| 703 | 704 | ||
| 704 | If you are going to be editing English text, such as this file, you | 705 | If 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 | ||
| 723 | Major modes are called major because there are also minor modes. | 724 | Major modes are called major because there are also minor modes. |
| 724 | Minor modes are not to the major modes, just minor modifications of | 725 | Minor modes are alternatives not to the major modes, just minor |
| 725 | them. Each minor mode can be turned on or off by itself, independent | 726 | modifications of them. Each minor mode can be turned on or off by |
| 726 | of all other minor modes, and independent of your major mode. So you | 727 | itself, independent of all other minor modes, and independent of your |
| 727 | can use no minor modes, or one minor mode, or any combination of | 728 | major mode. So you can use no minor modes, or one minor mode, or any |
| 728 | several minor modes. | 729 | combination of several minor modes. |
| 729 | 730 | ||
| 730 | One minor mode which is very useful, especially for editing English | 731 | One minor mode which is very useful, especially for editing English |
| 731 | text, is Auto Fill mode. When this mode is on, Emacs breaks the line | 732 | text, 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 | |||
| 938 | have already learned. | 939 | have already learned. |
| 939 | 940 | ||
| 940 | Multi-character commands such as C-x C-s and (if you have no META or | 941 | Multi-character commands such as C-x C-s and (if you have no META or |
| 941 | EDIT key) <ESC>v are also allowed after C-h c. | 942 | EDIT or ALT key) <ESC>v are also allowed after C-h c. |
| 942 | 943 | ||
| 943 | To get more information about a command, use C-h k instead of C-h c. | 944 | To 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 | ||