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

Another signal queueing discrepancy



During completion; appears whenever compstate[nmatches] is referenced.
E.g. in _alternative:

      +_alternative:74> [[ nm -ne 'compstate[nmatches]' ]]
74: ../../zsh-5.0/Src/exec.c:1169: BUG: q = 1 != queue_in = 3
      +_alternative:74> return 0

And in _complete_debug:

+_complete_debug:23> unsetopt xtrace
29: ../../zsh-5.0/Src/exec.c:1169: BUG: q = 1 != queue_in = 3

Line 29 is:
     if [[ $compstate[nmatches] -le 1 && $compstate[list] != *force* ]];

Also occurs at _path_files line 891, etc.

Which is very strange, because there is no signal queue manipulation in
any of the compstate handling, and it doesn't occur with other uses of
[[ ]] expressions in completion (or elsewhere).

-- 
Barton E. Schaefer



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