aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-07-24 05:21:31 +0000
committerRichard M. Stallman1995-07-24 05:21:31 +0000
commit8a4aff68a1029717a4d3069284d101b6493637d3 (patch)
treec51c5c4ed534534119f3bc0a0b110d87e2b436ff
parentd6be34f360819e37e218c9368ee3ce0349127106 (diff)
downloademacs-8a4aff68a1029717a4d3069284d101b6493637d3.tar.gz
emacs-8a4aff68a1029717a4d3069284d101b6493637d3.zip
Explain CTRL-META chars and how to use ESC for them.
-rw-r--r--etc/TUTORIAL16
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.
3You are looking at the Emacs tutorial. 3You are looking at the Emacs tutorial.
4 4
5Emacs commands generally involve the CONTROL key (sometimes labelled 5Emacs commands generally involve the CONTROL key (sometimes labelled
6CTRL or CTL) or the META key (sometimes labelled EDIT). Rather than 6CTRL or CTL) or the META key (sometimes labelled EDIT or ALT). Rather than
7write out META or CONTROL each time we want you to prefix a character, 7write out META or CONTROL each time we want you to prefix a character,
8we'll use the following abbreviations: 8we'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
753the cursor always in the window where you are editing, and edit 753the cursor always in the window where you are editing, and edit
754there as you advance through the other window. 754there as you advance through the other window.
755 755
756C-M-v is an example of a CONTROL-META character. If you have a real
757META key, you can type C-M-v by holding down both CTRL and META while
758typing v.
759
760It doesn't matter whether CTRL or META "comes first," because both of
761these keys act by modifying the characters you type. But if you don't
762have a real META key, and you use ESC instead, the order does matter:
763you must type ESC followed by CTRL-v; CTRL-ESC v will not work. This
764is 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