From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8968 invoked by alias); 11 Dec 2014 16:40:27 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19522 Received: (qmail 19241 invoked from network); 11 Dec 2014 16:40:24 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Authority-Analysis: v=2.1 cv=AduIQRnG c=1 sm=1 tr=0 a=5ANMMMHX3EYrY4c2/dmG1Q==:117 a=5ANMMMHX3EYrY4c2/dmG1Q==:17 a=G8GL833Es-AA:10 a=N659UExz7-8A:10 a=AIOOhdtB2ldJqTQ2pVcA:9 a=B4VeBrEOZf3MLY1O:21 a=mQaQZRjTLu9SlV0x:21 a=pILNOxqGKmIA:10 Message-id: <5489C8F4.8030703@eastlink.ca> Date: Thu, 11 Dec 2014 08:40:20 -0800 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.2.0 MIME-version: 1.0 To: zsh-users@zsh.org Subject: Re: completion References: <5488D414.6010300@eastlink.ca> <30453.1418258082@thecus.kiddle.eu> <5488F0AC.2040901@eastlink.ca> <141210214454.ZM12261@torch.brasslantern.com> In-reply-to: <141210214454.ZM12261@torch.brasslantern.com> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit On 12/10/2014 09:44 PM, Bart Schaefer wrote: > On Dec 10, 5:17pm, Ray Andrews wrote: > } Subject: Re: completion > } > } On 12/10/2014 04:34 PM, Oliver Kiddle wrote: > } > The five colons are included because they prevent the completer style > } > from matching in other contexts where you might want a different > } > configuration. > } > } They 'prevent' ... What would not be prevented if there were only four > } colons? > > OK, now you're just being hyperbolic. Did you not read any of the doc > that Larry and Oliver mentioned? Several times. If there's an explanation of the five colons I've missed it. And I'm not being theatrical. If five colons has meaning, then one might expect some other number of colons to have meaning as well. I tried to understand that as empty fields as well, but the number of colons in various examples changes so it can't be a dumb array kind of thing. > > In most cases, people write ':completion:*' so as not to care about the > number of colons. The Book is just being extra pedantic. Ah ... this could be the key. I've not tried to cross reference the star against the extra colons. I'll reread it with that in mind.