From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9526 invoked by alias); 11 Dec 2014 20:04:29 -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: 19525 Received: (qmail 7253 invoked from network); 11 Dec 2014 20:04:27 -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=0Se92VknD9wmFMJoObYA:9 a=pILNOxqGKmIA:10 Message-id: <5489F1BC.5000900@eastlink.ca> Date: Thu, 11 Dec 2014 11:34: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> <5489C8F4.8030703@eastlink.ca> <141211092824.ZM13349@torch.brasslantern.com> In-reply-to: <141211092824.ZM13349@torch.brasslantern.com> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit On 12/11/2014 09:28 AM, Bart Schaefer wrote: > They are in fact empty fields, but (again quoting section 20.3.1): Yabut the number of them changes otherwise that's exactly what I'd have thought :( > When looking up styles the completion system uses full context names, > including the tag. Looking up the value of a style therefore consists > of two things: the context, which may be matched as a pattern, and the > name of the style itself, which must be given exactly. > > Styles are a little inside-out in that the setting contains the pattern > and the later lookup contains the fixed string to match. Anyway, knowing that the star replaces the colons cracks it open. I think it could be explained better, but I have a prayer of understanding it now thanks. Actually the best advice is in the book itself: "Fortunately, you don't need to understand the details of this syntax to do most things." Amen. Whoever designed this was certainly a genius but he had little mercy for the regular fella. I look back at the days when I thought German grammar was unpleasant, and laugh.