diff options
| author | Lute Kamstra | 2005-02-08 14:20:54 +0000 |
|---|---|---|
| committer | Lute Kamstra | 2005-02-08 14:20:54 +0000 |
| commit | 4183568644f5922e2feb3247f057851557a3dedf (patch) | |
| tree | ddcc384cba34c919d8d7c4a81b4293c6426be4a7 | |
| parent | 94cd554acd6bad3138e631dda9acff8e33a76586 (diff) | |
| download | emacs-4183568644f5922e2feb3247f057851557a3dedf.tar.gz emacs-4183568644f5922e2feb3247f057851557a3dedf.zip | |
Remove some uses of the term "buffer" before it is properly
introduced. Update the description of the mode line. Consistently
use "<ESC>" to denote the ESC key and "<SPC>" to denote the Space bar.
Capitalize all command descriptions.
| -rw-r--r-- | etc/ChangeLog | 7 | ||||
| -rw-r--r-- | etc/TUTORIAL | 97 |
2 files changed, 58 insertions, 46 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index c1bfc98cf32..e464e75dbe1 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2005-02-08 Lute Kamstra <lute@gnu.org> | ||
| 2 | |||
| 3 | * TUTORIAL: Remove some uses of the term "buffer" before it is | ||
| 4 | properly introduced. Update the description of the mode line. | ||
| 5 | Consistently use "<ESC>" to denote the ESC key and "<SPC>" to | ||
| 6 | denote the Space bar. Capitalize all command descriptions. | ||
| 7 | |||
| 1 | 2005-02-06 Richard M. Stallman <rms@gnu.org> | 8 | 2005-02-06 Richard M. Stallman <rms@gnu.org> |
| 2 | 9 | ||
| 3 | * DEBUG: Minor clarification. | 10 | * DEBUG: Minor clarification. |
diff --git a/etc/TUTORIAL b/etc/TUTORIAL index ee92a6ae233..b5632ae707b 100644 --- a/etc/TUTORIAL +++ b/etc/TUTORIAL | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | You are looking at the Emacs tutorial. See end for copying conditions. | 1 | You are looking at the Emacs tutorial. See end for copying conditions. |
| 2 | Copyright (c) 1985, 1996, 1998, 2001, 2002 Free Software Foundation. | 2 | Copyright (c) 1985, 1996, 1998, 2001, 2002, 2005 Free Software Foundation. |
| 3 | 3 | ||
| 4 | Emacs commands generally involve the CONTROL key (sometimes labeled | 4 | Emacs commands generally involve the CONTROL key (sometimes labeled |
| 5 | CTRL or CTL) or the META key (sometimes labeled EDIT or ALT). Rather than | 5 | CTRL or CTL) or the META key (sometimes labeled EDIT or ALT). Rather than |
| @@ -259,9 +259,9 @@ If you type one of the disabled commands, Emacs displays a message | |||
| 259 | saying what the command was, and asking you whether you want to go | 259 | saying what the command was, and asking you whether you want to go |
| 260 | ahead and execute the command. | 260 | ahead and execute the command. |
| 261 | 261 | ||
| 262 | If you really want to try the command, type Space in answer to the | 262 | If you really want to try the command, type <SPC> (the Space bar) in |
| 263 | question. Normally, if you do not want to execute the disabled | 263 | answer to the question. Normally, if you do not want to execute the |
| 264 | command, answer the question with "n". | 264 | disabled command, answer the question with "n". |
| 265 | 265 | ||
| 266 | >> Type C-x C-l (which is a disabled command), | 266 | >> Type C-x C-l (which is a disabled command), |
| 267 | then type n to answer the question. | 267 | then type n to answer the question. |
| @@ -352,27 +352,27 @@ You've now learned the most basic way of typing something in | |||
| 352 | Emacs and correcting errors. You can delete by words or lines | 352 | Emacs and correcting errors. You can delete by words or lines |
| 353 | as well. Here is a summary of the delete operations: | 353 | as well. Here is a summary of the delete operations: |
| 354 | 354 | ||
| 355 | <Delback> delete the character just before the cursor | 355 | <Delback> Delete the character just before the cursor |
| 356 | C-d delete the next character after the cursor | 356 | C-d Delete the next character after the cursor |
| 357 | 357 | ||
| 358 | M-<Delback> kill the word immediately before the cursor | 358 | M-<Delback> Kill the word immediately before the cursor |
| 359 | M-d kill the next word after the cursor | 359 | M-d Kill the next word after the cursor |
| 360 | 360 | ||
| 361 | C-k kill from the cursor position to end of line | 361 | C-k Kill from the cursor position to end of line |
| 362 | M-k kill to the end of the current sentence | 362 | M-k Kill to the end of the current sentence |
| 363 | 363 | ||
| 364 | Notice that <Delback> and C-d vs M-<Delback> and M-d extend the parallel | 364 | Notice that <Delback> and C-d vs M-<Delback> and M-d extend the parallel |
| 365 | started by C-f and M-f (well, <Delback> is not really a control | 365 | started by C-f and M-f (well, <Delback> is not really a control |
| 366 | character, but let's not worry about that). C-k and M-k are like C-e | 366 | character, but let's not worry about that). C-k and M-k are like C-e |
| 367 | and M-e, sort of, in that lines are opposite sentences. | 367 | and M-e, sort of, in that lines are opposite sentences. |
| 368 | 368 | ||
| 369 | You can also kill any part of the buffer with one uniform method. | 369 | You can also kill any part of the text with one uniform method. Move |
| 370 | Move to one end of that part, and type C-@ or C-SPC (either one). | 370 | to one end of that part, and type C-@ or C-<SPC> (either one). (<SPC> |
| 371 | (SPC is the Space bar.) Move to the other end of that part, and type | 371 | is the Space bar.) Move to the other end of that part, and type C-w. |
| 372 | C-w. That kills all the text between the two positions. | 372 | That kills all the text between the two positions. |
| 373 | 373 | ||
| 374 | >> Move the cursor to the Y at the start of the previous paragraph. | 374 | >> Move the cursor to the Y at the start of the previous paragraph. |
| 375 | >> Type C-SPC. Emacs should display a message "Mark set" | 375 | >> Type C-<SPC>. Emacs should display a message "Mark set" |
| 376 | at the bottom of the screen. | 376 | at the bottom of the screen. |
| 377 | >> Move the cursor to the n in "end", on the second line of the | 377 | >> Move the cursor to the n in "end", on the second line of the |
| 378 | paragraph. | 378 | paragraph. |
| @@ -401,9 +401,9 @@ lines and their newlines; typing C-k twice would not do that. | |||
| 401 | Bringing back killed text is called "yanking". (Think of it as | 401 | Bringing back killed text is called "yanking". (Think of it as |
| 402 | yanking back, or pulling back, some text that was taken away.) You | 402 | yanking back, or pulling back, some text that was taken away.) You |
| 403 | can yank the killed text either at the same place where it was killed, | 403 | can yank the killed text either at the same place where it was killed, |
| 404 | or at some other place in the buffer, or even in a different file. | 404 | or at some other place in the text you are editing, or even in a |
| 405 | You can yank the same text several times; that makes multiple copies | 405 | different file. You can yank the same text several times; that makes |
| 406 | of it. | 406 | multiple copies of it. |
| 407 | 407 | ||
| 408 | The command for yanking is C-y. It reinserts the last killed text, | 408 | The command for yanking is C-y. It reinserts the last killed text, |
| 409 | at the current cursor position. | 409 | at the current cursor position. |
| @@ -638,11 +638,12 @@ the X (eXtend) command. This comes in two flavors: | |||
| 638 | M-x Named command eXtend. Followed by a long name. | 638 | M-x Named command eXtend. Followed by a long name. |
| 639 | 639 | ||
| 640 | These are commands that are generally useful but used less than the | 640 | These are commands that are generally useful but used less than the |
| 641 | commands you have already learned about. You have already seen two of | 641 | commands you have already learned about. You have already seen a few |
| 642 | them: the file commands C-x C-f to Find and C-x C-s to Save. Another | 642 | of them: the file commands C-x C-f to Find and C-x C-s to Save, for |
| 643 | example is the command to end the Emacs session--this is the command | 643 | example. Another example is the command to end the Emacs |
| 644 | C-x C-c. (Do not worry about losing changes you have made; C-x C-c | 644 | session--this is the command C-x C-c. (Do not worry about losing |
| 645 | offers to save each changed file before it kills the Emacs.) | 645 | changes you have made; C-x C-c offers to save each changed file before |
| 646 | it kills the Emacs.) | ||
| 646 | 647 | ||
| 647 | C-z is the command to exit Emacs *temporarily*--so that you can go | 648 | C-z is the command to exit Emacs *temporarily*--so that you can go |
| 648 | back to the same Emacs session afterward. | 649 | back to the same Emacs session afterward. |
| @@ -666,12 +667,14 @@ with C-z instead of exiting Emacs. | |||
| 666 | 667 | ||
| 667 | There are many C-x commands. Here is a list of the ones you have learned: | 668 | There are many C-x commands. Here is a list of the ones you have learned: |
| 668 | 669 | ||
| 669 | C-x C-f Find file. | 670 | C-x C-f Find file |
| 670 | C-x C-s Save file. | 671 | C-x C-s Save file |
| 671 | C-x C-b List buffers. | 672 | C-x s Save some buffers |
| 672 | C-x C-c Quit Emacs. | 673 | C-x C-b List buffers |
| 673 | C-x 1 Delete all but one window. | 674 | C-x b Switch buffer |
| 674 | C-x u Undo. | 675 | C-x C-c Quit Emacs |
| 676 | C-x 1 Delete all but one window | ||
| 677 | C-x u Undo | ||
| 675 | 678 | ||
| 676 | Named eXtended commands are commands which are used even less | 679 | Named eXtended commands are commands which are used even less |
| 677 | frequently, or commands which are used only in certain modes. An | 680 | frequently, or commands which are used only in certain modes. An |
| @@ -727,18 +730,18 @@ shows them to you at the bottom of the screen in an area called the | |||
| 727 | The line immediately above the echo area is called the "mode line". | 730 | The line immediately above the echo area is called the "mode line". |
| 728 | The mode line says something like this: | 731 | The mode line says something like this: |
| 729 | 732 | ||
| 730 | --:** TUTORIAL (Fundamental)--L670--58%---------------- | 733 | --:** TUTORIAL 63% L749 (Fundamental)----------------------- |
| 731 | 734 | ||
| 732 | This line gives useful information about the status of Emacs and | 735 | This line gives useful information about the status of Emacs and |
| 733 | the text you are editing. | 736 | the text you are editing. |
| 734 | 737 | ||
| 735 | You already know what the filename means--it is the file you have | 738 | You already know what the filename means--it is the file you have |
| 736 | found. -NN%-- indicates your current position in the text; it means | 739 | found. NN% indicates your current position in the text; it means that |
| 737 | that NN percent of the text is above the top of the screen. If the | 740 | NN percent of the text is above the top of the screen. If the top of |
| 738 | top of the file is on the screen, it will say --Top-- instead of | 741 | the file is on the screen, it will say "Top" instead of " 0%". If the |
| 739 | --00%--. If the bottom of the text is on the screen, it will say | 742 | bottom of the text is on the screen, it will say "Bot". If you are |
| 740 | --Bot--. If you are looking at text so small that all of it fits on | 743 | looking at text so small that all of it fits on the screen, the mode |
| 741 | the screen, the mode line says --All--. | 744 | line says "All". |
| 742 | 745 | ||
| 743 | The L and digits indicate position in another way: they give the | 746 | The L and digits indicate position in another way: they give the |
| 744 | current line number of point. | 747 | current line number of point. |
| @@ -767,6 +770,7 @@ switch to Fundamental mode. | |||
| 767 | 770 | ||
| 768 | If you are going to be editing human-language text, such as this file, you | 771 | If you are going to be editing human-language text, such as this file, you |
| 769 | should probably use Text Mode. | 772 | should probably use Text Mode. |
| 773 | |||
| 770 | >> Type M-x text mode<Return>. | 774 | >> Type M-x text mode<Return>. |
| 771 | 775 | ||
| 772 | Don't worry, none of the Emacs commands you have learned changes in | 776 | Don't worry, none of the Emacs commands you have learned changes in |
| @@ -897,7 +901,7 @@ window on the screen at the same time. | |||
| 897 | Both windows display this tutorial. The cursor stays in the top window. | 901 | Both windows display this tutorial. The cursor stays in the top window. |
| 898 | 902 | ||
| 899 | >> Type C-M-v to scroll the bottom window. | 903 | >> Type C-M-v to scroll the bottom window. |
| 900 | (If you do not have a real META key, type ESC C-v.) | 904 | (If you do not have a real META key, type <ESC> C-v.) |
| 901 | 905 | ||
| 902 | >> Type C-x o ("o" for "other") to move the cursor to the bottom window. | 906 | >> Type C-x o ("o" for "other") to move the cursor to the bottom window. |
| 903 | >> Use C-v and M-v in the bottom window to scroll it. | 907 | >> Use C-v and M-v in the bottom window to scroll it. |
| @@ -921,10 +925,10 @@ META key, you can type C-M-v by holding down both CONTROL and META while | |||
| 921 | typing v. It does not matter whether CONTROL or META "comes first," | 925 | typing v. It does not matter whether CONTROL or META "comes first," |
| 922 | because both of these keys act by modifying the characters you type. | 926 | because both of these keys act by modifying the characters you type. |
| 923 | 927 | ||
| 924 | If you do not have a real META key, and you use ESC instead, the order | 928 | If you do not have a real META key, and you use <ESC> instead, the |
| 925 | does matter: you must type ESC followed by CONTROL-v, because | 929 | order does matter: you must type <ESC> followed by CONTROL-v, because |
| 926 | CONTROL-ESC v will not work. This is because ESC is a character in | 930 | CONTROL-<ESC> v will not work. This is because <ESC> is a character |
| 927 | its own right, not a modifier key. | 931 | in its own right, not a modifier key. |
| 928 | 932 | ||
| 929 | >> Type C-x 1 (in the top window) to get rid of the bottom window. | 933 | >> Type C-x 1 (in the top window) to get rid of the bottom window. |
| 930 | 934 | ||
| @@ -955,11 +959,12 @@ level". This is indicated by square brackets in the mode line, | |||
| 955 | surrounding the parentheses around the major mode name. For | 959 | surrounding the parentheses around the major mode name. For |
| 956 | example, you might see [(Fundamental)] instead of (Fundamental). | 960 | example, you might see [(Fundamental)] instead of (Fundamental). |
| 957 | 961 | ||
| 958 | To get out of the recursive editing level, type ESC ESC ESC. That is | 962 | To get out of the recursive editing level, type <ESC> <ESC> <ESC>. |
| 959 | an all-purpose "get out" command. You can also use it for eliminating | 963 | That is an all-purpose "get out" command. You can also use it for |
| 960 | extra windows, and getting out of the minibuffer. | 964 | eliminating extra windows, and getting out of the minibuffer. |
| 961 | 965 | ||
| 962 | >> Type M-x to get into a minibuffer; then type ESC ESC ESC to get out. | 966 | >> Type M-x to get into a minibuffer; then type <ESC> <ESC> <ESC> to |
| 967 | get out. | ||
| 963 | 968 | ||
| 964 | You cannot use C-g to get out of a recursive editing level. This is | 969 | You cannot use C-g to get out of a recursive editing level. This is |
| 965 | because C-g is used for canceling commands and arguments WITHIN the | 970 | because C-g is used for canceling commands and arguments WITHIN the |
| @@ -1099,7 +1104,7 @@ starting with the one written by Stuart Cracraft for the original Emacs. | |||
| 1099 | This version of the tutorial, like GNU Emacs, is copyrighted, and | 1104 | This version of the tutorial, like GNU Emacs, is copyrighted, and |
| 1100 | comes with permission to distribute copies on certain conditions: | 1105 | comes with permission to distribute copies on certain conditions: |
| 1101 | 1106 | ||
| 1102 | Copyright (c) 1985, 1996, 1998, 2001, 2002 Free Software Foundation | 1107 | Copyright (c) 1985, 1996, 1998, 2001, 2002, 2005 Free Software Foundation |
| 1103 | 1108 | ||
| 1104 | Permission is granted to anyone to make or distribute verbatim copies | 1109 | Permission is granted to anyone to make or distribute verbatim copies |
| 1105 | of this document as received, in any medium, provided that the | 1110 | of this document as received, in any medium, provided that the |