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: Yuri Khan
Subject: Re: Does code exist to check if a key sequence is valid for Emacs running in terminal mode?
Date: Fri, 12 Jul 2024 21:57:49 +0700

On Fri, 12 Jul 2024 at 21:41, Pierre Rouleau <prouleau001@gmail.com> wrote:

> The code can determine if Emacs is running a GUI mode or in a terminal mode.
> In GUI mode it would assume that everything is possible.
> In terminal mode the issue is being able to distinguish
> whether the key sequence can be bound or not.

Even that is in general not solvable. Given an Emacs daemon, you can
connect to it with a GUI client and a terminal-based client, and they
will coexist peacefully.



reply via email to

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