bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15317: 24.3; key-translation-map and universal-argument not working


From: Stefan Monnier
Subject: bug#15317: 24.3; key-translation-map and universal-argument not working as expected
Date: Tue, 10 Sep 2013 13:15:39 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]