Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: need help debugging cvs completion problem
- X-seq: zsh-workers 27066
- From: Greg Klanderman <gak@xxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: need help debugging cvs completion problem
- Date: Sun, 28 Jun 2009 13:49:40 -0400
- In-reply-to: <20090628113802.GA3707@xxxxxxxxxxxxxxx> (Geoff Wing's message of "Sun, 28 Jun 2009 21:38:02 +1000")
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <19013.18790.978774.551126@xxxxxxxxxxxxxxxxxx> <20090627212418.36848701@pws-pc> <m3ljndmbe8.fsf@xxxxxxxxxxxxxx> <m3iqihmabi.fsf@xxxxxxxxxxxxxx> <20090628113802.GA3707@xxxxxxxxxxxxxxx>
- Reply-to: gak@xxxxxxxxxxxxxx
>>>>> Geoff Wing <gcw@xxxxxxx> writes:
> It's incorrectly listed. It's really 18796 (on zsh-workers).
Thank you Geoff!
Peter,
I now see why _path_files was being used prior to your change to
_cvs_existing_entries back in 2003 - your form (with compadd, since
otherwise it doesn't do anything) does not handle completing files in
a subdirectory of the current directory, i.e.
% cvs annotate foo/bar<tab>
The directory prefix is getting removed in _cvs_existing_entries, is
it safe to just paste '$linedir' back on the front of the resulting
filenames?
Once I figure that out, I'll resume my plan to make the analogous fix
to _cvs_modified_entries. Would anyone be opposed to my starting by
using Bart's equivalent series of substitutions (in his followup to
18796) rather than the mother-of-all substitutions currently found
there? I presume we're not striving to unmaintainable obfuscation, is
there some efficiency reason for the single substitution?
thanks,
Greg
Messages sorted by:
Reverse Date,
Date,
Thread,
Author