# HG changeset patch # User Karl Heuer # Date 801346636 0 # Node ID 5d0ad882565cbfe85e1093f44a26fb97a05874d6 # Parent fab32f80adf586c9be6fd5bc256884582789c54a Delete reference to ALT. Change to . diff -r fab32f80adf5 -r 5d0ad882565c etc/TUTORIAL --- a/etc/TUTORIAL Wed May 24 04:59:27 1995 +0000 +++ b/etc/TUTORIAL Wed May 24 20:17:16 1995 +0000 @@ -12,7 +12,7 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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