From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Suggestion: Simpler implementation of suppress-keymap Date: Sat, 24 Aug 2002 23:26:25 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200208250526.g7P5QPj11978@wijiji.santafe.edu> References: <5xznvdai7o.fsf@kfs2.cua.dk> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1030253548 18104 127.0.0.1 (25 Aug 2002 05:32:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 25 Aug 2002 05:32:28 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17iq0h-0004ht-00 for ; Sun, 25 Aug 2002 07:32:27 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17iqUt-0001dS-00 for ; Sun, 25 Aug 2002 08:03:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17iq1w-0007z9-00; Sun, 25 Aug 2002 01:33:44 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17ipuz-0006cl-00 for emacs-devel@gnu.org; Sun, 25 Aug 2002 01:26:33 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17iput-0006an-00 for emacs-devel@gnu.org; Sun, 25 Aug 2002 01:26:30 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17iput-0006aM-00; Sun, 25 Aug 2002 01:26:27 -0400 Original-Received: from wijiji.santafe.edu (wijiji [192.12.12.5]) by pele.santafe.edu (8.11.6+Sun/8.11.6) with ESMTP id g7P5Qo526996; Sat, 24 Aug 2002 23:26:50 -0600 (MDT) Original-Received: (from rms@localhost) by wijiji.santafe.edu (8.11.6+Sun/8.9.3) id g7P5QPj11978; Sat, 24 Aug 2002 23:26:25 -0600 (MDT) X-Authentication-Warning: wijiji.santafe.edu: rms set sender to rms@wijiji using -f Original-To: storm@cua.dk In-Reply-To: <5xznvdai7o.fsf@kfs2.cua.dk> (storm@cua.dk) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:6856 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6856 I this it would make sense to define suppress-keymap using the new command remapping feature, i.e. by substituting (substitute-key-definition 'self-insert-command 'undefined map global-map) with (define-key map [remap self-insert-command] 'undefined) That is a good idea. Please try it and let's see if it has any unexpected problems.