From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Suggestion: Simpler implementation of suppress-keymap Date: 26 Aug 2002 15:39:39 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <5x8z2tn3hg.fsf@kfs2.cua.dk> References: <5xznvdai7o.fsf@kfs2.cua.dk> <200208250526.g7P5QPj11978@wijiji.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1030379228 13675 127.0.0.1 (26 Aug 2002 16:27:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 26 Aug 2002 16:27:08 +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 17jMhn-0003YS-00 for ; Mon, 26 Aug 2002 18:27:07 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17jNCh-00087P-00 for ; Mon, 26 Aug 2002 18:59:03 +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 17jMj6-0006Jy-00; Mon, 26 Aug 2002 12:28:28 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17jM4p-00023q-00 for emacs-devel@gnu.org; Mon, 26 Aug 2002 11:46:51 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17jM3o-0001fD-00 for emacs-devel@gnu.org; Mon, 26 Aug 2002 11:46:22 -0400 Original-Received: from gnudist.gnu.org ([199.232.41.7]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17jM3h-0006O8-00; Mon, 26 Aug 2002 11:45:41 -0400 Original-Received: from mail.filanet.dk ([195.215.206.179]) by gnudist.gnu.org with esmtp (Exim 4.10) id 17jJF8-0006sf-00; Mon, 26 Aug 2002 08:45:18 -0400 Original-Received: from kfs2.cua.dk.cua.dk (kfs2.local.filanet.dk [192.168.1.182]) by mail.filanet.dk (Postfix) with SMTP id B52B17C017; Mon, 26 Aug 2002 12:39:13 +0000 (GMT) Original-To: rms@gnu.org In-Reply-To: <200208250526.g7P5QPj11978@wijiji.santafe.edu> Original-Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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:6919 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6919 Richard Stallman writes: > 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. Ok, done. -- Kim F. Storm http://www.cua.dk