Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: tag-order problem?
- X-seq: zsh-workers 14505
- From: Tanaka Akira <akr@xxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: tag-order problem?
- Date: 28 May 2001 18:23:06 +0900
- In-reply-to: <200105280826.KAA00483@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> (Sven Wischnowsky's message of "Mon, 28 May 2001 10:26:40 +0200 (MET DST)")
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <hvoofsg9iz5.fsf@xxxxxxxxxxxxxx> <200105280826.KAA00483@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
In article <200105280826.KAA00483@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> writes:
> I know this isn't nice, but I didn't see a good solution and still don't
> see one. This is `caused' by the default value for tag-order which
> makes arguments and value be preferred over options (as mentioned in the
> docs for the tag-order style).
Hm. zsh-4.0.1-pre-3 works as I expected.
Z(2):akr@flux% zsh-4.0.1-pre-3 -f
flux% bindkey -e; autoload -U compinit; compinit -D
flux% zstyle '*' group-name ''
flux% zstyle '*:messages' format '%d'
flux% zstyle '*:descriptions' format '%d'
flux% zstyle ':completion:*' 'tag-order' '*:-non-cvs' '*'
flux% zstyle ':completion:*-non-cvs' 'ignored-patterns' '(*/|)CVS'
flux% compdef _tst tst
flux% _tst () { _arguments -s '-a-:x:' '-b' }
flux% tst -a<TAB>
x
zsh-4.0.1-pre-4 works as zsh-4.0.1-pre-5. So I suspect the problem is
introduced by some patch between pre-3 and pre-4. Maybe `-W' related
thing?
--
Tanaka Akira
Messages sorted by:
Reverse Date,
Date,
Thread,
Author