Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Silly questions about _arguments & Co (and probably bugs)



In article <199909131156.NAA21019@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
  Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> writes:

> Almost. There were two problems: with single-letter options
> PREFIX/SUFFIX weren't cleared before `_display' was called (so that
> (almost) no option matched) and the return value of `_display' wasn't
> used to find out that `_arguments' should create the list itself.

I found another problem.

Z:akr@is27e1u11% Src/zsh -f 2>z     
is27e1u11% bindkey -e; fpath=($PWD/Completion/*(/)); autoload -U compinit; compinit -D; compdef _tst tst
is27e1u11% compconf group_matches=yes message_format='%d' description_format='%d' describe_options=yes   
is27e1u11% patch -l<TAB>
option
-B   -D   -E   -F   -N   -R   -S   -T   -V   -Y   -Z   -b   -d   -z   

Completion candidates are not enough.

With `set -x', zsh reports:

...
+_arguments:680> uns=-ignore-whitespacel 
...

Hm. Exclusive long options should not used for `uns'.
-- 
Tanaka Akira



Messages sorted by: Reverse Date, Date, Thread, Author