aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLute Kamstra2005-02-08 14:20:54 +0000
committerLute Kamstra2005-02-08 14:20:54 +0000
commit4183568644f5922e2feb3247f057851557a3dedf (patch)
treeddcc384cba34c919d8d7c4a81b4293c6426be4a7
parent94cd554acd6bad3138e631dda9acff8e33a76586 (diff)
downloademacs-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/ChangeLog7
-rw-r--r--etc/TUTORIAL97
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 @@
12005-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
12005-02-06 Richard M. Stallman <rms@gnu.org> 82005-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 @@
1You are looking at the Emacs tutorial. See end for copying conditions. 1You are looking at the Emacs tutorial. See end for copying conditions.
2Copyright (c) 1985, 1996, 1998, 2001, 2002 Free Software Foundation. 2Copyright (c) 1985, 1996, 1998, 2001, 2002, 2005 Free Software Foundation.
3 3
4Emacs commands generally involve the CONTROL key (sometimes labeled 4Emacs commands generally involve the CONTROL key (sometimes labeled
5CTRL or CTL) or the META key (sometimes labeled EDIT or ALT). Rather than 5CTRL 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
259saying what the command was, and asking you whether you want to go 259saying what the command was, and asking you whether you want to go
260ahead and execute the command. 260ahead and execute the command.
261 261
262If you really want to try the command, type Space in answer to the 262If you really want to try the command, type <SPC> (the Space bar) in
263question. Normally, if you do not want to execute the disabled 263answer to the question. Normally, if you do not want to execute the
264command, answer the question with "n". 264disabled 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
352Emacs and correcting errors. You can delete by words or lines 352Emacs and correcting errors. You can delete by words or lines
353as well. Here is a summary of the delete operations: 353as 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
364Notice that <Delback> and C-d vs M-<Delback> and M-d extend the parallel 364Notice that <Delback> and C-d vs M-<Delback> and M-d extend the parallel
365started by C-f and M-f (well, <Delback> is not really a control 365started by C-f and M-f (well, <Delback> is not really a control
366character, 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
367and M-e, sort of, in that lines are opposite sentences. 367and M-e, sort of, in that lines are opposite sentences.
368 368
369You can also kill any part of the buffer with one uniform method. 369You can also kill any part of the text with one uniform method. Move
370Move to one end of that part, and type C-@ or C-SPC (either one). 370to 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 371is the Space bar.) Move to the other end of that part, and type C-w.
372C-w. That kills all the text between the two positions. 372That 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.
401Bringing back killed text is called "yanking". (Think of it as 401Bringing back killed text is called "yanking". (Think of it as
402yanking back, or pulling back, some text that was taken away.) You 402yanking back, or pulling back, some text that was taken away.) You
403can yank the killed text either at the same place where it was killed, 403can yank the killed text either at the same place where it was killed,
404or at some other place in the buffer, or even in a different file. 404or at some other place in the text you are editing, or even in a
405You can yank the same text several times; that makes multiple copies 405different file. You can yank the same text several times; that makes
406of it. 406multiple copies of it.
407 407
408The command for yanking is C-y. It reinserts the last killed text, 408The command for yanking is C-y. It reinserts the last killed text,
409at the current cursor position. 409at 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
640These are commands that are generally useful but used less than the 640These are commands that are generally useful but used less than the
641commands you have already learned about. You have already seen two of 641commands you have already learned about. You have already seen a few
642them: the file commands C-x C-f to Find and C-x C-s to Save. Another 642of them: the file commands C-x C-f to Find and C-x C-s to Save, for
643example is the command to end the Emacs session--this is the command 643example. Another example is the command to end the Emacs
644C-x C-c. (Do not worry about losing changes you have made; C-x C-c 644session--this is the command C-x C-c. (Do not worry about losing
645offers to save each changed file before it kills the Emacs.) 645changes you have made; C-x C-c offers to save each changed file before
646it kills the Emacs.)
646 647
647C-z is the command to exit Emacs *temporarily*--so that you can go 648C-z is the command to exit Emacs *temporarily*--so that you can go
648back to the same Emacs session afterward. 649back to the same Emacs session afterward.
@@ -666,12 +667,14 @@ with C-z instead of exiting Emacs.
666 667
667There are many C-x commands. Here is a list of the ones you have learned: 668There 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
676Named eXtended commands are commands which are used even less 679Named eXtended commands are commands which are used even less
677frequently, or commands which are used only in certain modes. An 680frequently, 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
727The line immediately above the echo area is called the "mode line". 730The line immediately above the echo area is called the "mode line".
728The mode line says something like this: 731The mode line says something like this:
729 732
730--:** TUTORIAL (Fundamental)--L670--58%---------------- 733--:** TUTORIAL 63% L749 (Fundamental)-----------------------
731 734
732This line gives useful information about the status of Emacs and 735This line gives useful information about the status of Emacs and
733the text you are editing. 736the text you are editing.
734 737
735You already know what the filename means--it is the file you have 738You already know what the filename means--it is the file you have
736found. -NN%-- indicates your current position in the text; it means 739found. NN% indicates your current position in the text; it means that
737that NN percent of the text is above the top of the screen. If the 740NN percent of the text is above the top of the screen. If the top of
738top of the file is on the screen, it will say --Top-- instead of 741the 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 742bottom 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 743looking at text so small that all of it fits on the screen, the mode
741the screen, the mode line says --All--. 744line says "All".
742 745
743The L and digits indicate position in another way: they give the 746The L and digits indicate position in another way: they give the
744current line number of point. 747current line number of point.
@@ -767,6 +770,7 @@ switch to Fundamental mode.
767 770
768If you are going to be editing human-language text, such as this file, you 771If you are going to be editing human-language text, such as this file, you
769should probably use Text Mode. 772should probably use Text Mode.
773
770>> Type M-x text mode<Return>. 774>> Type M-x text mode<Return>.
771 775
772Don't worry, none of the Emacs commands you have learned changes in 776Don'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
921typing v. It does not matter whether CONTROL or META "comes first," 925typing v. It does not matter whether CONTROL or META "comes first,"
922because both of these keys act by modifying the characters you type. 926because both of these keys act by modifying the characters you type.
923 927
924If you do not have a real META key, and you use ESC instead, the order 928If you do not have a real META key, and you use <ESC> instead, the
925does matter: you must type ESC followed by CONTROL-v, because 929order does matter: you must type <ESC> followed by CONTROL-v, because
926CONTROL-ESC v will not work. This is because ESC is a character in 930CONTROL-<ESC> v will not work. This is because <ESC> is a character
927its own right, not a modifier key. 931in 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,
955surrounding the parentheses around the major mode name. For 959surrounding the parentheses around the major mode name. For
956example, you might see [(Fundamental)] instead of (Fundamental). 960example, you might see [(Fundamental)] instead of (Fundamental).
957 961
958To get out of the recursive editing level, type ESC ESC ESC. That is 962To get out of the recursive editing level, type <ESC> <ESC> <ESC>.
959an all-purpose "get out" command. You can also use it for eliminating 963That is an all-purpose "get out" command. You can also use it for
960extra windows, and getting out of the minibuffer. 964eliminating 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
964You cannot use C-g to get out of a recursive editing level. This is 969You cannot use C-g to get out of a recursive editing level. This is
965because C-g is used for canceling commands and arguments WITHIN the 970because 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.
1099This version of the tutorial, like GNU Emacs, is copyrighted, and 1104This version of the tutorial, like GNU Emacs, is copyrighted, and
1100comes with permission to distribute copies on certain conditions: 1105comes with permission to distribute copies on certain conditions:
1101 1106
1102Copyright (c) 1985, 1996, 1998, 2001, 2002 Free Software Foundation 1107Copyright (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