From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: Will default key bindings spell the death of Emacs? Date: Fri, 30 May 2003 09:10:50 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200305301310.h4UDAooo021860@rum.cs.yale.edu> References: <3ED67422.7060305@math.ku.dk> <20030529214728.GA24984@gnu.org> <200305300010.h4U0AiNY018227@rum.cs.yale.edu> <3ED70531.4020504@math.ku.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1054300785 3804 80.91.224.249 (30 May 2003 13:19:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 30 May 2003 13:19:45 +0000 (UTC) Cc: Stefan Monnier Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri May 30 15:19:41 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Ljn9-0000yL-00 for ; Fri, 30 May 2003 15:19:31 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19Lk2J-0004xu-00 for ; Fri, 30 May 2003 15:35:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Ljmp-0002LT-5y for emacs-devel@quimby.gnus.org; Fri, 30 May 2003 09:19:11 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19Ljm6-0001y1-UZ for emacs-devel@gnu.org; Fri, 30 May 2003 09:18:26 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19Lji4-0000X6-4n for emacs-devel@gnu.org; Fri, 30 May 2003 09:14:16 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Ljep-0007KC-6x for emacs-devel@gnu.org; Fri, 30 May 2003 09:10:55 -0400 Original-Received: from rum.cs.yale.edu (localhost [127.0.0.1]) by rum.cs.yale.edu (8.12.8/8.12.8) with ESMTP id h4UDAo0i021862; Fri, 30 May 2003 09:10:50 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.12.8/8.12.8/Submit) id h4UDAooo021860; Fri, 30 May 2003 09:10:50 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Lars Hansen Original-cc: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:14486 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:14486 > >I'm not sure what you mean by keybindings being hard to change, > >but let's suppose it's because C-c, C-x and ESC are so pervasive > >that you can't really move them. > > > Yes, that quite much my problem. And I do use key-translation-map > to swap keys as you suggest. But I feel that is a workaround rather > than a real solution. Messages from Emacs then become wrong when > they refer to those key bindings. Good point. We could change those messages to take key-translation-map into account, but it would probably be wrong (because of other uses of key-translation-map where it shouldn't happen). So we'd need to add a new key-remapping layer, after key-translation-map and before the actual key-lookup. And the remapping should not be done by `read-key-sequence' but should be done just before looking up the various global/local/minor maps instead. Stefan