From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.help Subject: Re: using keyboard arrows in the emacs editor Date: 08 Mar 2005 05:51:46 -0800 Message-ID: References: <1110234319.439015.21920@l41g2000cwc.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1110290133 20816 80.91.229.2 (8 Mar 2005 13:55:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 8 Mar 2005 13:55:33 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 08 14:55:33 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D8fBC-0003AX-Vs for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Mar 2005 14:55:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D8fPg-000089-S9 for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Mar 2005 09:10:20 -0500 Original-Path: shelby.stanford.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-NNTP-Posting-Host: physics.stanford.edu Original-X-Trace: news.Stanford.EDU 1110289907 17436 171.64.107.180 (8 Mar 2005 13:51:47 GMT) Original-X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:129078 Original-To: help-gnu-emacs@gnu.org 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 X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: news.gmane.org gmane.emacs.help:24625 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24625 Please don't shout. Thanks. > Does anyone have any samples of how to activate the keyboard arrows in > the emacs editor ? > > Here's what I have in my editor but it wasn't doesn't work: > > (global-set-key [?\e ?#] 'next-line) > (global-set-key [?\e ?&] 'previous-line) > (global-set-key [?\e ?_] 'forward-char) > (global-set-key [?\e ?*] 'backward-char) The keyboard arrows should work; you shouldn't have to rebind them. What platform are you running Emacs on? Text terminal, or xterm, or X, or what? The more specific you are, the more likely you will get help quickly.