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

_history-complete-older buggy



If i type a * and press _history-complete-older, i get this output

_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: closing brace expected
_all_labels:39: closing brace expected
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: closing brace expected
_all_labels:39: closing brace expected
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: closing brace expected
_all_labels:39: closing brace expected
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched '
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched "
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched `
_all_labels:39: unmatched `
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '
_all_labels:39: unmatched '

and after waiting maybe 15-20 seconds, it does give some set of
completions that do and do not start with a *. It might simply be all
words in my history. Words that do not contain a glob character seem
to work fine. Pressing the widget with an empty command line is also
very slow and non-ctrl-c-able.

Line 39 in _all_labels is
    "${(@)argv[4,__pre]}" "${(P@)2}" "${(@)argv[__suf,-1]}" && __ret=0
That file is wonderful to read btw, my only complaint is that it is
perhaps a bit sparsely commented.

With set -x, zsh tells me
+_all_labels:39> compadd -M 'm:{a-zA-Z}={A-Za-z}' -V history-words -X
'%B---- history word%b' -Q -a 'historywords[beg,beg+slice]'
just before the big unmatched output (and the same when it works,
although sometimes the -M argument has 'r:|[._-]=* r:|=*' +'l:|=*
r:|=*' in it too).

I didn't try _history-complete-newer or a minimal .zshrc yet.

-- 
Mikael Magnusson



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