all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Elena <egarrulo@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: keyboard-translate working for Control but not for Alt
Date: Thu, 6 Aug 2009 05:22:45 -0700 (PDT)	[thread overview]
Message-ID: <d9b01bbf-117e-4942-ab69-d1421ce8649e@a26g2000yqn.googlegroups.com> (raw)
In-Reply-To: mailman.4020.1249556773.2239.help-gnu-emacs@gnu.org

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.


      parent reply	other threads:[~2009-08-06 12:22 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-04 14:39 keyboard-translate working for Control but not for Alt Elena
2009-08-04 17:18 ` harven
2009-08-04 17:20   ` harven
2009-08-04 18:15 ` Xah Lee
2009-08-04 18:37   ` Xah Lee
2009-08-04 18:36 ` Johan Bockgård
2009-08-05  8:07 ` Xah Lee
2009-08-05 22:37   ` Xah Lee
2009-08-06  0:40     ` Xah Lee
2009-08-06  2:29       ` Xah Lee
2009-08-06 16:34       ` B. T. Raven
2009-08-06 21:04         ` Elena
2009-08-06 21:08           ` Elena
2009-08-07  4:02             ` B. T. Raven
2009-08-07  4:06           ` B. T. Raven
     [not found] ` <mailman.3870.1249411036.2239.help-gnu-emacs@gnu.org>
2009-08-06  7:54   ` Elena
2009-08-06 11:01     ` Bernardo
     [not found]     ` <mailman.4020.1249556773.2239.help-gnu-emacs@gnu.org>
2009-08-06 12:22       ` Elena [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d9b01bbf-117e-4942-ab69-d1421ce8649e@a26g2000yqn.googlegroups.com \
    --to=egarrulo@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.