From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Cross Newsgroups: gmane.emacs.devel Subject: Re: more than one prefix argument Date: Wed, 27 Jul 2011 22:51:59 +1000 Message-ID: References: <4E2F1C8C.9010802@easy-emacs.de> <4E2F1F1C.2040100@gmail.com> <850340AFD6324E979275501249A9240C@us.oracle.com> <4E2FAF6D.2050905@online.de> <4E2FDC71.5070305@online.de> <4E2FE6AC.8070706@online.de> <4E2FFAA1.4090205@online.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 1311771130 19036 80.91.229.12 (27 Jul 2011 12:52:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 27 Jul 2011 12:52:10 +0000 (UTC) Cc: Daniel Colascione , Andreas Schwab , Drew Adams , emacs-devel@gnu.org To: =?ISO-8859-1?Q?Andreas_R=F6hler?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 27 14:52:05 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 1Qm3am-00079a-UC for ged-emacs-devel@m.gmane.org; Wed, 27 Jul 2011 14:52:05 +0200 Original-Received: from localhost ([::1]:58178 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qm3am-0006Cw-I5 for ged-emacs-devel@m.gmane.org; Wed, 27 Jul 2011 08:52:04 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:51875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qm3ak-0006Cr-1G for emacs-devel@gnu.org; Wed, 27 Jul 2011 08:52:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qm3ai-0005CH-Qe for emacs-devel@gnu.org; Wed, 27 Jul 2011 08:52:02 -0400 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:35177) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qm3ai-0005CC-Ko for emacs-devel@gnu.org; Wed, 27 Jul 2011 08:52:00 -0400 Original-Received: by iyb14 with SMTP id 14so2192459iyb.0 for ; Wed, 27 Jul 2011 05:52:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=rRFVzBBQRb/wOjU5zYnnIWKwyS8Svkkc13X0iDfIrvQ=; b=PtqnSdimoJ/iWT1oOJw6OF/wkOl8cHXFKC9E5FsxnCR9ZfVR0gTt2RCczGIGjiX6Ei 55fyTJMbx/u4GP0g8HQLxkTwRgIyMyJXCTO8FO5TeCYl7BRxo39aGWagkTZPd4k/c1N3 +rPv8uV9JZ1ydHI6lgBC6XlIEoCoIxNLKA83w= Original-Received: by 10.231.81.133 with SMTP id x5mr1771708ibk.161.1311771119900; Wed, 27 Jul 2011 05:51:59 -0700 (PDT) Original-Received: by 10.231.37.76 with HTTP; Wed, 27 Jul 2011 05:51:59 -0700 (PDT) In-Reply-To: <4E2FFAA1.4090205@online.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 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:142386 Archived-At: On Wed, Jul 27, 2011 at 9:46 PM, Andreas R=F6hler wrote: > Am 27.07.2011 13:21, schrieb Andreas Schwab: >> >> Andreas R=F6hler =A0writes: >> >>> We need a number or a boolean. >> >> You need to distinguish C-u and 4 as well. >> > > C-u would send `t' > which means now your possible values are both numeric and non-numeric, requiring extra tests and increasing code complexity. > If the command needs a 4 too possibly, write =A0"p\nP" than enabling both > input > How would you distinguish between that and multiple c-u's as in C-u C-u C-i C-u M-x command which ones are p and which ones are P? >>> "p" should send a number, 1 as default. >>> "P" a boolean, nil as default. >> >> "P" is the raw prefix. =A0"p" is what prefix-numeric-value returns from >> it. > > double-wouble > > lets have sent at once whats needed. > > The shiraz tonight was very nice - I don't know if its you or me, but I can't follow! Sorry. Tim