From: Karl Heuer Date: Wed, 24 May 1995 20:17:16 +0000 (+0000) Subject: Delete reference to ALT. Change to . X-Git-Tag: emacs-19.34~3955 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=50d326a456d8770f4c02190e4b72422c21b6ac9a;p=emacs.git Delete reference to ALT. Change to . --- diff --git a/etc/TUTORIAL b/etc/TUTORIAL index b5cf96f857c..5348e73eb12 100644 --- a/etc/TUTORIAL +++ b/etc/TUTORIAL @@ -12,7 +12,7 @@ we'll use the following abbreviations: M- means hold the META or EDIT key down while typing . If there is no META or EDIT key, type , release it, then type the character . "" stands for the - key labelled "ALT" or "ESC". + key labelled "ESC". Important note: to end the Emacs session, type C-x C-c. (Two characters.) The characters ">>" at the left margin indicate directions for you to @@ -249,13 +249,15 @@ see, such as A, 7, *, etc. are taken by Emacs as text and inserted immediately. Type (the carriage-return key) to insert a Newline character. -You can delete the last character you typed by typing . - is a key on the keyboard, which might be labelled "Delete" -instead of "Rubout" on some terminals. More generally, -deletes the character immediately before the current cursor position. +You can delete the last character you typed by typing . + is a key on the keyboard, which may be labeled "Del". In +some cases, the "Backspace" key serves as , but not always! + +More generally, deletes the character immediately before the +current cursor position. >> Do this now, type a few characters and then delete them - by typing a few times. Don't worry about this file + by typing a few times. Don't worry about this file being changed; you won't affect the master tutorial. This is just a copy of it. @@ -264,10 +266,10 @@ deletes the character immediately before the current cursor position. screen, the line of text is "continued" onto a second screen line. The backslash at the right margin indicates a line which has been continued. ->> Use s to delete the text until the line fits on one screen +>> Use s to delete the text until the line fits on one screen line again. The continuation line goes away. ->> Move the cursor to the beginning of a line and type . This +>> Move the cursor to the beginning of a line and type . This deletes the newline before the line and merges the line onto the previous line. The resulting line may be too long to fit, in which case it has a continuation line. @@ -282,17 +284,17 @@ You've now learned the most basic way of typing something in Emacs and correcting errors. You can delete by words or lines as well. Here is a summary of the delete operations: - delete the character just before the cursor + delete the character just before the cursor C-d delete the next character after the cursor - M- kill the word immediately before the cursor + M- kill the word immediately before the cursor M-d kill the next word after the cursor C-k kill from the cursor position to end of line M-k kill to the end of the current sentence -Notice that and C-d vs M- and M-d extend the parallel -started by C-f and M-f (well, isn't really a control +Notice that and C-d vs M- and M-d extend the parallel +started by C-f and M-f (well, isn't really a control character, but let's not worry about that). C-k and M-k are like C-e and M-e, sort of, in that lines are opposite sentences. @@ -684,7 +686,7 @@ search waiting for you to type the thing that you want to search for. type the word 'cursor', pausing after you type each character to notice what happens to the cursor. >> Type C-s to find the next occurrence of "cursor". ->> Now type four times and see how the cursor moves. +>> Now type four times and see how the cursor moves. >> Type to terminate the search. Did you see what happened? Emacs, in an incremental search, tries to @@ -700,11 +702,11 @@ letting it get through to Emacs. To unfreeze the screen, type C-q. Then see the section "Spontaneous Entry to Incremental Search" in the Emacs manual for advice on dealing with this "feature". -If you are in the middle of an incremental search and type , +If you are in the middle of an incremental search and type , you'll notice that the last character in the search string is erased and the search backs up to the last place of the search. For instance, suppose you currently have typed 'cu' and you see that your -cursor is at the first occurrence of 'cu'. If you now type , +cursor is at the first occurrence of 'cu'. If you now type , the 'u' on the search line is erased and you'll be repositioned in the text to the occurrence of 'c' where the search took you before you typed the 'u'. This provides a useful means for backing up while you