From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#2723: Emacs 23: `interactive': prefix argument "P" and region "r" are mutually exclusive. Date: Fri, 20 Mar 2009 09:19:51 -0400 Message-ID: References: <20090319191524.GA2306@muc.de> <20090319214904.GA1310@muc.de> Reply-To: Stefan Monnier , 2723@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1237556661 4147 80.91.229.12 (20 Mar 2009 13:44:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Mar 2009 13:44:21 +0000 (UTC) Cc: 2723@emacsbugs.donarmstrong.com To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 20 14:45:38 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 1Lkf2P-0003DA-Nh for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Mar 2009 14:45:29 +0100 Original-Received: from localhost ([127.0.0.1]:40295 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lkf12-0006t2-Up for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Mar 2009 09:44:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lkf0r-0006pW-87 for bug-gnu-emacs@gnu.org; Fri, 20 Mar 2009 09:43:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lkf0k-0006or-W8 for bug-gnu-emacs@gnu.org; Fri, 20 Mar 2009 09:43:51 -0400 Original-Received: from [199.232.76.173] (port=51113 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lkf0k-0006oh-Rc for bug-gnu-emacs@gnu.org; Fri, 20 Mar 2009 09:43:46 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:47378) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lkf0k-0001zb-CJ for bug-gnu-emacs@gnu.org; Fri, 20 Mar 2009 09:43: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 n2KDhhmZ015753; Fri, 20 Mar 2009 06:43:44 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n2KDP5ht010919; Fri, 20 Mar 2009 06:25:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 20 Mar 2009 13:25:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2723 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2723-submit@emacsbugs.donarmstrong.com id=B2723.12375551909330 (code B ref 2723); Fri, 20 Mar 2009 13:25:05 +0000 Original-Received: (at 2723) by emacsbugs.donarmstrong.com; 20 Mar 2009 13:19:50 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2KDJlTo009324 for <2723@emacsbugs.donarmstrong.com>; Fri, 20 Mar 2009 06:19:48 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgMFAKM0w0lFxIZP/2dsb2JhbACBT9Jmg30GhGY X-IronPort-AV: E=Sophos;i="4.38,395,1233550800"; d="scan'208";a="35439372" Original-Received: from 69-196-134-79.dsl.teksavvy.com (HELO pastel.home) ([69.196.134.79]) by ironport2-out.teksavvy.com with ESMTP; 20 Mar 2009 09:19:40 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id BB9B27F74; Fri, 20 Mar 2009 09:19:51 -0400 (EDT) In-Reply-To: <20090319214904.GA1310@muc.de> (Alan Mackenzie's message of "Thu, 19 Mar 2009 21:49:04 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Fri, 20 Mar 2009 09:43:51 -0400 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:26503 Archived-At: >> > 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") > No. I see two bugs: 1 - the doc is unclear about the need for a newline. 2 - arguments without prompts should signal a warning when provided with a prompt (this would have helped you find your problem). Stefan