From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#2723: marked as done (Emacs 23: `interactive': prefix argument "P" and region "r" are mutually exclusive.) Date: Thu, 19 Mar 2009 20:45:04 +0000 Message-ID: References: <20090319191524.GA2306@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1237495504-12497-0" X-Trace: ger.gmane.org 1237496694 11883 80.91.229.12 (19 Mar 2009 21:04:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Mar 2009 21:04:54 +0000 (UTC) To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 19 22:06:10 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LkPQq-00069Y-NA for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Mar 2009 22:05:49 +0100 Original-Received: from localhost ([127.0.0.1]:56080 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkPPT-0005z2-Dl for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Mar 2009 17:04:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LkPP6-0005qx-0g for bug-gnu-emacs@gnu.org; Thu, 19 Mar 2009 17:03:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LkPP1-0005pw-2o for bug-gnu-emacs@gnu.org; Thu, 19 Mar 2009 17:03:51 -0400 Original-Received: from [199.232.76.173] (port=41394 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkPP1-0005pr-0T for bug-gnu-emacs@gnu.org; Thu, 19 Mar 2009 17:03:47 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:39574) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LkPP0-0008Bm-4m for bug-gnu-emacs@gnu.org; Thu, 19 Mar 2009 17:03:46 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2JL3hRS017515; Thu, 19 Mar 2009 14:03:44 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n2JKj44R012691; Thu, 19 Mar 2009 13:45:04 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 2723 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:26495 Archived-At: This is a multi-part message in MIME format... ------------=_1237495504-12497-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Thu, 19 Mar 2009 16:40:11 -0400 with message-id and subject line Re: bug#2723: Emacs 23: `interactive': prefix argument "P"= and region "r" are mutually exclusive. has caused the Emacs bug report #2723, regarding Emacs 23: `interactive': prefix argument "P" and region "r" are m= utually exclusive. to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 2723: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D2723 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1237495504-12497-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 19 Mar 2009 19:16:31 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2JJGRF6021295 for ; Thu, 19 Mar 2009 12:16:29 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LkNj9-000595-82 for bug-gnu-emacs@gnu.org; Thu, 19 Mar 2009 15:16:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LkNj4-00056j-Fj for bug-gnu-emacs@gnu.org; Thu, 19 Mar 2009 15:16:26 -0400 Received: from [199.232.76.173] (port=50715 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkNj4-00056g-Ch for bug-gnu-emacs@gnu.org; Thu, 19 Mar 2009 15:16:22 -0400 Received: from colin.muc.de ([193.149.48.1]:4755 helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LkNj3-0002W3-Qg for bug-gnu-emacs@gnu.org; Thu, 19 Mar 2009 15:16:22 -0400 Received: (qmail 27119 invoked by uid 3782); 19 Mar 2009 19:16:15 -0000 Received: from acm.muc.de (pD9E23BAC.dip.t-dialin.net [217.226.59.172]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Thu, 19 Mar 2009 20:16:12 +0100 Received: (qmail 2342 invoked by uid 1000); 19 Mar 2009 19:15:24 -0000 Date: Thu, 19 Mar 2009 19:15:24 +0000 To: bug-gnu-emacs@gnu.org Subject: Emacs 23: `interactive': prefix argument "P" and region "r" are mutually exclusive. Message-ID: <20090319191524.GA2306@muc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.6-4.9 Hi, Emacs! In the following: ######################################################################### (defun echo-prefix (arg) "Echo the command prefix" (interactive "P") (message "Command prefix: %s" arg)) (defun echo-region (beg end) "Echo the region boundaries" (interactive "r") (message "Region: (%s %s)" beg end)) (defun echo-region-prefix (beg end arg) "Echo the region and prefix parameters." (interactive "rP") (message "region: (%s %s); prefix: %s" beg end arg)) ######################################################################### , echo-prefix and echo-region work as expected. echo-region-prefix throws this error: Wrong number of arguments: (lambda (beg end arg) "Echo the region and prefix parameters." (interactive "rP") (message "region: (%s %s); prefix: %s" beg end arg)), 2 It seems that `(interactive "rP")' is only supplying the defun with two parameters. -- Alan Mackenzie (Nuremberg, Germany). ------------=_1237495504-12497-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2723-done) by emacsbugs.donarmstrong.com; 19 Mar 2009 20:40:17 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.5 required=4.0 tests=HAS_BUG_NUMBER,XIRONPORT autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2JKeC9S011317 for <2723-done@emacsbugs.donarmstrong.com>; Thu, 19 Mar 2009 13:40:13 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiIFAENKwklFxIZP/2dsb2JhbACBT9Jsg3wGhGI X-IronPort-AV: E=Sophos;i="4.38,391,1233550800"; d="scan'208";a="35420704" Received: from 69-196-134-79.dsl.teksavvy.com (HELO pastel.home) ([69.196.134.79]) by ironport2-out.teksavvy.com with ESMTP; 19 Mar 2009 16:40:05 -0400 Received: by pastel.home (Postfix, from userid 20848) id B55897F0C; Thu, 19 Mar 2009 16:40:11 -0400 (EDT) From: Stefan Monnier To: Alan Mackenzie Cc: 2723-done@emacsbugs.donarmstrong.com Subject: Re: bug#2723: Emacs 23: `interactive': prefix argument "P" and region "r" are mutually exclusive. Message-ID: References: <20090319191524.GA2306@muc.de> Date: Thu, 19 Mar 2009 16:40:11 -0400 In-Reply-To: <20090319191524.GA2306@muc.de> (Alan Mackenzie's message of "Thu, 19 Mar 2009 19:15:24 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > It seems that `(interactive "rP")' is only supplying the defun with two > parameters. Read C-h f interactive RET, and if you read carefully enough you'll see you need (interactive "r\nP") Stefan ------------=_1237495504-12497-0--