From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: emacs-list-18@pgxml.net Newsgroups: gmane.emacs.help Subject: Which keymap fired in minibuffer? Date: Sat, 14 Mar 2020 20:05:43 +0100 Organization: Herbert! Message-ID: <87o8sy92pk.fsf@radagast.pgxml.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="30365"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 14 20:06:23 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jDC75-0007nq-1U for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 14 Mar 2020 20:06:23 +0100 Original-Received: from localhost ([::1]:47524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDC73-0000xZ-0V for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 14 Mar 2020 15:06:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54775) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDC6V-0000sQ-Fa for help-gnu-emacs@gnu.org; Sat, 14 Mar 2020 15:05:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDC6U-0007Ec-Iv for help-gnu-emacs@gnu.org; Sat, 14 Mar 2020 15:05:47 -0400 Original-Received: from gollum.pgxml.net ([217.160.178.10]:48270) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jDC6U-0007DN-Cs for help-gnu-emacs@gnu.org; Sat, 14 Mar 2020 15:05:46 -0400 Original-Received: from port-92-193-19-200.dynamic.as20676.net ([92.193.19.200]:37962 helo=radagast.pgxml.net) by gollum.pgxml.net with esmtpa (Exim 4.92.3) (envelope-from ) id 1jDC6S-0002kY-1I for help-gnu-emacs@gnu.org; Sat, 14 Mar 2020 20:05:44 +0100 Original-Received: from ck by radagast.pgxml.net with local (Exim 4.89) (envelope-from ) id 1jDC6R-0002ox-M9 for help-gnu-emacs@gnu.org; Sat, 14 Mar 2020 20:05:43 +0100 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 217.160.178.10 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:122589 Archived-At: 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 "") 'find_binding) ...but this only tells me the contents of the keymap, but not its name. Any ideas? Christoph