From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23182 invoked from network); 15 Jun 2001 17:01:24 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 15 Jun 2001 17:01:24 -0000 Received: (qmail 5642 invoked by alias); 15 Jun 2001 17:00:53 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14936 Received: (qmail 5589 invoked from network); 15 Jun 2001 17:00:47 -0000 X-Authentication-Warning: candle.brasslantern.com: schaefer set sender to lantern@shell10.ba.best.com using -f From: "Bart Schaefer" Message-Id: <1010615164817.ZM3854@candle.brasslantern.com> Date: Fri, 15 Jun 2001 16:48:17 +0000 In-Reply-To: <004701c0f59c$01739830$21c9ca95@mow.siemens.ru> Comments: In reply to "Andrej Borsenkow" "strange CVS completion" (Jun 15, 5:06pm) References: <004701c0f59c$01739830$21c9ca95@mow.siemens.ru> X-Mailer: Z-Mail (5.0.0 30July97) To: "Andrej Borsenkow" , "ZSH Workers Mailing List" Subject: Re: strange CVS completion MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jun 15, 5:06pm, Andrej Borsenkow wrote: } Subject: strange CVS completion } } bor@itsrm2% cvs diff s/m/zf.cTAB } bor@itsrm2% cvs diff Src/Modules/zf.c } } Why it does not complete the last part? I sort of explained that back in 14218, with the patch that made it work even that far: > The following seems to give the desired behavior for the most part. It > does partial-path completion as far as possible, then stops leaving the > trailing file name uncompleted. Press TAB again, and it completes the > final part by examining the CVS/Entries file as usual. The problem is that to complete the file name, it needs to look at the CVS/Entries file, but until the directory has been completed it can't possibly know _which_ CVS/Entries file to examine. Even if there's only one possible directory, there's no way to extract that information from _path_files in order to use it to find the Entries file. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net