[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: input-decode-map: Silently ignore certain sequences
From: |
Stefan Monnier |
Subject: |
Re: input-decode-map: Silently ignore certain sequences |
Date: |
Sun, 16 Dec 2018 22:24:26 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> I did not consider calling ‘read-key’ from a function bound in
> ‘input-event-map’. Instinctively, I’d try to avoid side effects and
> especially recursion in any of the key translation maps.
Wise.
Also, using `read-key` and `read-event` is often a source of corner-case
problems, so it's better to stay away from them as much as possible.
Stefan