From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Function for deleting a key binding in a sparse keymap Date: Sun, 11 Dec 2005 03:14:23 -0500 Message-ID: <871x0k6ojb.fsf-monnier+emacs@gnu.org> References: <3cc04a73cc1b1a.3cc1b1a3cc04a7@net.lu.se> <43987D21.4070200@student.lu.se> <4398C8F2.8060301@student.lu.se> <4399E538.2080909@student.lu.se> <439B688C.1090207@student.lu.se> <87d5k478le.fsf-monnier+emacs@gnu.org> <439B8C1A.1050607@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 1134289283 6520 80.91.229.2 (11 Dec 2005 08:21:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 11 Dec 2005 08:21:23 +0000 (UTC) Cc: storm@cua.dk, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 11 09:21:19 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ElMRJ-0007qe-7R for ged-emacs-devel@m.gmane.org; Sun, 11 Dec 2005 09:20:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ElMRA-00021q-FU for ged-emacs-devel@m.gmane.org; Sun, 11 Dec 2005 03:20:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ElMME-0000o9-Bj for emacs-devel@gnu.org; Sun, 11 Dec 2005 03:14:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ElMMB-0000mc-AQ for emacs-devel@gnu.org; Sun, 11 Dec 2005 03:14:56 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ElMM9-0000m1-NA for emacs-devel@gnu.org; Sun, 11 Dec 2005 03:14:54 -0500 Original-Received: from [209.226.175.188] (helo=tomts25-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ElMNd-0006Yv-Il; Sun, 11 Dec 2005 03:16:25 -0500 Original-Received: from alfajor ([70.49.81.194]) by tomts25-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20051211081423.MDQD25777.tomts25-srv.bellnexxia.net@alfajor>; Sun, 11 Dec 2005 03:14:23 -0500 Original-Received: by alfajor (Postfix, from userid 1000) id 584C1D7377; Sun, 11 Dec 2005 03:14:23 -0500 (EST) Original-To: Lennart Borgman In-Reply-To: <439B8C1A.1050607@student.lu.se> (Lennart Borgman's message of "Sun, 11 Dec 2005 03:16:58 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Originating-IP: [0] 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:47441 Archived-At: > Ok, I have changed that. But then I think the doc string for > function-key-map is wrong. I guess so, yes. >> Actually key-translation-map is different because it applies even if the >> untranslated sequence already had a binding. Also those mappings are not >> repeated. > I did not notice that it could override keymaps. Would it be correct to > place this item as the FIRST-MAP in the list, before special-event-map? I guess so, but note that it's applied after function-key-map (weird, huh?) (function-key-map basically peaks ahead to try and see if the key will be found in the keymaps or not). Stefan