From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12814 invoked by alias); 4 Jan 2010 17:32:09 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 27557 Received: (qmail 24235 invoked from network); 4 Jan 2010 17:32:08 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED autolearn=ham version=3.2.5 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.219.220 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=SLoGRJv5ldHGOgIdUsLVf1oHVhZ83jQ++5Gpk5jPw7g=; b=W+MAmX3HKNlIUaUPxtqvRGRNW/3RBfRTFOZommtC22SzpihCltBWDHwZyod7cmVNUw 1k7EkbpyAnIx7fx96DnBipm2uMLSdMYrU6xclMRy8ruIc/83g/cXKgCBsZFHNIAANzGf cj6XnwYgW19vhhA4TabD4/XVqGvKwFcrC7tRg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=IzjCzEaOxGPIiasEM+cAwcqqJiuQFQ2LliCZa0cuzkncfmdGu8z0QUi/BcUT7M4zqe zE0VN74KGCTfUnmfrKqc6I1TtuJ8oCk2e/HIAFM6SsL3wX97zWgaXpUvu/q/R8+DVcnd sI3jLnfACQPaj+lr8955ksSrmxydxKjA1fp5g= MIME-Version: 1.0 In-Reply-To: <1262626019.24526.14.camel@zareason> References: <1262587636.24526.8.camel@zareason> <237967ef1001040314t7097c1afh99175949123dae25@mail.gmail.com> <1262626019.24526.14.camel@zareason> Date: Mon, 4 Jan 2010 18:32:02 +0100 Message-ID: <237967ef1001040932ud911693y9ce9f5945d150b64@mail.gmail.com> Subject: Re: [PATCH] espeak completion From: Mikael Magnusson To: Jesse Weinstein Cc: zsh-workers Content-Type: text/plain; charset=UTF-8 2010/1/4 Jesse Weinstein : > On Mon, 2010-01-04 at 12:14 +0100, Mikael Magnusson wrote: > >> typos, amplitude and capital > Oops. Thanks for catching those. >> Not sure if you want to list the numbers like that, just say 'integer >> 1-20' instead maybe? > I didn't think it would work -- and when I tested it just now, it > didn't. I *generated* the lists with {0..20}, but just using that gives > the error "(eval):1: command not found: 0..20". If there is a shorter > way to express it -- I'd be glad to use it. What I meant was literally just doing '-a[amplitude]:integer 1-20:' There are precedents for either way though, Completion/X/Command/_xv: '-preset:default preset (1-4):(1 2 3 4)' \ Completion/X/Command/_x_utils: '-mod:x grid distance (1-16): :y grid distance (1-16)' \ (the latter is for xsetroot) -- Mikael Magnusson