From: Stephen Berman <stephen.berman@gmx.net>
To: "W. Greenhouse" <wgreenhouse@tilde.club>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to test if command is assigned any key by any loaded library?
Date: Mon, 04 Nov 2024 11:07:56 +0100 [thread overview]
Message-ID: <877c9j2txf.fsf@gmx.net> (raw)
In-Reply-To: <Zyh6Efvk8aDnP_A8@lco2> (Jean Louis's message of "Mon, 4 Nov 2024 10:38:57 +0300")
On Mon, 4 Nov 2024 10:38:57 +0300 Jean Louis <bugs@gnu.support> wrote:
> * W. Greenhouse" via Users list for the GNU Emacs text editor
> <help-gnu-emacs@gnu.org> [2024-11-04 08:38]:
>> Jean Louis <bugs@gnu.support> writes:
>>
>> > How to test if command is assigned any key by any loaded library?
>>
>> (where-is-internal 'some-command)
>
> Good solution, thanks.
That answers the question but not in the most user-friendly way, e.g.:
(where-is-internal 'set-mark-command)
==> ([0] [67108896])
Compare:
(mapcar 'key-description (where-is-internal 'set-mark-command))
==> ("C-@" "C-SPC")
Steve Berman
next prev parent reply other threads:[~2024-11-04 10:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-03 9:52 How to test if command is assigned any key by any loaded library? Jean Louis
2024-11-04 5:37 ` W. Greenhouse via Users list for the GNU Emacs text editor
2024-11-04 7:38 ` Jean Louis
2024-11-04 10:07 ` Stephen Berman [this message]
2024-11-04 10:16 ` Stephen Berman
2024-11-04 10:33 ` Stephen Berman
2024-11-04 16:11 ` Jean Louis
2024-11-05 0:14 ` W. Greenhouse via Users list for the GNU Emacs text editor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877c9j2txf.fsf@gmx.net \
--to=stephen.berman@gmx.net \
--cc=help-gnu-emacs@gnu.org \
--cc=wgreenhouse@tilde.club \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).