From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Teemu Likonen Newsgroups: gmane.emacs.help Subject: Re: interactive codes "p" and "P" - bug or mistake Date: Tue, 26 Jul 2011 20:25:04 +0300 Message-ID: <8739htrm33.fsf@mithlond.arda> References: <4E2EE929.9020407@easy-emacs.de> <87aac1ro1r.fsf@mithlond.arda> <4E2EF296.3080402@easy-emacs.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: Quoted-Printable X-Trace: dough.gmane.org 1311701120 18042 80.91.229.12 (26 Jul 2011 17:25:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Jul 2011 17:25:20 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: =?iso-8859-1?Q?Andreas_R=F6hler?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 26 19:25:16 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QllNZ-0002RE-P2 for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Jul 2011 19:25:13 +0200 Original-Received: from localhost ([::1]:45466 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QllNY-0006a6-K7 for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Jul 2011 13:25:12 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QllNU-0006YG-PP for help-gnu-emacs@gnu.org; Tue, 26 Jul 2011 13:25:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QllNT-0007Uy-Rg for help-gnu-emacs@gnu.org; Tue, 26 Jul 2011 13:25:08 -0400 Original-Received: from mta-out.inet.fi ([195.156.147.13]:55332 helo=jenni2.inet.fi) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QllNT-0007UJ-Fi for help-gnu-emacs@gnu.org; Tue, 26 Jul 2011 13:25:07 -0400 Original-Received: from mithlond.arda (84.251.132.215) by jenni2.inet.fi (8.5.133) id 4DF73E8501DF8A3F; Tue, 26 Jul 2011 20:25:05 +0300 Original-Received: from dtw by mithlond.arda with local (Exim 4.72) (envelope-from ) id 1QllNR-00025O-0m; Tue, 26 Jul 2011 20:25:05 +0300 In-Reply-To: <4E2EF296.3080402@easy-emacs.de> ("Andreas =?iso-8859-1?Q?R?= =?iso-8859-1?Q?=F6hler=22's?= message of "Tue, 26 Jul 2011 19:00:06 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 195.156.147.13 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81788 Archived-At: * 2011-07-26T19:00:06+02:00 * Andreas R=F6hler 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.