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: Thu, 08 Dec 2005 11:53:00 -0500 Message-ID: References: <3cc04a73cc1b1a.3cc1b1a3cc04a7@net.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1134066551 16788 80.91.229.2 (8 Dec 2005 18:29:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 8 Dec 2005 18:29:11 +0000 (UTC) Cc: emacs-devel@gnu.org, "Kim F. Storm" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 08 19:29:01 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EkQRF-0000J4-E5 for ged-emacs-devel@m.gmane.org; Thu, 08 Dec 2005 19:24:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EkQRX-0003NI-TR for ged-emacs-devel@m.gmane.org; Thu, 08 Dec 2005 13:24:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EkP1K-0002Nk-7s for emacs-devel@gnu.org; Thu, 08 Dec 2005 11:53:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EkP1J-0002NI-IX for emacs-devel@gnu.org; Thu, 08 Dec 2005 11:53:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EkP1I-0002N6-Ga for emacs-devel@gnu.org; Thu, 08 Dec 2005 11:53:25 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EkP2L-0001O6-Np for emacs-devel@gnu.org; Thu, 08 Dec 2005 11:54:29 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 20FAF2CF6D4; Thu, 8 Dec 2005 11:53:05 -0500 (EST) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 1DC594AC00A; Thu, 8 Dec 2005 11:53:01 -0500 (EST) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 09B00E6C19; Thu, 8 Dec 2005 11:53:00 -0500 (EST) Original-To: LENNART BORGMAN In-Reply-To: <3cc04a73cc1b1a.3cc1b1a3cc04a7@net.lu.se> (LENNART BORGMAN's message of "Thu, 08 Dec 2005 10:32:37 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.853, requis 5, autolearn=not spam, AWL 0.05, BAYES_00 -4.90) X-MailScanner-From: monnier@iro.umontreal.ca 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:47238 Archived-At: >> > 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. Any reason not to use overriding-(terminal-)local-map like isearch does? Stefan