On 2020-12-27 9:10 am, Stefan Monnier wrote: >> This assumes that ESC is the only prefix key in input-decode-map. >> Is that an okay assumption to make? > > I think so. Great! This drastically simplifies the patch. Updated version attached. I made sure that all the places that were fixed before are still fixed. I still want to do the comment improvements I made through digging into read-key-sequence, but will do that in a separate patch. -- MJF