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

zle_tricky.c:659: BUG: 0 <= wb (4) <= zlemetacs (2) <= we (5) is not true!



To reproduce:

$ zsh -f
% echo $ZSH_PATCHLEVEL
0920bc6881af979ec538c8ab635c07f52601de4b
% : 2>1[move the cursor such that LBUFFER=": "][press <TAB>]
% :  zle_tricky.c:659: BUG: 0 <= wb (4) <= zlemetacs (2) <= we (5) is not true!
  : 2>1

It's this line from docomplete():

    DPUTS3(wb < 0 || zlemetacs < wb || zlemetacs > we,
          "BUG: 0 <= wb (%d) <= zlemetacs (%d) <= we (%d) is not true!",
           wb, zlemetacs, we);                                                  

That line was last mentioned in users/20042 (in the discussions about
whether to commit 34781).

It reproduces in 5.0.7 too (didn't check older).



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