From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21723 invoked by alias); 7 Jan 2015 19:24:56 -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: 19699 Received: (qmail 10642 invoked from network); 7 Jan 2015 19:24:54 -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=T/C1EZ6Q c=1 sm=1 tr=0 a=E6fFaPzUG/xrW7L/d2wAig==:117 a=E6fFaPzUG/xrW7L/d2wAig==:17 a=Hpgzp-inWqAA:10 a=IkcTkHD0fZMA:10 a=YR4_K0clAAAA:8 a=r73m9ZpXyGv8uUV5fegA:9 a=QEXdDO2ut3YA:10 Message-id: <54AD8803.4020704@eastlink.ca> Date: Wed, 07 Jan 2015 11:24:51 -0800 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.3.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> <5489C8F4.8030703@eastlink.ca> <141211092824.ZM13349@torch.brasslantern.com> <5489F1BC.5000900@eastlink.ca> <20150107150109.GA14088@ypig.lip.ens-lyon.fr> In-reply-to: Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 7bit On 01/07/2015 10:48 AM, Bart Schaefer wrote: > On Jan 7, 2015 7:15 AM, "Vincent Lefevre" wrote: >> If an asterisk can match anything, there may be an ambiguity on >> which field some given word will match. > This is actually intentional, so that a single style can be applied to > multiple contexts. The expected use is that the wildcard will usually be > at the tail of the context string, so it's a shorthand to avoid having to > write out all the trailng colons. > Yabut we mostly see them inside. One might at least be robust about permitting the asterisk at the end (tho even then I don't think it's best), but that's not what happens. And used as a sort of 'wildcard', that would be fine, *but* it shouldn't change the number of separators: kill ( :Ray:*:*:Montreal:*:*: ) ... kill anyone who's first name is Ray, who roots for the Habs. And for those who think that brevity should trump clarity: kill ( :Ray:*:*:Montreal:** )