From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: more than one prefix argument Date: Tue, 26 Jul 2011 13:36:46 -0700 Message-ID: <850340AFD6324E979275501249A9240C@us.oracle.com> References: <4E2F1C8C.9010802@easy-emacs.de> <4E2F1F1C.2040100@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1311712625 26776 80.91.229.12 (26 Jul 2011 20:37:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Jul 2011 20:37:05 +0000 (UTC) Cc: 'Emacs developers' To: "'Daniel Colascione'" , "=?iso-8859-1?Q?'Andreas_R=F6hler'?=" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 26 22:37:01 2011 Return-path: Envelope-to: ged-emacs-devel@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 1QloNB-0003H3-6i for ged-emacs-devel@m.gmane.org; Tue, 26 Jul 2011 22:37:01 +0200 Original-Received: from localhost ([::1]:40971 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QloNA-0003Sf-Me for ged-emacs-devel@m.gmane.org; Tue, 26 Jul 2011 16:37:00 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35258) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QloN8-0003Sa-OP for emacs-devel@gnu.org; Tue, 26 Jul 2011 16:36:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QloN7-0007Ti-Le for emacs-devel@gnu.org; Tue, 26 Jul 2011 16:36:58 -0400 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:54135) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QloN7-0007Tc-A1 for emacs-devel@gnu.org; Tue, 26 Jul 2011 16:36:57 -0400 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p6QKaqH0012362 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 26 Jul 2011 20:36:54 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p6QKaqf3024849 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 26 Jul 2011 20:36:52 GMT Original-Received: from abhmt112.oracle.com (abhmt112.oracle.com [141.146.116.64]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p6QKakhU022436; Tue, 26 Jul 2011 15:36:47 -0500 Original-Received: from dradamslap1 (/10.159.42.138) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 26 Jul 2011 13:36:46 -0700 X-Mailer: Microsoft Office Outlook 11 x-mimeole: Produced By Microsoft MimeOLE V6.00.2900.6109 In-Reply-To: <4E2F1F1C.2040100@gmail.com> Thread-Index: AcxL0A/2wnlnm8E0S8WG4GnuP38SfwAAmvgw X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090206.4E2F2566.014D:SCFMA922111,ss=1,re=-4.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:142326 Archived-At: > > what about allowing more than one prefix argument > > by making interactive codes "p" and "P" sending > > truly separated. > > We already have more than one kind of prefix argument: see > universal-coding-system-argument for an example. You can > already define as many kinds of "prefix argument" as you'd > like: just define a global flag and a command to set that > flag, and have post-command-hook clear the flag unless (eq > this-command 'my-prefix-setting-function). I don't think that's what Andreas is asking about. He's not asking about being able to define alternative "prefix arg"-like things (to be used separately). I think he wants the same user input to somehow distinguish two different things (?). At least that's my understanding. IMO, he is simply confused, and defining alternative prefix-arg-like things won't help him here. Put differently, having the user use different prefix-arg-like things is similar to having the user use a positive vs negative prefix arg. And that's apparently not what he wants. He seems to want the user to use the _same_ behavior (no key difference) to somehow get two different command behaviors. Again, that's my guess about what he's asking.