From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Politz Newsgroups: gmane.emacs.help Subject: Re: how to get Meta+y to be Meta+Tab Date: Sun, 26 Oct 2008 01:01:31 +0200 Organization: FH-Trier Message-ID: <1224975770.983944@arno.fh-trier.de> References: <601c6f74-a6ab-434b-954a-3663a58c9f60@t39g2000prh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1224978051 22391 80.91.229.12 (25 Oct 2008 23:40:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Oct 2008 23:40:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 26 01:41:52 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KtslT-0003da-A3 for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Oct 2008 01:41:51 +0200 Original-Received: from localhost ([127.0.0.1]:56698 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtskN-0003OY-GH for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Oct 2008 19:40:43 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!feeder.erje.net!news.k-dsl.de!news.uni-stuttgart.de!news.belwue.de!news.uni-kl.de!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 26 Original-NNTP-Posting-Host: 143-93-54-11.arno.fh-trier.de Original-X-Trace: news.uni-kl.de 1224975797 19076 143.93.54.11 (25 Oct 2008 23:03:17 GMT) Original-X-Complaints-To: usenet@news.uni-kl.de Original-NNTP-Posting-Date: Sat, 25 Oct 2008 23:03:17 +0000 (UTC) User-Agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724) In-Reply-To: <601c6f74-a6ab-434b-954a-3663a58c9f60@t39g2000prh.googlegroups.com> Cache-Post-Path: arno.fh-trier.de!unknown@dslb-084-059-199-131.pools.arcor-ip.net X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/) Original-Xref: news.stanford.edu gnu.emacs.help:163823 comp.emacs:97274 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:59164 Archived-At: 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