* braces and completion
@ 2005-03-21 15:21 Motoi Washida
0 siblings, 0 replies; only message in thread
From: Motoi Washida @ 2005-03-21 15:21 UTC (permalink / raw)
To: Zsh hackers list
Hi,
Completing words which have characters such as "\ ", "\\" or "\'" fails
when I use "{". For example,
% _foo() { compadd 'foo bar' 'foo baz' || echo erorr }
% compdef _foo foo
then, when I push tab like
% foo foo\ {<TAB>
I can complete 'ba'. But when I try to complete second argument in
brace I can complete nothing.
% foo foo\ {bar,<TAB>
always prints 'error'.
I tested this with zsh from CVS head on Mac OS X, zsh 4.2.3 on FreeBSD
4.10-RELEASE-p5, and 4.0.6 on Vine Linux 2.6 (one of the popular Linux
distributions in Japan).
Any idea?
I tried to find what happened using gdb. It seems hasbrpsfx called by
add_match_data should not return 0, but I have no idea how to solve it.
Thanks,
--
Motoi Washida
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-03-21 15:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-21 15:21 braces and completion Motoi Washida
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).