Re: [PATCH] fix infinite loop when help bound to a function key combination

2016-05-24 Thread Kevin J. McCarthy
On Sun, May 22, 2016 at 03:10:31PM -0700, Kevin J. McCarthy wrote: > On Thu, May 19, 2016 at 11:54:18AM +0200, Jiri Bohac wrote: > > I believe this got introduced by commit 6517:a07e8215a0ef (Create > > a separate macro/push/exec event buffer). > > > > This patch fixes the problem for me (I'm very

Re: [PATCH] fix infinite loop when help bound to a function key combination

2016-05-22 Thread Kevin J. McCarthy
On Thu, May 19, 2016 at 11:54:18AM +0200, Jiri Bohac wrote: > I believe this got introduced by commit 6517:a07e8215a0ef (Create > a separate macro/push/exec event buffer). > > This patch fixes the problem for me (I'm very new to the mutt > code, so I'm not sure if this is correct): Hi Jiri, Than

[PATCH] fix infinite loop when help bound to a function key combination

2016-05-19 Thread Jiri Bohac
I use 1 for help: bindindex \e1 help Pressing an undefined key in message index ends up in an infinite beeping loop. The reason is: km_error_key() wants to print a helpful message: Key is not bound. Press '%s' for help. km_expand_key() is called and fills buf with "1".