From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11043 invoked from network); 5 Aug 2008 08:14:07 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 5 Aug 2008 08:14:07 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 14364 invoked from network); 5 Aug 2008 08:13:35 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 5 Aug 2008 08:13:35 -0000 Received: (qmail 28741 invoked by alias); 5 Aug 2008 08:13:17 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25391 Received: (qmail 28717 invoked from network); 5 Aug 2008 08:13:14 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 5 Aug 2008 08:13:14 -0000 Received: from cluster-d.mailcontrol.com (cluster-d.mailcontrol.com [217.69.20.190]) by bifrost.dotsrc.org (Postfix) with ESMTPS id 37A5E805A42D for ; Tue, 5 Aug 2008 10:13:09 +0200 (CEST) Received: from cameurexb01.EUROPE.ROOT.PRI ([193.128.72.68]) by rly09d.srv.mailcontrol.com (MailControl) with ESMTP id m758D9Ki022067 for ; Tue, 5 Aug 2008 09:13:09 +0100 Received: from news01.csr.com ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.3959); Tue, 5 Aug 2008 09:13:08 +0100 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.14.2/8.13.4) with ESMTP id m758D8wM009572 for ; Tue, 5 Aug 2008 09:13:08 +0100 Received: from csr.com (pws@localhost) by news01.csr.com (8.14.2/8.14.2/Submit) with ESMTP id m758D8UK009568 for ; Tue, 5 Aug 2008 09:13:08 +0100 Message-Id: <200808050813.m758D8UK009568@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: zsh-workers@sunsite.dk Subject: Re: completion: highlight matching part In-reply-to: <080804171611.ZM11739@torch.brasslantern.com> References: <20080801163301.GA3589@pepin.polanet.pl> <080802143558.ZM815@torch.brasslantern.com> <20080803111423.GA11247@pepin.polanet.pl> <080803103117.ZM26039@torch.brasslantern.com> <080803173321.ZM31527@torch.brasslantern.com> <20080804204422.13f922db@pws-pc> <080804165426.ZM862@torch.brasslantern.com> <080804171611.ZM11739@torch.brasslantern.com> Comments: In-reply-to Bart Schaefer message dated "Mon, 04 Aug 2008 17:16:11 -0700." Date: Tue, 05 Aug 2008 09:13:08 +0100 From: Peter Stephenson X-OriginalArrivalTime: 05 Aug 2008 08:13:08.0730 (UTC) FILETIME=[185C65A0:01C8F6D3] X-Scanned-By: MailControl A-08-50-03 (www.mailcontrol.com) on 10.68.0.119 X-Virus-Scanned: ClamAV 0.92.1/7941/Tue Aug 5 00:44:27 2008 on bifrost X-Virus-Status: Clean Bart Schaefer wrote: > On Aug 4, 4:54pm, Bart Schaefer wrote: > } Subject: Re: completion: highlight matching part > } > } On Aug 4, 8:44pm, Peter Stephenson wrote: > } } Subject: Re: completion: highlight matching part > } } > } } On Sun, 03 Aug 2008 17:33:21 -0700 > } } Bart Schaefer wrote: > } } > (1) Change complist.c:putfilecol() so that pattern tests come first, > } } > then mode tests, and finally extension tests. > } } > } } I should think this is the right thing to do, isn't it? > } > } I agree > > Here's the patch, mostly so you can proof my doc change. I can't see any problem. I think it's one of those things (like DEBUG_BEFORE_CMD) where nobody knew it wasn't the best way of doing it until they tried it. -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070