From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26657 invoked by alias); 7 Jan 2015 18:10:47 -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: 34162 Received: (qmail 19704 invoked from network); 7 Jan 2015 18:10:35 -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,HTML_MESSAGE, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 MIME-version: 1.0 Content-type: multipart/alternative; boundary="Boundary_(ID_A/VwahhThKruu0ryy7zkbg)" X-Authority-Analysis: v=2.1 cv=X+5rdgje c=1 sm=1 tr=0 a=E6fFaPzUG/xrW7L/d2wAig==:117 a=E6fFaPzUG/xrW7L/d2wAig==:17 a=Hpgzp-inWqAA:10 a=r77TgQKjGQsHNAKrUKIA:9 a=9iDbn-4jx3cA:10 a=cKsnjEOsciEA:10 a=gZbpxnkM3yUA:10 a=gcyl1F_PQC7ndoctfOoA:9 a=pILNOxqGKmIA:10 a=hdPlymrcg7iCtKSPsnAA:9 a=CCoceKJ3y7uuxyqD:21 a=_W_S_7VecoQA:10 Message-id: <54AD7696.20001@eastlink.ca> Date: Wed, 07 Jan 2015 10:10:30 -0800 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.3.0 To: Vincent Lefevre , Zsh hackers list Subject: Re: completion References: <5488D414.6010300@eastlink.ca> <30453.1418258082@thecus.kiddle.eu> <5488F0AC.2040901@eastlink.ca> <141210214454.ZM12261@torch.brasslantern.com> <5489C8F4.8030703@eastlink.ca> <141211092824.ZM13349@torch.brasslantern.com> <5489F1BC.5000900@eastlink.ca> <20150107150109.GA14088@ypig.lip.ens-lyon.fr> In-reply-to: <20150107150109.GA14088@ypig.lip.ens-lyon.fr> --Boundary_(ID_A/VwahhThKruu0ryy7zkbg) Content-type: text/plain; CHARSET=US-ASCII; format=flowed Content-transfer-encoding: 7BIT On 01/07/2015 07:01 AM, Vincent Lefevre wrote: > On 2014-12-11 11:34:20 -0800, Ray Andrews wrote: >> Anyway, knowing that the star replaces the colons cracks it open. > This is a bit old, but... When can an asterisk replace a colon? > For instance, in: > ... > which have one or several missing colons. This is from the > zshcompsys(1) man page. > > If an asterisk can match anything, there may be an ambiguity on > which field some given word will match. > I'm glad I'm not the only guy who is puzzled by that. I dunno completion sorta works, and some people seem to understand it, so I can't say much, but IMHO having a optional field separator is madness. first-name : last-name : job : fav. hockey team : city : vacation spot Ray :*: Carpenter : Montreal Ray : Andrews :*: Vancouver :*: Maui :*: Andrews :*: Maui ... a bit hard to parse, but all 'true' if separators can be omitted. Being just a mortal, this seems more tractable to me: :Ray::Carpenter:Montreal::Maui: I'm Ray, and Montreal is my hockey team ::Andrews:::Vancouver:Maui: I live in Vancouver ::Andrews::::: My last name is Andrews :::Carpenter:::Maui: I'm a carpenter who vacations in Maui :Montreal:: Error! Not enough colons, there must be seven. --Boundary_(ID_A/VwahhThKruu0ryy7zkbg)--