From mboxrd@z Thu Jan  1 00:00:00 1970
Path: main.gmane.org!not-for-mail
From: "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu>
Newsgroups: gmane.emacs.devel
Subject: Re: Old CUA and new keyboard.c (was: Problem with latest CVS version of keyboard.c (solved) )
Date: Wed, 12 Jun 2002 19:49:02 -0400
Sender: emacs-devel-admin@gnu.org
Message-ID: <200206122349.g5CNn2221537@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>
NNTP-Posting-Host: localhost.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: main.gmane.org 1023925889 10342 127.0.0.1 (12 Jun 2002 23:51:29 GMT)
X-Complaints-To: usenet@main.gmane.org
NNTP-Posting-Date: Wed, 12 Jun 2002 23:51:29 +0000 (UTC)
Cc: "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu>, emacs-devel@gnu.org,
   ponced16@netscape.net (David Ponce)
Return-path: <emacs-devel-admin@gnu.org>
Original-Received: from quimby.gnus.org ([80.91.224.244])
	by main.gmane.org with esmtp (Exim 3.33 #1 (Debian))
	id 17IHth-0002gh-00
	for <emacs-devel@main.gmane.org>; Thu, 13 Jun 2002 01:51:29 +0200
Original-Received: from fencepost.gnu.org ([199.232.76.164])
	by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian))
	id 17IIHj-00044E-00
	for <emacs-devel@quimby.gnus.org>; Thu, 13 Jun 2002 02:16:19 +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 17IHtR-0003gQ-00; Wed, 12 Jun 2002 19:51:13 -0400
Original-Received: from rum.cs.yale.edu ([128.36.229.169])
	by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian))
	id 17IHrM-0003Xm-00
	for <emacs-devel@gnu.org>; Wed, 12 Jun 2002 19:49:04 -0400
Original-Received: (from monnier@localhost)
	by rum.cs.yale.edu (8.11.6/8.11.6) id g5CNn2221537;
	Wed, 12 Jun 2002 19:49:02 -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: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Post: <mailto:emacs-devel@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=subscribe>
List-Id: Emacs development discussions. <emacs-devel.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/emacs-devel/>
Xref: main.gmane.org gmane.emacs.devel:4812
X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4812

> > 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.

The change in the code is pretty simple and feels right, so I might
install it when I've tested it some more, but it doesn't solve the
problem at hand.

It seems there's a fundamental incompatibility here.
On the one hand key-translation-map needs to be applied as soon as C-x
is pressed and on the other, it should not be applied if the user hits
C-x @ m.

Anybody has a good idea how to reconcile those two constraints ?
Why did cua use key-translation-map rather than a minor-mode keymap ?


	Stefan