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

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

Problem with keyboard-translate and mapping of parentheses


From: Josip Gracin
Subject: Problem with keyboard-translate and mapping of parentheses
Date: Sun, 21 Oct 2007 21:10:29 +0200
User-agent: Thunderbird 2.0.0.6 (X11/20071008)

Hello!

I'm using the following translations to swap [ and ] with ( and ) keys.

(keyboard-translate ?\( ?\[)
(keyboard-translate ?\[ ?\()
(keyboard-translate ?\) ?\])
(keyboard-translate ?\] ?\))

It works as expected.  Pressing [ on the keyboard produces (.
However, when I press Meta and [ I don't get the expected M-( but an error message saying that M-[ is not unbound. As if the translation is not active when using modifiers.

In XEmacs, this works as expected. How do I do this in Emacs? I'm using 23.0.60.1, unicode-2 branch, on x86_64, Ubuntu 7.10.

Thanks in advance!


reply via email to

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