From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28268 invoked from network); 28 May 2001 09:23:26 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 28 May 2001 09:23:26 -0000 Received: (qmail 8696 invoked by alias); 28 May 2001 09:23:16 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14505 Received: (qmail 8660 invoked from network); 28 May 2001 09:23:14 -0000 To: zsh-workers@sunsite.dk Subject: Re: tag-order problem? References: <200105280826.KAA00483@beta.informatik.hu-berlin.de> MIME-Version: 1.0 (generated by SEMI 1.14.0 - "Iburihashi") Content-Type: text/plain; charset=US-ASCII From: Tanaka Akira Date: 28 May 2001 18:23:06 +0900 In-Reply-To: <200105280826.KAA00483@beta.informatik.hu-berlin.de> (Sven Wischnowsky's message of "Mon, 28 May 2001 10:26:40 +0200 (MET DST)") Message-ID: User-Agent: T-gnus/6.14.5 (based on Gnus v5.8.7) (revision 08) SEMI/1.14.0 (Iburihashi) Deisui/1.14.0 (Kikuhime) APEL/10.2 Emacs/21.0.103 (i386-unknown-freebsd4.2) MULE/5.0 (SAKAKI) In article <200105280826.KAA00483@beta.informatik.hu-berlin.de>, Sven Wischnowsky 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 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