From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Function for deleting a key binding in a sparse keymap Date: Fri, 09 Dec 2005 12:24:31 +0100 Message-ID: References: <3cc04a73cc1b1a.3cc1b1a3cc04a7@net.lu.se> <43987D21.4070200@student.lu.se> <4398C8F2.8060301@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1134138753 22607 80.91.229.2 (9 Dec 2005 14:32:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Dec 2005 14:32:33 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 09 15:32:22 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EkjEi-0005gg-7i for ged-emacs-devel@m.gmane.org; Fri, 09 Dec 2005 15:28:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ekj7Z-0005CE-UV for ged-emacs-devel@m.gmane.org; Fri, 09 Dec 2005 09:21:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EkgyE-0005Zt-KV for emacs-devel@gnu.org; Fri, 09 Dec 2005 07:03:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EkgwE-0005ME-3V for emacs-devel@gnu.org; Fri, 09 Dec 2005 07:03:23 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EkgwA-0005Lz-Im for emacs-devel@gnu.org; Fri, 09 Dec 2005 07:01:19 -0500 Original-Received: from [199.232.41.67] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_ARCFOUR_SHA:16) (Exim 4.34) id 1EkgxL-0006p7-QF for emacs-devel@gnu.org; Fri, 09 Dec 2005 07:02:32 -0500 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by mx20.gnu.org with esmtp (Exim 4.34) id 1EkgPJ-0001ZS-Gv for emacs-devel@gnu.org; Fri, 09 Dec 2005 06:27:21 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepc.post.tele.dk (Postfix) with SMTP id A687926287D; Fri, 9 Dec 2005 12:25:08 +0100 (CET) Original-To: Lennart Borgman In-Reply-To: <4398C8F2.8060301@student.lu.se> (Lennart Borgman's message of "Fri, 09 Dec 2005 00:59:46 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:47296 Archived-At: Lennart Borgman writes: > This was rather hairy. Is the table below correct? There are additional keymaps used in the minibuffer... Notably, minibuffer-local-map. Also notice value of meta-prefix-char. There is also minor-mode-overriding-map-alist, consulted between emulation-mode-map-alists and minor-mode-map-alist. Note that if a variable has an entry in Vminor_mode_overriding_map_alist, and also an entry in Vminor_mode_map_alist, ignore the latter. You should mention that the "current global map" may not be the `global-map', since function "use-global-map" can change the current global map. You may also want to mention function current-active-maps. Finally, you could mention that if the result of the first pass through these keymaps is a symbol, a second pass is made to find a possible command remapping (looking for a binding [remap SYMBOL]. Likewise, if the result of the mapping is a string, that string is used as a keyboard macro, i.e. each character in the string is again passed through the keymaps. -- Kim F. Storm http://www.cua.dk