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

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

Re: keyboard-translate working for Control but not for Alt


From: Elena
Subject: Re: keyboard-translate working for Control but not for Alt
Date: Thu, 6 Aug 2009 05:22:45 -0700 (PDT)
User-agent: G2/1.0

On 6 Ago, 11:01, Bernardo <bernardo.ba...@pobox.com> wrote:
> >> You can use
>
> >>   (define-key key-translation-map [?\M-x] [?\M-t])
> >>   (define-key key-translation-map [?\M-t] [?\M-x])
>
> > That does not work. No errors when evaluating the expressions, but
> > then both M-x and M-t don't work anymore (they just output 't' and
> > 'x').
>
> don't know, both the above and the following format work here (GNU/Linux):
> (define-key key-translation-map [(meta x)] [(meta t)])
>

I apologize for not testing it properly... it works under "emacs -q".
Something is broken in my customization.

Thanks for pointing that out.

> not sure if it's any different under the hood but you may also want to
> try this variation:
> (keyboard-translate ?\M-x ?\M-t)

This raises an error with "emacs -q" too.

Thanks for your reply.


reply via email to

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