[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: interactive codes "p" and "P" - bug or mistake

From: Andreas Röhler
Subject: Re: interactive codes "p" and "P" - bug or mistake
Date: Tue, 26 Jul 2011 20:19:51 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv: Gecko/20110616 SUSE/3.1.11 Thunderbird/3.1.11

Am 26.07.2011 19:25, schrieb Teemu Likonen:
* 2011-07-26T19:00:06+02:00 * Andreas Röhler wrote:

IMO the code "p" sends the numerical argument, while "P" the Prefix
value introduced with C-u

So if I do M-NUMBER, "P" should send nothing.
whilst C-u M-command

both should send their defaults, ie "p" 1 and "P" (4)

No. When you execute a command there is only one prefix argument but
Emacs knows two different _representations_ of it. So, when you type

     C-u M-x command RET

the "command" gets a prefix argument. Its representation in "raw" format
is "(4)", that is, a list with a single item, the integer 4. Its
representation in "numeric" format is the integer 4.

OK, thanks all again.

Thought could have that different.
Will find another solution then.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]