From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3364 invoked from network); 10 Mar 2000 09:58:54 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 10 Mar 2000 09:58:54 -0000 Received: (qmail 22340 invoked by alias); 10 Mar 2000 09:58:48 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10045 Received: (qmail 22329 invoked from network); 10 Mar 2000 09:58:48 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer goliath.siemens.de) From: "Andrej Borsenkow" To: "Sven Wischnowsky" , Subject: RE: Matching against file suffix Date: Fri, 10 Mar 2000 12:57:46 +0300 Message-ID: <001601bf8a77$1643b2e0$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 In-Reply-To: <200003091507.QAA30731@beta.informatik.hu-berlin.de> > > > > That reminds me. Matcher-list is way too general - it applies to any completion in any > > context. And matcher is tried unconditionally, isn't it? > > I'm not sure what you mean by `unconditionally' -- I always consider > the context for which it is set to be a `condition'. > I mean, that if matcher style is set for a tag, it is always used. I have no way to emulate matcher-list with semantic "try each in turn until you get matches". One more (well, somewhat different) question. I tried to play with tag-order. Unfortunately, it has one nasty effect - you cannot reject current tag. With zstyle ':completion:*:complete:cd:*' tag-order local-directories path-direcories and ./foo1 foo2 somewhere in $cdpath cd fTAB will never complete foo2. I think, it was discussed at least once, but may be in different context. The same is true for example in docs (gunzip). If no *.gz exists but you have a subdirectory, you will never get a chance to complete other file. Or did I miss something? -andrej