From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Martin Stone Davis Newsgroups: gmane.emacs.help Subject: Which keymap was found with key-binding? Date: Thu, 02 Oct 2003 15:35:48 -0700 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1065135891 14636 80.91.224.253 (2 Oct 2003 23:04:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Oct 2003 23:04:51 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 03 01:04:49 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A5CV7-0008UI-00 for ; Fri, 03 Oct 2003 01:04:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A5CTr-0001KW-U0 for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Oct 2003 19:03:31 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A5CRU-0000kF-DL for help-gnu-emacs@gnu.org; Thu, 02 Oct 2003 19:01:04 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A5CQx-0000d9-1J for help-gnu-emacs@gnu.org; Thu, 02 Oct 2003 19:01:02 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A5CQt-0000bx-15 for help-gnu-emacs@gnu.org; Thu, 02 Oct 2003 19:00:27 -0400 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A5CQr-00078Z-00 for ; Fri, 03 Oct 2003 01:00:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A5C2w-0006u0-00 for ; Fri, 03 Oct 2003 00:35:42 +0200 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A5C2w-0002zt-00 for ; Fri, 03 Oct 2003 00:35:42 +0200 Original-Lines: 8 Original-X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030827 X-Accept-Language: en-us, en X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12967 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12967 The function `key-binding' returns the definition of a key by looking through the minor-mode map, local, and then global keymaps (I guess). I would like a function that returns the keymap itself. That is, given a key, it looks through the appropriate keymaps. When it finds a matching keymap it return that keymap. Does such a thing already exist?