From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5830 invoked by alias); 7 Jan 2015 20:16:04 -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: 19703 Received: (qmail 23508 invoked from network); 7 Jan 2015 20:15:52 -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=vmxZYLRU2kGy37JOa0kA:9 a=QEXdDO2ut3YA:10 Message-id: <54AD93F6.5050708@eastlink.ca> Date: Wed, 07 Jan 2015 12:15:50 -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> <54AD8803.4020704@eastlink.ca> In-reply-to: Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 7bit On 01/07/2015 11:51 AM, Bart Schaefer wrote: > The hardest part of the zstyle mechanism is grasping the "reverse pattern > match" lookup mechanism. Your hypothetical assassination example is > inaccurate because you're applying the patterns in the wrong "direction". All I can say is that the 'reverse pattern matching lookup mechanism' is less than transparent, in use, or in documentation. Even in Peter/Oliver's book, one gets the feeling that even those two masters have a sort of 'throw up one's hands' view of it--that one just hopes for the best with completion. This is the deepest well of obscurity in zsh.