Subject: bug#78916: 31.0.50; C-g fails to exit loop

From: Mike Kupfer <[email-masked]>
Date: Sat, 05 Jul 2025 15:33:14 -0700

Stefan Monnier wrote:

> ESC is bound to `exit-prefix` which is documented as:
> 
>     ‘exit-prefix’
>          Like ‘exit’, but add the key that was pressed to
>          ‘unread-command-events’ (*note Event Input Misc::).
> 
> so it looks OK to me: maybe it's not the behavior Mike would prefer, but
> at least it's in line with what the doc says.

I would assume that ESC gets added to the unread events so that the user
can type ESC-mumble intead of M-mumble.  (Not that I actually know
anything about all the event processing details y'all have been talking
about. :-))

mike