help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does code exist to check if a key sequence is valid for Emacs runnin


From: Stefan Monnier
Subject: Re: Does code exist to check if a key sequence is valid for Emacs running in terminal mode?
Date: Tue, 16 Jul 2024 22:44:06 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

> Does Emacs already have a predicate function that can be used to check if
> the specified key sequence is valid for Emacs running in terminal mode?

Note the same problem exists under GUIs, where Emacs does not offer
a way to test whether a given ELisp event can be generated by your input
devices.

So, the best you can do is to use heuristics about what you think is
"usually possible" and "usually impossible".  I don't know of any ELisp
package offering such a functionality yet.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]