From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: LENNART BORGMAN Newsgroups: gmane.emacs.devel Subject: Re: Function for deleting a key binding in a sparse keymap Date: Thu, 08 Dec 2005 10:32:37 +0100 Message-ID: <3cc04a73cc1b1a.3cc1b1a3cc04a7@net.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1134045087 5874 80.91.229.2 (8 Dec 2005 12:31:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 8 Dec 2005 12:31:27 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 08 13:31:25 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EkKuz-0007BA-1m for ged-emacs-devel@m.gmane.org; Thu, 08 Dec 2005 13:30:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EkKvG-0000aG-Ov for ged-emacs-devel@m.gmane.org; Thu, 08 Dec 2005 07:30:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EkIDf-0006nF-1v for emacs-devel@gnu.org; Thu, 08 Dec 2005 04:37:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EkIBH-0006Zv-Ho for emacs-devel@gnu.org; Thu, 08 Dec 2005 04:35:17 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EkI93-0006Pa-Dm for emacs-devel@gnu.org; Thu, 08 Dec 2005 04:32:58 -0500 Original-Received: from [130.235.208.46] (helo=piraten.student.lu.se) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EkIA3-0005hA-4j for emacs-devel@gnu.org; Thu, 08 Dec 2005 04:33:59 -0500 Original-Received: from net.lu.se (localhost [127.0.0.1]) by piraten.student.lu.se (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0IR6009SJAID5E@piraten.student.lu.se> for emacs-devel@gnu.org; Thu, 08 Dec 2005 10:32:37 +0100 (MET) Original-Received: from [212.209.42.132] by piraten.student.lu.se (mshttpd); Thu, 08 Dec 2005 10:32:37 +0100 Original-To: storm@cua.dk (Kim F. Storm) X-Mailer: iPlanet Messenger Express 5.2 HotFix 1.14 (built Mar 18 2003) Content-language: sv Content-disposition: inline X-Accept-Language: sv Priority: normal 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:47222 Archived-At: From: storm@cua.dk (Kim F. Storm) > Lennart Borgman writes: > > > I wrote too early once again. I was adding the old bw-keymap to > > emulation-mode-map-alist, not the new one. When I changed this the > > above procedures work nicely. > > Why do you use emulation-mode-map-alist ? Because in this case it is a temporary minor mode that exists just during a few keystrokes. I actually put the keymap first in emulation-mode-map-alists to avoid any problem. Nearly all keys except those for using the mode are bound to a function that exits the temporary mode.