[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/doc/emacs/basic.texi,v
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] Changes to emacs/doc/emacs/basic.texi,v |
Date: |
Thu, 23 Oct 2008 01:08:31 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Chong Yidong <cyd> 08/10/23 01:08:31
Index: basic.texi
===================================================================
RCS file: /sources/emacs/emacs/doc/emacs/basic.texi,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- basic.texi 23 Aug 2008 09:11:52 -0000 1.9
+++ basic.texi 23 Oct 2008 01:08:30 -0000 1.10
@@ -607,7 +607,7 @@
@kindex address@hidden
@findex digit-argument
@findex negative-argument
- The easiest way to specify a numeric argument is to type digits
+ The easiest way to specify a numeric argument is to type a digit
and/or a minus sign while holding down the @key{META} key. For
example,
@@ -621,13 +621,32 @@
@code{negative-argument}) that set up an argument for the next
command. @kbd{Meta--} without digits normally means @minus{}1.
+If you enter more than one digit, you need not hold down the
address@hidden key for the second and subsequent digits. Thus, to move
+down fifty lines, type
+
address@hidden
+M-5 0 C-n
address@hidden example
+
address@hidden
+Note that this @emph{does not} insert five copies of @samp{0} and move
+down one line, as you might expect---the @samp{0} is treated as part
+of the prefix argument.
+
+(What if you do want to insert five copies of @samp{0}? Type @kbd{M-5
+C-u 0}. Here, @kbd{C-u} ``terminates'' the prefix argument, so that
+the next keystroke begins the command that you want to execute. Note
+that this meaning of @kbd{C-u} applies only to this case. For the
+usual role of @kbd{C-u}, see below.)
+
@kindex C-u
@findex universal-argument
- You can also specify a numeric argument by typing @kbd{C-u}
-(@code{universal-argument}) followed by the digits. The advantage of
address@hidden is that you can type the digits without holding down the
address@hidden key. For a negative argument, type a minus sign after
address@hidden A minus sign without digits normally means @minus{}1.
+ Instead of typing @kbd{M-1}, @kbd{M-2}, and so on, another way to
+specify a numeric argument is to type @kbd{C-u}
+(@code{universal-argument}) followed by some digits, or (for a
+negative argument) a minus sign followed by digits. A minus sign
+without digits normally means @minus{}1.
@kbd{C-u} alone has the special meaning of ``four times'': it
multiplies the argument for the next command by four. @kbd{C-u C-u}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/doc/emacs/basic.texi,v,
Chong Yidong <=