From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alexander Nikolov Newsgroups: gmane.emacs.help Subject: Re: Help producing the Alt modifier Date: 05 May 2003 01:25:22 +0000 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <84he8gvz6e.fsf@lucy.is.informatik.uni-duisburg.de> <84wuha6g84.fsf@lucy.is.informatik.uni-duisburg.de> <5lu1cegvpx.fsf@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1052087400 9307 80.91.224.249 (4 May 2003 22:30:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 4 May 2003 22:30:00 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Mon May 05 00:29:59 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19CRza-0002Pr-00 for ; Mon, 05 May 2003 00:29:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19CS0G-0006Ly-01 for gnu-help-gnu-emacs@m.gmane.org; Sun, 04 May 2003 18:30:40 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.online.be!fu-berlin.de!uni-berlin.de!ip217-30.mnet.BG!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: ip217-30.mnet.bg (193.110.217.30) Original-X-Trace: fu-berlin.de 1052087182 15465231 193.110.217.30 (16 [159246]) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:112765 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:9260 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9260 "Stefan Monnier" writes: > >>>>> "Kai" == Kai Großjohann writes: > > translates into ESC (which is the same as C-[). There is > > also additional magic that makes M-x be the same as ESC x, but I > > don't know how that works. It's different magic, I think. > > Yes, that magic is hardcoded in keymap.c (mostly in access_keymap > and Fdefine_key). Note that it does not apply to Meta + function key, > so ESC a == M-a but M-f8 != ESC f8. > > I think it would be interesting to make this less hard-coded and > generalize it so that other modifiers can be mapped to prefixes. > > > Stefan I think that my problem is relevant to the subject of this thread so I'd post it here. Does anybody have any clues as to why my Alt key is working fine as a Meta modifier within X but does not trigger any action within Emacs on the terminal. ESC is working both ways, but is somewhat inconvenient. I'm interested id ESC can be modified in such a way that it acts _e_x_a_c_t_l_y like a Meta key. Regards, Alexander