From: Greg Klanderman <gak@klanderman.net>
To: Zsh list <zsh-workers@sunsite.dk>
Subject: need help debugging cvs completion problem
Date: Fri, 26 Jun 2009 18:19:18 -0400 [thread overview]
Message-ID: <19013.18790.978774.551126@gargle.gargle.HOWL> (raw)
Hi,
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.
I assume this is some problem with _path_files, so am hoping someone
might be able to at least tell me what the '-a' argument is supposed
to be doing. At a higher level, if we already know the completions,
why are we using _path_files in the first place here?
thanks,
Greg
next reply other threads:[~2009-06-26 22:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-26 22:19 Greg Klanderman [this message]
2009-06-27 20:24 ` Peter Stephenson
2009-06-28 0:48 ` Greg Klanderman
2009-06-28 1:11 ` Greg Klanderman
2009-06-28 11:38 ` Geoff Wing
2009-06-28 17:49 ` Greg Klanderman
2009-06-28 18:52 ` Greg Klanderman
2009-06-28 19:54 ` Peter Stephenson
2009-06-28 20:16 ` Peter Stephenson
2009-07-07 14:15 ` Greg Klanderman
2009-07-07 15:11 ` Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19013.18790.978774.551126@gargle.gargle.HOWL \
--to=gak@klanderman.net \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).