From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Politz Newsgroups: gmane.emacs.help Subject: Re: emacs-w3m question Date: Thu, 06 Nov 2008 17:51:55 +0100 Organization: FH-Trier Message-ID: <1225990386.276105@arno.fh-trier.de> References: <87vdvdu4mp.fsf@literaturlatenight.de> <74160b46-e541-436a-a776-c8bd53d6cd55@o4g2000pra.googlegroups.com> <1225544676.826012@arno.fh-trier.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1225993251 14146 80.91.229.12 (6 Nov 2008 17:40:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Nov 2008 17:40:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 06 18:41:54 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ky8rc-0001bI-Bb for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Nov 2008 18:41:48 +0100 Original-Received: from localhost ([127.0.0.1]:56834 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ky8qV-00075u-09 for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Nov 2008 12:40:39 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-2.dfn.de!news.uni-stuttgart.de!news.belwue.de!news.uni-kl.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 52 Original-NNTP-Posting-Host: 143-93-54-11.arno.fh-trier.de Original-X-Trace: news.uni-kl.de 1225990417 20904 143.93.54.11 (6 Nov 2008 16:53:37 GMT) Original-X-Complaints-To: usenet@news.uni-kl.de Original-NNTP-Posting-Date: Thu, 6 Nov 2008 16:53:37 +0000 (UTC) User-Agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018) In-Reply-To: Cache-Post-Path: arno.fh-trier.de!unknown@dslb-084-059-204-095.pools.arcor-ip.net X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/) Original-Xref: news.stanford.edu gnu.emacs.help:164181 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:59515 Archived-At: Xavier Maillard wrote: > Hi, > > Xavier Maillard wrote: > > > i think it is good to make this default. More intuitive for emacs > > users. > > > > For your information, many old computers do not have > > Up/Down/Left/Right keys thus making this as a default won't work > > for them. I never use these key due to my habits. Therefor I > > strongly disagree with you on that point. > > > > Xavier > > If you don't have or use the cursor keys, why would you mind > what it's default bindings are ? That doesn't make any sense. > > Read again, it makes pefectly sense (hint: defaults apply to all > users). > > Xavier I did, it doesn't. Xahs proposal: >(add-hook 'w3m-mode-hook > (lambda () > (define-key w3m-mode-map (kbd "") 'previous-line) ; was w3m- > previous-anchor. Use Shift+Tab. > (define-key w3m-mode-map (kbd "") 'next-line) ; was w3m-next- > anchor. Use Tab. > (define-key w3m-mode-map (kbd "") 'backward-char) ; was w3m- > view-previous-page. Use B. > (define-key w3m-mode-map (kbd "") 'forward-char) ; was w3m- > view-this-url. Use Enter. > )) > > i think it is good to make this default. More intuitive for emacs > users. The arrow keys are bound in the global map to previous-line/next-line/backward-char /forward-char. This is the default binding. They are even mentioned in the tutorial as an inferior way to move point. Now, w3m rebinds this keys to some modespecific actions. It should be obvious, that this is a problem. Would you like it if some mode binds C-n to push-button ? But I don't want to stop you guys from debating, what ever it is you are debating. -ap