all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Which keymap fired in minibuffer?
@ 2020-03-14 19:05 emacs-list-18
  2020-03-16  1:10 ` Michael Heerdegen
  0 siblings, 1 reply; 6+ messages in thread
From: emacs-list-18 @ 2020-03-14 19:05 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

 is there a (canonical) way to tell in which keymap the binding was
 found that was just executed in a minibuffer the current state of
 emacs? emacs version >= 26

 What i did till now is this:
 (defun find_binding()
 (interactive)
 (message "local %s" (current-local-map))
 )

 (global-set-key (kbd "<f2>") 'find_binding)

 ...but this only tells me the contents of the keymap, but not its name.

Any ideas?

Christoph

 



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-03-17  7:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-14 19:05 Which keymap fired in minibuffer? emacs-list-18
2020-03-16  1:10 ` Michael Heerdegen
2020-03-16  2:41   ` Michael Heerdegen
2020-03-16  8:06     ` tomas
2020-03-17  0:23       ` Michael Heerdegen
2020-03-17  7:50         ` tomas

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.