From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Ian Crowther" Newsgroups: gmane.emacs.help Subject: Binding meta and arrow Date: Sat, 14 May 2005 00:27:27 +0100 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: sea.gmane.org 1116027634 6711 80.91.229.2 (13 May 2005 23:40:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 13 May 2005 23:40:34 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 14 01:48:31 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DWjtM-0000qt-KF for geh-help-gnu-emacs@m.gmane.org; Sat, 14 May 2005 01:48:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DWjuq-0005vN-V6 for geh-help-gnu-emacs@m.gmane.org; Fri, 13 May 2005 19:50:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DWjgr-0000eI-Hn for help-gnu-emacs@gnu.org; Fri, 13 May 2005 19:35:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DWjgn-0000aq-0D for help-gnu-emacs@gnu.org; Fri, 13 May 2005 19:35:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DWjgl-0000Xo-Te for help-gnu-emacs@gnu.org; Fri, 13 May 2005 19:35:27 -0400 Original-Received: from [64.4.61.47] (helo=hotmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DWjhx-0004u8-Da for help-gnu-emacs@gnu.org; Fri, 13 May 2005 19:36:41 -0400 Original-Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 13 May 2005 16:27:28 -0700 Original-Received: from 64.4.61.207 by by102fd.bay102.hotmail.msn.com with HTTP; Fri, 13 May 2005 23:27:27 GMT X-Originating-IP: [64.4.61.207] X-Originating-Email: [i_crowther@hotmail.com] X-Sender: i_crowther@hotmail.com Original-To: help-gnu-emacs@gnu.org X-OriginalArrivalTime: 13 May 2005 23:27:28.0061 (UTC) FILETIME=[53A0FED0:01C55813] 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:26580 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26580 I'm trying to make emacs bind "M-arrow" to things. I know other applications can use the key combination in the same environment (on the console, using putty and screen) and it seems emacs itself can handle it; when I go "C-h c M-left" it says "ESC is undefined" I can evaluate "(global-set-key [left] "left was pressed")" and get "left was pressed" inserted into the buffer when I press left. All I now need to do is try to figure out how to use the alt key on my keyboard. I've tried the following: (global-set-key [M-left] "M-left was pressed") (global-set-key [A-left] "A-left was pressed") (global-set-key [alt left] "alt left was pressed") (global-set-key [meta left] "meta left was pressed") And because I don't know what they do, I tried the following combinations also: (global-set-key [H-left] "H-left was pressed") (global-set-key [s-left] "s-left was pressed") None of them work. I know emacs can tell I've pressed M-left though. I'd be grateful if somebody could tell me how I'm going wrong trying to bind it.