From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: _path_files problem: completion for "cvs commit" has stopped working
Date: Sun, 14 Oct 2001 16:51:07 +0000 [thread overview]
Message-ID: <1011014165107.ZM6322@candle.brasslantern.com> (raw)
I apologize for not noticing this sooner, as it appears to date back to
July -- Sven's change to _path_files in 15389.
In 4.0.1 up through the head of the -patches branch, I can do this:
schaefer[502] cvs commit Completion/Unix/Command/_m<TAB>
schaefer[502] cvs commit Completion/Unix/Command/_mount
That is, it completes to exactly the file that has changed, ignoring all
the other _m* files in Completion/Unix/Command/.
In 4.1.0-dev-2, I get this:
schaefer<504> cvs commit Completion/Unix/Command/_m<TAB>
Completing file
_mount _modutils* _mail _mh
_man _mutt _mysql_utils _make
Needless to say, I don't like this at all. The _complete_debug traces are
identical up to this point:
@@ -903,11 +905,11 @@
: _all_labels:39:while else; _path_files -J directories -X Completing directory -g *~(*/|)CVS(/)
: _path_files:6; local linepath realpath donepath prepath testpath exppath skips skipped
: _path_files:7; local tmp1 tmp2 tmp3 tmp4 i orig eorig pre suf tpre tsuf opre osuf cpre
-: _path_files:8; local pats haspats ignore pfxsfx sopt gopt opt sdirs ignpar cfopt listsfx
+: _path_files:8; local pats haspats ignore pfx pfxsfx sopt gopt opt sdirs ignpar cfopt listsfx
: _path_files:9; local nm=0 menu matcher mopts sort match mid accex fake
: _path_files:11; typeset -U prepaths exppaths
: _path_files:13; exppaths=( )
-: _path_files:17; zparseopts -a mopts P:=pfxsfx S:=pfxsfx q=pfxsfx r:=pfxsfx R:=pfxsfx W:=prepaths F:=ignore M+:=matcher J+: V+: X+: 1: 2: n: f=tmp1 /=tmp1 g+:-=tmp1
+: _path_files:17; zparseopts -a mopts P:=pfx S:=pfxsfx q=pfxsfx r:=pfxsfx R:=pfxsfx W:=prepaths F:=ignore M+:=matcher J+: V+: X+: 1 2 n f=tmp1 /=tmp1 g+:-=tmp1
: _path_files:22; sopt=-g
: _path_files:23; (( 1 ))
: _path_files:23:cmdand; haspats=yes
--
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
next reply other threads:[~2001-10-14 16:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-14 16:51 Bart Schaefer [this message]
2001-10-17 11:45 ` Sven Wischnowsky
2001-10-17 15:11 ` Bart Schaefer
2001-10-19 9:15 ` Sven Wischnowsky
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=1011014165107.ZM6322@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--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).