aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2002-08-29 14:43:49 +0000
committerRichard M. Stallman2002-08-29 14:43:49 +0000
commitd6635fa15e1290639e10493f5d0d73aa71211f40 (patch)
tree20d4f6cf1cee0097adc176e566f8715018ea53eb
parent3c04a71a2046fb1c547616e9f412c9aea05bd2d2 (diff)
downloademacs-d6635fa15e1290639e10493f5d0d73aa71211f40.tar.gz
emacs-d6635fa15e1290639e10493f5d0d73aa71211f40.zip
Use <Delback> instead of <Delete>, and explain how to find it.
-rw-r--r--etc/TUTORIAL34
1 files changed, 20 insertions, 14 deletions
diff --git a/etc/TUTORIAL b/etc/TUTORIAL
index 86e3fac2d6f..9633b0bf95a 100644
--- a/etc/TUTORIAL
+++ b/etc/TUTORIAL
@@ -303,15 +303,21 @@ can see, such as A, 7, *, etc. are taken by Emacs as text and inserted
303immediately. Type <Return> (the carriage-return key) to insert a 303immediately. Type <Return> (the carriage-return key) to insert a
304Newline character. 304Newline character.
305 305
306You can delete the last character you typed by typing <Delete>. 306You can delete the last character you typed by typing <Delback>.
307<Delete> is a key on the keyboard, which may be labeled "Del". In 307<Delback> is a key on the keyboard--the same one you normally use,
308some cases, the "Backspace" key serves as <Delete>, but not always! 308outside Emacs, for deleting the last character you typed. It is
309normally a large key a couple of lines up from the <Return> key, and
310it is usually labeled "Delete", "Del" or "Backspace".
309 311
310More generally, <Delete> deletes the character immediately before the 312If the large key there is labeled "Backspace", then that's the one you
313use for <Delback>. There may also be another key labeled "Delete"
314somewhere else, but that's not <Delback>.
315
316More generally, <Delback> deletes the character immediately before the
311current cursor position. 317current cursor position.
312 318
313>> Do this now--type a few characters, then delete them 319>> Do this now--type a few characters, then delete them
314 by typing <Delete> a few times. Don't worry about this file 320 by typing <Delback> a few times. Don't worry about this file
315 being changed; you will not alter the master tutorial. This is 321 being changed; you will not alter the master tutorial. This is
316 your personal copy of it. 322 your personal copy of it.
317 323
@@ -323,7 +329,7 @@ right margin indicates a line which has been continued.
323>> Insert text until you reach the right margin, and keep on inserting. 329>> Insert text until you reach the right margin, and keep on inserting.
324 You'll see a continuation line appear. 330 You'll see a continuation line appear.
325 331
326>> Use <Delete>s to delete the text until the line fits on one screen 332>> Use <Delback>s to delete the text until the line fits on one screen
327 line again. The continuation line goes away. 333 line again. The continuation line goes away.
328 334
329You can delete a Newline character just like any other character. 335You can delete a Newline character just like any other character.
@@ -331,7 +337,7 @@ Deleting the Newline character between two lines merges them into
331one line. If the resulting combined line is too long to fit in the 337one line. If the resulting combined line is too long to fit in the
332screen width, it will be displayed with a continuation line. 338screen width, it will be displayed with a continuation line.
333 339
334>> Move the cursor to the beginning of a line and type <Delete>. This 340>> Move the cursor to the beginning of a line and type <Delback>. This
335 merges that line with the previous line. 341 merges that line with the previous line.
336 342
337>> Type <Return> to reinsert the Newline you deleted. 343>> Type <Return> to reinsert the Newline you deleted.
@@ -346,17 +352,17 @@ You've now learned the most basic way of typing something in
346Emacs and correcting errors. You can delete by words or lines 352Emacs and correcting errors. You can delete by words or lines
347as well. Here is a summary of the delete operations: 353as well. Here is a summary of the delete operations:
348 354
349 <Delete> delete the character just before the cursor 355 <Delback> delete the character just before the cursor
350 C-d delete the next character after the cursor 356 C-d delete the next character after the cursor
351 357
352 M-<Delete> kill the word immediately before the cursor 358 M-<Delback> kill the word immediately before the cursor
353 M-d kill the next word after the cursor 359 M-d kill the next word after the cursor
354 360
355 C-k kill from the cursor position to end of line 361 C-k kill from the cursor position to end of line
356 M-k kill to the end of the current sentence 362 M-k kill to the end of the current sentence
357 363
358Notice that <Delete> and C-d vs M-<Delete> and M-d extend the parallel 364Notice that <Delback> and C-d vs M-<Delback> and M-d extend the parallel
359started by C-f and M-f (well, <Delete> is not really a control 365started by C-f and M-f (well, <Delback> is not really a control
360character, but let's not worry about that). C-k and M-k are like C-e 366character, but let's not worry about that). C-k and M-k are like C-e
361and M-e, sort of, in that lines are opposite sentences. 367and M-e, sort of, in that lines are opposite sentences.
362 368
@@ -842,7 +848,7 @@ you want to search for. <Return> terminates a search.
842 character to notice what happens to the cursor. 848 character to notice what happens to the cursor.
843 Now you have searched for "cursor", once. 849 Now you have searched for "cursor", once.
844>> Type C-s again, to search for the next occurrence of "cursor". 850>> Type C-s again, to search for the next occurrence of "cursor".
845>> Now type <Delete> four times and see how the cursor moves. 851>> Now type <Delback> four times and see how the cursor moves.
846>> Type <Return> to terminate the search. 852>> Type <Return> to terminate the search.
847 853
848Did you see what happened? Emacs, in an incremental search, tries to 854Did you see what happened? Emacs, in an incremental search, tries to
@@ -858,12 +864,12 @@ letting it get through to Emacs. To unfreeze the screen, type C-q.
858Then see the section "Spontaneous Entry to Incremental Search" in the 864Then see the section "Spontaneous Entry to Incremental Search" in the
859Emacs manual for advice on dealing with this "feature". 865Emacs manual for advice on dealing with this "feature".
860 866
861If you are in the middle of an incremental search and type <Delete>, 867If you are in the middle of an incremental search and type <Delback>,
862you'll notice that the last character in the search string is erased 868you'll notice that the last character in the search string is erased
863and the search backs up to the last place of the search. For 869and the search backs up to the last place of the search. For
864instance, suppose you have typed "c", to search for the first 870instance, suppose you have typed "c", to search for the first
865occurrence of "c". Now if you type "u", the cursor will move 871occurrence of "c". Now if you type "u", the cursor will move
866to the first occurrence of "cu". Now type <Delete>. This erases 872to the first occurrence of "cu". Now type <Delback>. This erases
867the "u" from the search string, and the cursor moves back to 873the "u" from the search string, and the cursor moves back to
868the first occurrence of "c". 874the first occurrence of "c".
869 875