diff options
| author | Richard M. Stallman | 1995-07-24 05:21:31 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-07-24 05:21:31 +0000 |
| commit | 8a4aff68a1029717a4d3069284d101b6493637d3 (patch) | |
| tree | c51c5c4ed534534119f3bc0a0b110d87e2b436ff | |
| parent | d6be34f360819e37e218c9368ee3ce0349127106 (diff) | |
| download | emacs-8a4aff68a1029717a4d3069284d101b6493637d3.tar.gz emacs-8a4aff68a1029717a4d3069284d101b6493637d3.zip | |
Explain CTRL-META chars and how to use ESC for them.
| -rw-r--r-- | etc/TUTORIAL | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/etc/TUTORIAL b/etc/TUTORIAL index 3a76a966daa..a387dcae00e 100644 --- a/etc/TUTORIAL +++ b/etc/TUTORIAL | |||
| @@ -3,14 +3,14 @@ Copyright (c) 1985 Free Software Foundation, Inc; See end for conditions. | |||
| 3 | You are looking at the Emacs tutorial. | 3 | You are looking at the Emacs tutorial. |
| 4 | 4 | ||
| 5 | Emacs commands generally involve the CONTROL key (sometimes labelled | 5 | Emacs commands generally involve the CONTROL key (sometimes labelled |
| 6 | CTRL or CTL) or the META key (sometimes labelled EDIT). Rather than | 6 | CTRL or CTL) or the META key (sometimes labelled EDIT or ALT). Rather than |
| 7 | write out META or CONTROL each time we want you to prefix a character, | 7 | write out META or CONTROL each time we want you to prefix a character, |
| 8 | we'll use the following abbreviations: | 8 | we'll use the following abbreviations: |
| 9 | 9 | ||
| 10 | C-<chr> means hold the CONTROL key while typing the character <chr> | 10 | C-<chr> means hold the CONTROL key while typing the character <chr> |
| 11 | Thus, C-f would be: hold the CONTROL key and type f. | 11 | Thus, C-f would be: hold the CONTROL key and type f. |
| 12 | M-<chr> means hold the META or EDIT key down while typing <chr>. | 12 | M-<chr> means hold the META or EDIT or ALT key down while typing <chr>. |
| 13 | If there is no META or EDIT key, type <ESC>, release it, | 13 | If there is no META key or equivalent, type <ESC>, release it, |
| 14 | then type the character <chr>. "<ESC>" stands for the | 14 | then type the character <chr>. "<ESC>" stands for the |
| 15 | key labelled "ESC". | 15 | key labelled "ESC". |
| 16 | 16 | ||
| @@ -753,6 +753,16 @@ window and using the other window just for reference. You can keep | |||
| 753 | the cursor always in the window where you are editing, and edit | 753 | the cursor always in the window where you are editing, and edit |
| 754 | there as you advance through the other window. | 754 | there as you advance through the other window. |
| 755 | 755 | ||
| 756 | C-M-v is an example of a CONTROL-META character. If you have a real | ||
| 757 | META key, you can type C-M-v by holding down both CTRL and META while | ||
| 758 | typing v. | ||
| 759 | |||
| 760 | It doesn't matter whether CTRL or META "comes first," because both of | ||
| 761 | these keys act by modifying the characters you type. But if you don't | ||
| 762 | have a real META key, and you use ESC instead, the order does matter: | ||
| 763 | you must type ESC followed by CTRL-v; CTRL-ESC v will not work. This | ||
| 764 | is because ESC is a character in its own right, not a modifier key. | ||
| 765 | |||
| 756 | >> Type C-x 1 (in the top window) to get rid of the bottom window. | 766 | >> Type C-x 1 (in the top window) to get rid of the bottom window. |
| 757 | 767 | ||
| 758 | (If you had typed C-x 1 in the bottom window, that would get rid | 768 | (If you had typed C-x 1 in the bottom window, that would get rid |