From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Robert D. Crawford" Newsgroups: gmane.emacs.help Subject: Re: Rebinding arrow keys in emacs-w3m Date: Sat, 07 Oct 2006 21:57:50 -0500 Message-ID: <87bqony0nl.fsf@comcast.net> References: <1160210109.129083.135620@h48g2000cwc.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1160278835 21545 80.91.229.2 (8 Oct 2006 03:40:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 8 Oct 2006 03:40:35 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 08 05:40:31 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GWPWh-0000CT-8U for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Oct 2006 05:40:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GWPWg-0000kq-6P for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Oct 2006 23:40:30 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Sat, 07 Oct 2006 21:58:28 -0500 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:Guf8ahMgSEs11kJdAKubI68E03g= Original-Lines: 22 Original-NNTP-Posting-Host: 68.52.51.66 Original-X-Trace: sv3-NUqrvDLk94vVgkv6WiE3LEEYfp5I+MkRPQnRPRJCiYN7VYe5YOVbxWlE8tPhcJIDE/OTffJHYftCSeB!UAZbkb1vRZHgIwMGFzyHtlVFquV8NeFHheTKtRioeogX8GE7fvvTHwPUr88= Original-X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Original-Xref: shelby.stanford.edu gnu.emacs.help:142270 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 Xref: news.gmane.org gmane.emacs.help:37889 Archived-At: "marijuanated@gmail.com" writes: > Is it possibile to rebind the arrow keys to next line in emacs w3m? Since I cannot answer part 2, as I am not familiar with the Axel downloader, I decided to see if anyone else replied. Since they did not, here is the code to define the arrow keys. If you decide to redefine the right and left arrows, replace the emacspeak commands with whatever you decide to use. (define-key w3m-mode-map [down] 'next-line) (define-key w3m-mode-map [up] 'previous-line) (define-key w3m-mode-map [right] 'emacspeak-forward-char) (define-key w3m-mode-map [left] 'emacspeak-backward-char) rdc -- Robert D. Crawford rdc1x@comcast.net Hodie natus est radici frater. [ Unto the root is born a brother ]