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

Zsh 3.1.4 "BUG: useheap in doexpandhist()" on completion from zle widget



The setup:
__________

function frob { echo x $BUFFER x $LBUFFER x $RBUFFER x }
function prefrob { zle expand-or-complete; zle redisplay }

compctl -K frob foo
zle -N prefrob prefrob
bindkey \^I prefrob
__________

Now:

zsh% foo <TAB>

and the BUG warning appears.  The frob function is just to demonstrate that
completion is indeed being invoked from prefrob; it actually doesn't matter
what the completion is.  Any call to expand-or-complete (or related widgets)
from a user-defined widget will trigger the problem.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



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