On Thu, Apr 20, 2017 at 01:53:02PM +0200, Walter Alejandro Iglesias wrote:
> I found a bug.  If you bind any Ctrl prefixed combination to help and
> press any unbound key, km_error_key() prints just "Key is not bound."

Thanks for the bug report.  Your diagnosis is correct: the
km_expand_key() is expanding the control sequence to a string the
km_dokey() doesn't recognize.  This leaves an unbound key in the input
buffer, resulting in the infinite loop.

There are a couple "obvious" ways to fix it, one being removing the code
you mentioned, but I'd like to take a deeper look first.  I won't have
time to do that until next week though.

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA

Attachment: signature.asc
Description: PGP signature

Reply via email to