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: Old CUA and new keyboard.c (was: Problem with latest CVS version of keyboard.c (solved) ) Date: Fri, 14 Jun 2002 11:14:05 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <200206141514.g5EFE5Y30014@rum.cs.yale.edu> References: <00D3E07D.7CEA4D23.00A66750@netscape.net> <200206121519.g5CFJRr18872@rum.cs.yale.edu> <5xelfcup7g.fsf@kfs2.cua.dk> <200206122231.g5CMVPq21188@rum.cs.yale.edu> <200206122349.g5CNn2221537@rum.cs.yale.edu> <5xofeehhgd.fsf@kfs2.cua.dk> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1024067911 3862 127.0.0.1 (14 Jun 2002 15:18:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 14 Jun 2002 15:18:31 +0000 (UTC) Cc: "Stefan Monnier" , emacs-devel@gnu.org, ponced16@netscape.net (David Ponce) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17IsqN-00010A-00 for ; Fri, 14 Jun 2002 17:18:31 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17ItFC-0006pL-00 for ; Fri, 14 Jun 2002 17:44:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17IsnM-0006Fz-00; Fri, 14 Jun 2002 11:15:24 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17IsmC-0006Ax-00 for ; Fri, 14 Jun 2002 11:14:12 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g5EFE5Y30014; Fri, 14 Jun 2002 11:14:05 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: storm@cua.dk (Kim F. Storm) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4859 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4859 > > > > I was wondering why you need to wait for the next character after a > > > > C-x or C-c to see if they start a function key... I don't think those > > > > specific keys will ever do that, so maybe you should only delay the > > > > use of key-translation-map in case the key is actually a potential > > > > candidate for starting a function key. > > > > > > That sounds like a good approach. I'll see what I can do with it. > > > > Actually, C-x is already bound in function-key-map in the dumped > > Emacs because of the `C-x @ m', `C-x @ a', ... feature. > > So in the future, we cannot remap [C-x] through key-translation-map. Of course we can. It's just that the remapping takes place late: not when you hit C-x but only after you've hit C-x C-f. So I guess you're right that we cannot remap just [?\C-x], but we can only remap [?\C-x ...] to [ ...]. Hmmm... Stefan