[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: |
Pierre Rouleau |
Subject: |
Re: Does code exist to check if a key sequence is valid for Emacs running in terminal mode? |
Date: |
Fri, 19 Jul 2024 09:31:16 -0400 |
On Tue, Jul 16, 2024 at 10:44 PM Stefan Monnier via Users list for the GNU
Emacs text editor <help-gnu-emacs@gnu.org> wrote:
> > 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.
>
>
Yep, that's what I'm doing.
Merci
--
/Pierre
- Re: Does code exist to check if a key sequence is valid for Emacs running in terminal mode?, (continued)
- Re: Does code exist to check if a key sequence is valid for Emacs running in terminal mode?, Yuri Khan, 2024/07/12
- Re: Does code exist to check if a key sequence is valid for Emacs running in terminal mode?, Pierre Rouleau, 2024/07/12
- Re: Does code exist to check if a key sequence is valid for Emacs running in terminal mode?, tomas, 2024/07/12
- Re: Does code exist to check if a key sequence is valid for Emacs running in terminal mode?, Pierre Rouleau, 2024/07/13
- Re: Does code exist to check if a key sequence is valid for Emacs running in terminal mode?, tomas, 2024/07/13
- Re: Does code exist to check if a key sequence is valid for Emacs running in terminal mode?, Emanuel Berg, 2024/07/12
- Re: Does code exist to check if a key sequence is valid for Emacs running in terminal mode?, Pierre Rouleau, 2024/07/13
- Re: Does code exist to check if a key sequence is valid for Emacs running in terminal mode?, Robert Pluim, 2024/07/12
- Re: Does code exist to check if a key sequence is valid for Emacs running in terminal mode?, Pierre Rouleau, 2024/07/12
Re: Does code exist to check if a key sequence is valid for Emacs running in terminal mode?, Stefan Monnier, 2024/07/16
- Re: Does code exist to check if a key sequence is valid for Emacs running in terminal mode?,
Pierre Rouleau <=