GNU bug report logs - #9417
digit-argument doesn't work with `key-translation-map'

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Le Wang <l26wang@HIDDEN>; dated Thu, 1 Sep 2011 10:30:03 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 9417 <at> debbugs.gnu.org:


Received: (at 9417) by debbugs.gnu.org; 13 Oct 2011 02:19:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 12 22:19:46 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1REAtc-0007dC-RK
	for submit <at> debbugs.gnu.org; Wed, 12 Oct 2011 22:19:45 -0400
Received: from smtp.ucalgary.ca ([136.159.37.49] helo=smtp1.ucalgary.ca)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <mmpedros@HIDDEN>) id 1REAlr-0007Rj-4X
	for 9417 <at> debbugs.gnu.org; Wed, 12 Oct 2011 22:11:45 -0400
Received: from webmail.ucalgary.ca (wmsrv1.ucalgary.ca [136.159.230.135])
	by smtp1.ucalgary.ca (Postfix) with ESMTP id 43DC124020
	for <9417 <at> debbugs.gnu.org>; Wed, 12 Oct 2011 20:11:04 -0600 (MDT)
Received: from 136.159.37.221 (proxying for 68.147.56.93)
	(SquirrelMail authenticated user mmpedros)
	by webmail.ucalgary.ca with HTTP;
	Wed, 12 Oct 2011 20:11:04 -0600 (MDT)
Message-ID: <3b8d4a5c7ad9edc9d7a27995de7d0d60.squirrel@HIDDEN>
Date: Wed, 12 Oct 2011 20:11:04 -0600 (MDT)
Subject: bug#9417
From: mmpedros@HIDDEN
To: 9417 <at> debbugs.gnu.org
User-Agent: SquirrelMail/1.4.17
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
X-UCalgary-MailScanner-Information: Please contact IT Help Desk at (403)
	220-5555 for more information
X-UCalgary-MailScanner-ID: 43DC124020.A0C59
X-UCalgary-MailScanner: Found to be clean
X-UCalgary-MailScanner-From: mmpedros@HIDDEN
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -6.6 (------)
X-Debbugs-Envelope-To: 9417
X-Mailman-Approved-At: Wed, 12 Oct 2011 22:19:42 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.6 (------)

Recipe:

1. emacs -Q
2. eval-region

(define-key key-translation-map [?\C-x] [?\C-u])
(define-key key-translation-map [?\C-u] [?\C-x])

3. C-u M-x eshell
 Expected: open eshell
 Result: "eeeeshell" is inserted


Further details:

+ Emacs version 23.3.1 in an Archlinux box.
+ If I type `C-u M-x M-x eshell' (i.e., M-x twice) it works as expected
(i.e., eshell opens).


Thanks!
mak












Information forwarded to bug-gnu-emacs@HIDDEN:
bug#9417; Package emacs. Full text available.

Message received at 9417 <at> debbugs.gnu.org:


Received: (at 9417) by debbugs.gnu.org; 3 Sep 2011 13:32:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 03 09:32:19 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1QzqKZ-0008Ho-3d
	for submit <at> debbugs.gnu.org; Sat, 03 Sep 2011 09:32:19 -0400
Received: from mail-qw0-f52.google.com ([209.85.216.52])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <l26wang@HIDDEN>) id 1QzqKV-0008Hg-SV
	for 9417 <at> debbugs.gnu.org; Sat, 03 Sep 2011 09:32:16 -0400
Received: by qwb8 with SMTP id 8so3045139qwb.11
	for <9417 <at> debbugs.gnu.org>; Sat, 03 Sep 2011 06:28:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=zWoBE0CTMLE6XvLwzIE8QFIE9vWaQa6by9G6xr2tOOY=;
	b=U+Ixd+Ce38tS++Gc06H1dhHyriarsj0DYsFjl1ntUTT3waiisUWUwJ099OlFhPskNr
	7C+Snr96wDc/8lIwSkZHGPHGhi9JD4IJHq9VJjsrfuOPkrfGf6Xw8/ZZMwCz6qadu43r
	isQg7SaSbLUAk2+s2Nvb8IVyH8ZvBDwcsj/jw=
MIME-Version: 1.0
Received: by 10.224.205.70 with SMTP id fp6mr1595975qab.177.1315056525136;
	Sat, 03 Sep 2011 06:28:45 -0700 (PDT)
Received: by 10.224.173.68 with HTTP; Sat, 3 Sep 2011 06:28:45 -0700 (PDT)
In-Reply-To: <CAM=K+iq7v1D3b6oXPPxY0DdRA2cmrao4LOom9geTCkpzHvR5RQ@HIDDEN>
References: <CAM=K+iozZhrSLjjLy9GoKO9=84ZEpEMybgzQXJROXKqpk=6Rbw@HIDDEN>
	<jwvmxen3dli.fsf-monnier+emacs@HIDDEN>
	<CAM=K+iq7v1D3b6oXPPxY0DdRA2cmrao4LOom9geTCkpzHvR5RQ@HIDDEN>
Date: Sat, 3 Sep 2011 21:28:45 +0800
Message-ID: <CAM=K+io3+dfB5-7enC5PWR4HqBGqYGuaK+F73zS47t7PB1d=JA@HIDDEN>
Subject: Re: bug#9417: digit-argument doesn't work with `key-translation-map'
From: Le Wang <l26wang@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>, xahlee@HIDDEN, 
	Tassilo Horn <tassilo@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1
X-Spam-Score: -4.4 (----)
X-Debbugs-Envelope-To: 9417
Cc: 9417 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.3 (----)

Adding Xah, Tassilo.  I arrived at this independently, but Xah blogged
about it here:

http://xahlee.blogspot.com/2011/04/emacs-bug-using-universal-argument-to.html

there was a discussion on gnu.emacs.help here:

https://groups.google.com/group/gnu.emacs.help/browse_thread/thread/a7b3cb2605b33646?pli=1

Tassilo, you mentioned in this thread that it was fixed in the trunk.
Can you clarify?

On Fri, Sep 2, 2011 at 10:52 AM, Le Wang <l26wang@HIDDEN> wrote:
> On Fri, Sep 2, 2011 at 10:37 AM, Stefan Monnier
> <monnier@HIDDEN> wrote:
>> I hope you meant "Bazaar head" since we stopped using CVS a few
>> years ago.
>
> I used the git mirror git://git.savannah.gnu.org/emacs.git .
>
> --
> Le
>



-- 
Le




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#9417; Package emacs. Full text available.

Message received at 9417 <at> debbugs.gnu.org:


Received: (at 9417) by debbugs.gnu.org; 2 Sep 2011 02:56:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 01 22:56:23 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1QzJva-0001pb-CL
	for submit <at> debbugs.gnu.org; Thu, 01 Sep 2011 22:56:22 -0400
Received: from mail-qw0-f52.google.com ([209.85.216.52])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <l26wang@HIDDEN>) id 1QzJvY-0001pV-PY
	for 9417 <at> debbugs.gnu.org; Thu, 01 Sep 2011 22:56:21 -0400
Received: by qwb8 with SMTP id 8so1967515qwb.11
	for <9417 <at> debbugs.gnu.org>; Thu, 01 Sep 2011 19:52:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=FvGtbYyH5KmY/wGNgbphyCB4vpjG2NxlzKMwNlz/kqY=;
	b=ACJskw4ROtzMlCIGTzFtOvRiKLp5gGNUgpcj7COkQS1XCCKlP0qB7cg1JBifPK8IRo
	iHYw962k0QKEwTIhaCotS8jFbuNG9j0r5T/Rk4KYTDOCXOrnsnif8csi0XYMzgty0pkX
	/TflhQllYBd4WGIF8Bm15wxp2vU8mZfS9WUlc=
MIME-Version: 1.0
Received: by 10.224.9.143 with SMTP id l15mr414484qal.143.1314931978427; Thu,
	01 Sep 2011 19:52:58 -0700 (PDT)
Received: by 10.224.173.68 with HTTP; Thu, 1 Sep 2011 19:52:58 -0700 (PDT)
In-Reply-To: <jwvmxen3dli.fsf-monnier+emacs@HIDDEN>
References: <CAM=K+iozZhrSLjjLy9GoKO9=84ZEpEMybgzQXJROXKqpk=6Rbw@HIDDEN>
	<jwvmxen3dli.fsf-monnier+emacs@HIDDEN>
Date: Fri, 2 Sep 2011 10:52:58 +0800
Message-ID: <CAM=K+iq7v1D3b6oXPPxY0DdRA2cmrao4LOom9geTCkpzHvR5RQ@HIDDEN>
Subject: Re: bug#9417: digit-argument doesn't work with `key-translation-map'
From: Le Wang <l26wang@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1
X-Spam-Score: -4.5 (----)
X-Debbugs-Envelope-To: 9417
Cc: 9417 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.4 (----)

On Fri, Sep 2, 2011 at 10:37 AM, Stefan Monnier
<monnier@HIDDEN> wrote:
> I hope you meant "Bazaar head" since we stopped using CVS a few
> years ago.

I used the git mirror git://git.savannah.gnu.org/emacs.git .

-- 
Le




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#9417; Package emacs. Full text available.

Message received at 9417 <at> debbugs.gnu.org:


Received: (at 9417) by debbugs.gnu.org; 2 Sep 2011 02:41:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 01 22:41:13 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1QzJgv-0000og-CE
	for submit <at> debbugs.gnu.org; Thu, 01 Sep 2011 22:41:13 -0400
Received: from ironport2-out.teksavvy.com ([206.248.154.183]
	helo=ironport2-out.pppoe.ca)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <monnier@HIDDEN>) id 1QzJgq-0000oV-40
	for 9417 <at> debbugs.gnu.org; Thu, 01 Sep 2011 22:41:09 -0400
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av0EADtAYE64rwMJ/2dsb2JhbABCqFJ4gUABAQQBViMFCwsOJhIUDQsNEAETE4dyuguGXwSdIoJthEA
X-IronPort-AV: E=Sophos;i="4.68,317,1312171200"; d="scan'208";a="134005044"
Received: from 184-175-3-9.dsl.teksavvy.com (HELO ceviche.home) ([184.175.3.9])
	by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA;
	01 Sep 2011 22:37:45 -0400
Received: by ceviche.home (Postfix, from userid 20848)
	id A77FD660B6; Thu,  1 Sep 2011 22:37:44 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Le Wang <l26wang@HIDDEN>
Subject: Re: bug#9417: digit-argument doesn't work with `key-translation-map'
Message-ID: <jwvmxen3dli.fsf-monnier+emacs@HIDDEN>
References: <CAM=K+iozZhrSLjjLy9GoKO9=84ZEpEMybgzQXJROXKqpk=6Rbw@HIDDEN>
Date: Thu, 01 Sep 2011 22:37:44 -0400
In-Reply-To: <CAM=K+iozZhrSLjjLy9GoKO9=84ZEpEMybgzQXJROXKqpk=6Rbw@HIDDEN>
	(Le Wang's message of "Thu, 1 Sep 2011 18:26:34 +0800")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -1.9 (-)
X-Debbugs-Envelope-To: 9417
Cc: 9417 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.9 (-)

>>>>> "Le" == Le Wang <l26wang@HIDDEN> writes:

> repro:
> 1. emacs -Q
> 2. eval-region:

>   (define-key key-translation-map [(control x)] [(control j)])
>   (define-key key-translation-map [(control j)] [(control x)])

> 3. C-1 C-j C-f

> expectation: call `find-file'
> actual: call binding of C-j `eval-print-last-sexp'

> Emacs version: CVS Head built today on Windows 7.

I hope you meant "Bazaar head" since we stopped using CVS a few
years ago.

I think the problem is that universal-argument-other-key reads the key
just pressed with this-command-keys (which is the key after translation)
and then puts it into unread-command-events which will cause this key to
be re-translated.

My experience is that reading an event and putting it back into
unread-command-events is something fiendishly difficult to do right,
which prompted me to develop set-temporary-overlay-map, but this is not
ready for 24.1 (and it may never be ready, since it may come with
its own set of problems).

> In Emacs 23, the behavior is slightly different.  C-1 C-j calls
> `eval-print-last-sexp' withing the final C-f key chord.

And in both Emacs23 and current Bzr head, C-u 1 C-j gives me
 Args out of range: " C-x", 0, 5
tho it seems to depend on what I've done before.  This seems to be
a separate bug.


        Stefan




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#9417; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 1 Sep 2011 10:29:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 01 06:29:59 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Qz4X0-0002Is-Qk
	for submit <at> debbugs.gnu.org; Thu, 01 Sep 2011 06:29:59 -0400
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <l26wang@HIDDEN>) id 1Qz4Wy-0002Il-5m
	for submit <at> debbugs.gnu.org; Thu, 01 Sep 2011 06:29:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <l26wang@HIDDEN>) id 1Qz4Tl-0003Pp-8C
	for submit <at> debbugs.gnu.org; Thu, 01 Sep 2011 06:26:37 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_LOW, T_DKIM_INVALID,
	T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1
Received: from lists.gnu.org ([140.186.70.17]:54705)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <l26wang@HIDDEN>) id 1Qz4Tl-0003Pl-6l
	for submit <at> debbugs.gnu.org; Thu, 01 Sep 2011 06:26:37 -0400
Received: from eggs.gnu.org ([140.186.70.92]:47473)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <l26wang@HIDDEN>) id 1Qz4Tk-0002ki-EJ
	for bug-gnu-emacs@HIDDEN; Thu, 01 Sep 2011 06:26:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <l26wang@HIDDEN>) id 1Qz4Tj-0003NH-DW
	for bug-gnu-emacs@HIDDEN; Thu, 01 Sep 2011 06:26:36 -0400
Received: from mail-qw0-f43.google.com ([209.85.216.43]:37768)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <l26wang@HIDDEN>) id 1Qz4Tj-0003N8-Ax
	for bug-gnu-emacs@HIDDEN; Thu, 01 Sep 2011 06:26:35 -0400
Received: by qwm42 with SMTP id 42so879220qwm.30
	for <bug-gnu-emacs@HIDDEN>; Thu, 01 Sep 2011 03:26:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=mime-version:date:message-id:subject:from:to:content-type;
	bh=HpQuCwriSrJgDLosX4Br9LISPVG3pTxLAWcl1l17aXE=;
	b=PnzNdWGnNL9JxLWNchsWqUUaz0gwxphj2Aaczz0DVAKmYT+x4V5ZRONmedWzT2uSSh
	1O0+EwwXlRhIST36Kxw9U9j+YtvRX/LLAJ+RZ1aL1rpRGqxaZlAcUW64mIKiXFxdogW7
	9O9ZdDknMUamwcEZPzlQ8DfIWSNtjqtnXs8/s=
MIME-Version: 1.0
Received: by 10.224.202.197 with SMTP id ff5mr16571qab.393.1314872794259; Thu,
	01 Sep 2011 03:26:34 -0700 (PDT)
Received: by 10.224.173.68 with HTTP; Thu, 1 Sep 2011 03:26:34 -0700 (PDT)
Date: Thu, 1 Sep 2011 18:26:34 +0800
Message-ID: <CAM=K+iozZhrSLjjLy9GoKO9=84ZEpEMybgzQXJROXKqpk=6Rbw@HIDDEN>
Subject: digit-argument doesn't work with `key-translation-map'
From: Le Wang <l26wang@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Content-Type: text/plain; charset=ISO-8859-1
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 140.186.70.17
X-Spam-Score: -5.6 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -5.6 (-----)

repro:

1. emacs -Q
2. eval-region:

  (define-key key-translation-map [(control x)] [(control j)])
  (define-key key-translation-map [(control j)] [(control x)])

3. C-1 C-j C-f

expectation: call `find-file'
actual: call binding of C-j `eval-print-last-sexp'

Emacs version: CVS Head built today on Windows 7.

In Emacs 23, the behavior is slightly different.  C-1 C-j calls
`eval-print-last-sexp' withing the final C-f key chord.

-- 
Le




Acknowledgement sent to Le Wang <l26wang@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#9417; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.