zsh-workers
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: Jesse Weinstein <jessw@netwood.net>
Cc: zsh-workers <zsh-workers@zsh.org>
Subject: Re: [PATCH] espeak completion
Date: Mon, 4 Jan 2010 18:32:02 +0100	[thread overview]
Message-ID: <237967ef1001040932ud911693y9ce9f5945d150b64@mail.gmail.com> (raw)
In-Reply-To: <1262626019.24526.14.camel@zareason>

2010/1/4 Jesse Weinstein <jessw@netwood.net>:
> 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


  reply	other threads:[~2010-01-04 17:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-04  6:47 Jesse Weinstein
2010-01-04 11:14 ` Mikael Magnusson
2010-01-04 17:26   ` Jesse Weinstein
2010-01-04 17:32     ` Mikael Magnusson [this message]
2010-01-04 20:28     ` Clint Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=237967ef1001040932ud911693y9ce9f5945d150b64@mail.gmail.com \
    --to=mikachu@gmail.com \
    --cc=jessw@netwood.net \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).