Subject: Re: bug#15317: 24.3; key-translation-map and universal-argument not working as expected
From: Stefan Monnier <[email-masked]>
To: Jan-Christian Hütter <[email-masked]>
Cc: [email-masked]
Date: Tue, 10 Sep 2013 13:15:39 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

> In emacs -Q, evaluate the following to swap C-c and C-w
> (define-key key-translation-map (kbd "C-c") (kbd "C-w"))
> (define-key key-translation-map (kbd "C-w") (kbd "C-c"))

> This works as expected, except when combined with the universal argument: If
> you use C-u C-c, the first evaluation of C-c is passed as is, and not
> interpreted as C-w. However, if I enter C-u C-c C-c, this is interpreted as

Actually, it was not passed as-is, it was translated twice, instead.
I installed a patch which should fix those problems.

        Stefan