From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1412 invoked from network); 11 Oct 2001 09:21:39 -0000 Received: from unknown (HELO sunsite.dk) (130.225.247.90) by ns1.primenet.com.au with SMTP; 11 Oct 2001 09:21:39 -0000 Received: (qmail 4761 invoked by alias); 11 Oct 2001 09:21:32 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16010 Received: (qmail 4745 invoked from network); 11 Oct 2001 09:21:31 -0000 From: Sven Wischnowsky MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15301.25753.850448.709352@gargle.gargle.HOWL> Date: Thu, 11 Oct 2001 11:21:29 +0200 To: zsh-workers@sunsite.dk Subject: Re: `expand' style with prefix and matchers In-Reply-To: <10961.1002721146@csr.com> References: <15300.14000.293820.150108@gargle.gargle.HOWL> <10961.1002721146@csr.com> X-Mailer: VM 6.92 under 21.1 (patch 3) "Acadia" XEmacs Lucid Peter Stephenson wrote: > ... > > > > I was slightly irritated at first, too. But then... the match spec > > that makes h-b-12-p match isn't the first on in your matcher-list > > style, right? What happens is that _path_files collects the matching > > prefixes for the non-matching suffixes every time, in this case for > > the first match spec where h-b-12-p doesn't match. And then the expand > > style says to accept them. So we should only accept them when we are > > trying the last spec from the matcher-list style. At least that sounds > > sensible, doesn't it? > > Sounds perfectly reasonable to me, anyway. Works fine. I've now committed it -- I wanted to do that yesterday but my mail didn't come back, then I had to leave in a hurry and forgot. Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de