* Glitch in _zle completion function
@ 2009-02-25 4:39 Bart Schaefer
0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2009-02-25 4:39 UTC (permalink / raw)
To: zsh-workers
schaefer<501> zle blather <TAB>
_zle:shift:69: shift count must be <= $#
_zle:shift:70: shift count must be <= $#
_zle:shift:69: shift count must be <= $#
_zle:shift:70: shift count must be <= $#
_zle:shift:69: shift count must be <= $#
_zle:shift:70: shift count must be <= $#
_zle:shift:69: shift count must be <= $#
_zle:shift:70: shift count must be <= $#
schaefer<501> zle blather
Completing widget arguments
(the shell printed a newline after all those errors, redrew the prompt,
and then displayed "Completing widget arguments" per my format style,
all from a single tab press).
What's happening is that we call _arguments to set $state, then go into
the "while (( $#state )): do" loop, inside which _arguments is called a
second time, which clears $state and $context so that the pair of shifts
at lines 69-70 subsequently fail.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-02-25 4:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-25 4:39 Glitch in _zle completion function Bart Schaefer
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).