From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16396 invoked by alias); 10 May 2016 11:47:24 -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: 38461 Received: (qmail 17716 invoked from network); 10 May 2016 11:47:23 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:reply-to:subject:references:to:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=VlWiURmfnOzb7tMdEtN6AJqwYY+zNcwy28ZLl/ClRD0=; b=MQ4O++xpYfeLSfjzKiyey0VdlNg3hLt4X0OZ6wyWRe16OLjx60fcj55H+0LDREVa3q zOEXU2F8GWZEROzRMUnCjLXr6pFV4g38E7IMtlUP3xXU+ltTo19hOhYg0zRAUtCpNeDj 6NvYUAOhGFF4U7Da2l+NDbn2eBNoEV3Vp9d+0FZdFXrEcad/Czc9FulLZYKFh5bqaZsH e+3xKs+lTH9BRKsfmPJH+jNsy9s+in+P+tXy2BqdJc/99yJ2hQjmmK7c8+Gk6gZLC/a4 ocQjhOzrCRAf4/AoqreCC8sZqe9EMAMFazZWXR50e/T42w7TxjB3J2KM0i6V2XHMTeGy ynrA== X-Gm-Message-State: AOPr4FVgVhIxyNe2dPbQy9/uPkO//h9dlPIGKzVeC2mdY0lP0mo6eB7YLjYB1NlxSaNuDhxb X-Received: by 10.28.183.134 with SMTP id h128mr17305686wmf.63.1462880841026; Tue, 10 May 2016 04:47:21 -0700 (PDT) Reply-To: Marko Myllynen Subject: Re: zsh _multi_parts patch and question References: <57318C76.4030509@redhat.com> <3CE5BE72-0EC4-487D-9436-FA9776BCD8D2@kba.biglobe.ne.jp> To: zsh-workers@zsh.org From: Marko Myllynen Organization: Red Hat Message-ID: <5731CA46.8090408@redhat.com> Date: Tue, 10 May 2016 14:47:18 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: <3CE5BE72-0EC4-487D-9436-FA9776BCD8D2@kba.biglobe.ne.jp> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi, On 2016-05-10 13:24, Jun T. wrote: > On 2016/05/10, at 16:23, Marko Myllynen wrote: > >> # Fail >> _wanted test expl test _multi_parts -i . \ >> ( a.b.a a.b.b b.a.a b.a.b c.a.a c.a.b ) && return 0 > > You need to quote the literal array, for example, > > _wanted test expl test _multi_parts -i . \ > '( a.b.a a.b.b b.a.a b.a.b c.a.a c.a.b )' && return 0 Ah, ok, now it's obvious, I think I was confused by to quoting in the man page, this is what I see when in zshcompsys(1): a literal array in the form `(foo bar)', a parenthesised list of words Thanks, -- Marko Myllynen