Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bindkey even worse
- X-seq: zsh-workers 516
- From: Richard Coleman <coleman@xxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: bindkey even worse
- Date: Wed, 01 Nov 1995 21:33:23 -0500
- In-reply-to: Your message of "Wed, 01 Nov 1995 12:02:19 +0100." <9511011102.AA05999@xxxxxxxxxx>
> This time, printbinding() is looking for a string to print out when it
> should be looking for a key name.
Well, not worse, just different :-)
Actually the original problem with printbinding() was that
the order of the parameters didn't match with scanhashtable().
This was causing every Key value for multi-character bindings
to appear to be NULL when printing from `bindkey'. The last
patch you sent about this added a test to ignored NULL values.
This had the effect of not printing any of the multi-character
bindings. I discovered this and fixed it, but somehow used
k->str instead of k->nam. This probably happened since the
previous code passed in k->nam using the parameter `str'.
So the result was that it still core dumped, but for a
different reason.
I'm glad you found it, because `bindkey' finally works.
rc
Messages sorted by:
Reverse Date,
Date,
Thread,
Author