From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Binding meta and arrow Date: Sun, 15 May 2005 11:32:25 +0200 Message-ID: <78efd931823a10a244eb824128c1206d@Web.DE> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1116218248 27778 80.91.229.2 (16 May 2005 04:37:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 16 May 2005 04:37:28 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 16 06:37:25 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DXXLu-0001id-J4 for geh-help-gnu-emacs@m.gmane.org; Mon, 16 May 2005 06:37:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DXUyx-0006wg-Tw for geh-help-gnu-emacs@m.gmane.org; Sun, 15 May 2005 22:05:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DXHPQ-0004ZP-8J for help-gnu-emacs@gnu.org; Sun, 15 May 2005 07:35:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DXFuQ-0007pN-Bz for help-gnu-emacs@gnu.org; Sun, 15 May 2005 05:59:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DXFVo-00045U-Nx for help-gnu-emacs@gnu.org; Sun, 15 May 2005 05:34:17 -0400 Original-Received: from [217.72.192.225] (helo=smtp07.web.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DXFbM-00026P-G8 for help-gnu-emacs@gnu.org; Sun, 15 May 2005 05:40:00 -0400 Original-Received: from [84.245.189.142] (helo=[192.168.1.2]) by smtp07.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.105 #282) id 1DXFU3-00079F-00; Sun, 15 May 2005 11:32:27 +0200 In-Reply-To: Original-To: "Ian Crowther" X-Mailer: Apple Mail (2.622) X-Sender: Peter_Dyballa@web.de 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:26661 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26661 Am 15.05.2005 um 01:51 schrieb Ian Crowther: > it does exactly what I expect. I press left and it goes to the line > start. The following still don't work: > > (global-set-key [M-left] 'beginning-of-line) > (global-set-key [A-left] 'beginning-of-line) > Try first 'M-x global-set-key global-set-key' and then do M-x repeat-complex-command. You now see the code for binding the key, C-a and C-k and C-g and you insert it into your .emacs file. Could be that either your X server or you keyboard do not support Alt and Meta cursor keys. Are you working on a portable? What happens when you press the fn key? (global-set-key [(alt v)] 'yank) works for me. Could be you need to change some of your syntax. -- Greetings Pete Mac OS X is like a wigwam: no fences, no gates, but an apache inside.