all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Politz <politza@fh-trier.de>
To: help-gnu-emacs@gnu.org
Subject: Re: how to get Meta+y to be Meta+Tab
Date: Sun, 26 Oct 2008 01:01:31 +0200	[thread overview]
Message-ID: <1224975770.983944@arno.fh-trier.de> (raw)
In-Reply-To: <601c6f74-a6ab-434b-954a-3663a58c9f60@t39g2000prh.googlegroups.com>

Xah wrote:
> suppose i want to make Meta+y to function as pressing Meta+Tab.
> 
> intuitively, i do this:
> (keyboard-translate ?\M-y ?\M-9) ; Meta+y to Meta+Tab
> 
> but that does not work.
> 
> i looked in the elisp doc... seems the issue is rather complex
> involving elisp reader for chars under data type chapter, Event Mod
> under Input Events chapter, Keymap translation under key map
> chapter... hard to have a coherent picture at this point.
> 
> Any idea how to get this to work?
> 
>   Xah
> ∑ http://xahlee.org/
> 
> ☄

?\M-9 is the metafied key left from the 0 key. Anyway keyboard-translate
does not work with meta, try key-translation-map

(define-key key-translation-map [?\M-y] [?\M-\C-i])

-ap


      parent reply	other threads:[~2008-10-25 23:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-24 21:47 how to get Meta+y to be Meta+Tab Xah
2008-10-24 23:08 ` B. T. Raven
2008-10-25 21:40   ` Xah
2008-10-26 14:11     ` Nikolaj Schumacher
     [not found]     ` <mailman.2123.1225030309.25473.help-gnu-emacs@gnu.org>
2008-10-28  6:13       ` Xah
2008-10-25 23:01 ` Andreas Politz [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=1224975770.983944@arno.fh-trier.de \
    --to=politza@fh-trier.de \
    --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.