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: tomas
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:30:12 +0200

On Fri, Jul 12, 2024 at 09:57:49PM +0700, Yuri Khan wrote:
> 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.

That just means that the function needs also the frame as input param,
no?

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature


reply via email to

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