From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: interactive codes "p" and "P" - bug or mistake Date: Tue, 26 Jul 2011 18:19:53 +0200 Message-ID: <4E2EE929.9020407@easy-emacs.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1311697273 24762 80.91.229.12 (26 Jul 2011 16:21:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Jul 2011 16:21:13 +0000 (UTC) To: "help-gnu-emacs@gnu.org List" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 26 18:20:06 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 1QlkMU-00018i-E5 for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Jul 2011 18:20:02 +0200 Original-Received: from localhost ([::1]:53431 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlkMT-0005J0-JK for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Jul 2011 12:20:01 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlkMP-0005Fi-Ul for help-gnu-emacs@gnu.org; Tue, 26 Jul 2011 12:19:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QlkMP-0001eF-3s for help-gnu-emacs@gnu.org; Tue, 26 Jul 2011 12:19:57 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.186]:52382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlkMO-0001eB-PP for help-gnu-emacs@gnu.org; Tue, 26 Jul 2011 12:19:57 -0400 Original-Received: from [192.168.178.27] (brln-4dbc49d1.pool.mediaWays.net [77.188.73.209]) by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis) id 0MG3wg-1Qfgc837Xq-00Et46; Tue, 26 Jul 2011 18:19:55 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.18) Gecko/20110616 SUSE/3.1.11 Thunderbird/3.1.11 X-Provags-ID: V02:K0:hilHLXhERVwLKVVbWY6nsaYJ6L4N3uxpDX9Qd5Jm/+s oh2h4uURkGDyrJVnonQzmDR1+r1UTtPYl8PgwfIBvC52cxaFLI A8uiSj5IkHmR1x/OiJv0OvxGgxecZpsZXkj6YdQDC7AJ8HWEIk NXbqj/m9h/rEbngDBo9l1/YUtA1aMe/UW4i5fLn9GQsRmQQLMa kxfFOB8yHHZK/BYFhmZXIFmSjFzZ4AqZWazxvVq47s= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.126.186 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:81782 Archived-At: Hi, given that function: (defun foo-bar (foo &optional bar) "" (interactive "p\nP*") (message "foo %s bar %s" foo bar)) as with M- NUMBER M-x foo-bar RET or C-u M-x foo-bar RET both interactive codes "p" and "P" send the same/similar: M- 3 M-x foo-bar RET --> foo 3 bar 3 C-u M-x foo-bar RET --> foo 4 bar (4) Think that's not OK. My mistake? Thanks, Andreas GNU Emacs 23.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2011-07-17