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: Robert Pluim
Subject: Re: Does code exist to check if a key sequence is valid for Emacs running in terminal mode?
Date: Fri, 12 Jul 2024 16:58:08 +0200

>>>>> On Fri, 12 Jul 2024 10:48:44 -0400, Pierre Rouleau 
>>>>> <prouleau001@gmail.com> said:
    Pierre> Yes, but I want to be able to distinguish in elisp code.
    Pierre> In a situation where several packages globally bind the same
    Pierre> key sequence to different commands I have code that detect the 
instance
    Pierre> and report by warning.
    Pierre> I want to prevent the warning in Emacs running in terminal mode
    Pierre> if that key sequence cannot even be used under Emacs in terminal 
mode
    Pierre> when running in the specific terminal.

I donʼt think what you want is possible. Even in a GUI frame, there
are key sequences that can be produced by the keyboard that Emacs will
never see because the window manager steals them.

Robert
-- 



reply via email to

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