aboutsummaryrefslogtreecommitdiffstats
path: root/etc/tutorials
diff options
context:
space:
mode:
authorXue Fuqiao2013-08-02 22:06:27 +0800
committerXue Fuqiao2013-08-02 22:06:27 +0800
commit262a3aac2efabe8a59137c208f7d44f75b132daa (patch)
tree28170e2a6015879925e7deb4f3d9febbcf7a93fa /etc/tutorials
parent9097ad863d07035e9b01210490d6f09e9ee94c4e (diff)
downloademacs-262a3aac2efabe8a59137c208f7d44f75b132daa.tar.gz
emacs-262a3aac2efabe8a59137c208f7d44f75b132daa.zip
Add indexes for elisp manual.
* doc/lispref/display.texi (Face Functions): Add an index. * doc/lispref/variables.texi (Variable Aliases): Add an index. * doc/lispref/functions.texi (Defining Functions): Add an index. * doc/lispref/nonascii.texi (Coding System Basics): Add an index.
Diffstat (limited to 'etc/tutorials')
-rw-r--r--etc/tutorials/TUTORIAL29
1 files changed, 15 insertions, 14 deletions
diff --git a/etc/tutorials/TUTORIAL b/etc/tutorials/TUTORIAL
index 91962fd722c..91b3731fd0d 100644
--- a/etc/tutorials/TUTORIAL
+++ b/etc/tutorials/TUTORIAL
@@ -372,13 +372,15 @@ the text between the two positions.
372 372
373The difference between "killing" and "deleting" is that "killed" text 373The difference between "killing" and "deleting" is that "killed" text
374can be reinserted (at any position), whereas "deleted" things cannot 374can be reinserted (at any position), whereas "deleted" things cannot
375be reinserted in this way (you can, however, undo a deletion--see below). 375be reinserted in this way (you can, however, undo a deletion--see
376Reinsertion of killed text is called "yanking". Generally, the 376below). Reinsertion of killed text is called "yanking". (Think of it
377commands that can remove a lot of text kill the text (they are set up so 377as yanking back, or pulling back, some text that was taken away.)
378that you can yank the text), while the commands that remove just one 378Generally, the commands that can remove a lot of text kill the text
379character, or only remove blank lines and spaces, do deletion (so you 379(they are set up so that you can yank the text), while the commands
380cannot yank that text). <DEL> and C-d do deletion in the simplest 380that remove just one character, or only remove blank lines and spaces,
381case, with no argument. When given an argument, they kill instead. 381do deletion (so you cannot yank that text). <DEL> and C-d do deletion
382in the simplest case, with no argument. When given an argument, they
383kill instead.
382 384
383>> Move the cursor to the beginning of a line which is not empty. 385>> Move the cursor to the beginning of a line which is not empty.
384 Then type C-k to kill the text on that line. 386 Then type C-k to kill the text on that line.
@@ -391,13 +393,12 @@ treats a numeric argument specially: it kills that many lines AND
391their contents. This is not mere repetition. C-u 2 C-k kills two 393their contents. This is not mere repetition. C-u 2 C-k kills two
392lines and their newlines; typing C-k twice would not do that. 394lines and their newlines; typing C-k twice would not do that.
393 395
394Reinserting killed text is called "yanking". (Think of it as yanking 396You can yank the killed text either at the same place where it was
395back, or pulling back, some text that was taken away.) You can yank 397killed, or at some other place in the text you are editing, or even in
396the killed text either at the same place where it was killed, or at 398a different file. You can yank the same text several times; that
397some other place in the text you are editing, or even in a different 399makes multiple copies of it. Some other editors call killing and
398file. You can yank the same text several times; that makes multiple 400yanking "cutting" and "pasting" (see the Glossary in the Emacs
399copies of it. Some other editors call killing and yanking "cutting" 401manual).
400and "pasting" (see the Glossary in the Emacs manual).
401 402
402The command for yanking is C-y. It reinserts the last killed text, 403The command for yanking is C-y. It reinserts the last killed text,
403at the current cursor position. 404at the current cursor position.