From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4665 invoked from network); 27 Jun 2009 20:24:51 -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 new-brage.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.254.104) by ns1.primenet.com.au with SMTP; 27 Jun 2009 20:24:51 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 23763 invoked from network); 27 Jun 2009 20:24:42 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 27 Jun 2009 20:24:42 -0000 Received: (qmail 12038 invoked by alias); 27 Jun 2009 20:24:28 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 27062 Received: (qmail 12025 invoked from network); 27 Jun 2009 20:24:27 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 27 Jun 2009 20:24:27 -0000 Received: from mtaout02-winn.ispmail.ntl.com (mtaout02-winn.ispmail.ntl.com [81.103.221.48]) by bifrost.dotsrc.org (Postfix) with ESMTP id A3B4D8027106 for ; Sat, 27 Jun 2009 22:24:23 +0200 (CEST) Received: from aamtaout04-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090627202422.JDPR6611.mtaout02-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com> for ; Sat, 27 Jun 2009 21:24:22 +0100 Received: from pws-pc ([81.107.42.185]) by aamtaout04-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090627202422.DZR22934.aamtaout04-winn.ispmail.ntl.com@pws-pc> for ; Sat, 27 Jun 2009 21:24:22 +0100 Date: Sat, 27 Jun 2009 21:24:18 +0100 From: Peter Stephenson To: Zsh list Subject: Re: need help debugging cvs completion problem Message-ID: <20090627212418.36848701@pws-pc> In-Reply-To: <19013.18790.978774.551126@gargle.gargle.HOWL> References: <19013.18790.978774.551126@gargle.gargle.HOWL> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Cloudmark-Analysis: v=1.0 c=1 a=3l2oO9VmBWUA:10 a=0QhtZkFNAAAA:8 a=NLZqzBF-AAAA:8 a=kMOrBR9pL851I2Z-1QUA:9 a=O4j2nWirlr4aJxO4J7JLI_X8iCkA:4 a=KLYB3oV4TgcA:10 a=_dQi-Dcv4p4A:10 X-Virus-Scanned: ClamAV 0.94.2/9514/Sat Jun 27 13:44:31 2009 on bifrost X-Virus-Status: Clean On Fri, 26 Jun 2009 18:19:18 -0400 Greg Klanderman wrote: > The ztrftime patch I just sent fixes one problem with cvs completion, > in the _cvs_modified_entries function (used by 'cvs diff' completions), > but there appears to be another problem in _cvs_existing_entries (used > by 'cvs annotate' completions, for example). The variable 'pat' is > being populated with the correct set of completions, however, the > final line: > > (( ${#pat} )) && _wanted files expl file _path_files -a pat > > then results in all files (even those not under CVS control) being > considered for completion. It looks to me like that should probably be "compadd" rather than "_path_files". -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/