From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.devel Subject: Re: Proposal to improve the nomenclature of scrolling directions Date: Tue, 13 Nov 2012 10:05:14 +0100 Message-ID: <87y5i5vpo5.fsf@bzg.ath.cx> References: <87ehk8umhu.fsf@spindle.srvr.nix> <20121107.091225.1379093408169018283.hanche@math.ntnu.no> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1352797527 24330 80.91.229.3 (13 Nov 2012 09:05:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Nov 2012 09:05:27 +0000 (UTC) Cc: emacs-devel@gnu.org To: Harald Hanche-Olsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 13 10:05:37 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TYCR4-0005aM-9M for ged-emacs-devel@m.gmane.org; Tue, 13 Nov 2012 10:05:34 +0100 Original-Received: from localhost ([::1]:54127 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYCQu-0006Vj-He for ged-emacs-devel@m.gmane.org; Tue, 13 Nov 2012 04:05:24 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYCQp-0006UT-C4 for emacs-devel@gnu.org; Tue, 13 Nov 2012 04:05:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TYCQm-00087R-8y for emacs-devel@gnu.org; Tue, 13 Nov 2012 04:05:19 -0500 Original-Received: from mail-wi0-f177.google.com ([209.85.212.177]:54098) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYCQm-000871-1W for emacs-devel@gnu.org; Tue, 13 Nov 2012 04:05:16 -0500 Original-Received: by mail-wi0-f177.google.com with SMTP id c10so1518193wiw.12 for ; Tue, 13 Nov 2012 01:05:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=KCekqZCoNazIye/P1BkGVhVRawaGftqoL3gZjASmMyE=; b=DwEGbrwCTaLYqACfs727wWpyXvGnKnMVlELsoM34OXI9LOoFM6AfXD/331spTDWKN1 P/LvgnScnYXNNlULBEY44vNaeaYLDEROk91Ptnz4JxM6OV7huGwAoA7pdvHZh+u/iTgx ywITvt6sXvQL9tQu7Odys6J1UzoAGysCTs80ifBi5W9aH50641KCuIAEL9bPp6g1ISds 7r7JQPV2yam47+bnKtEyIV2hgbUX10GjVPxNSSrlesxtAGNER0N52clwb2cx0E0hHKql LSnlvv9iNM/uBmr7nbtN56s4WSgG0E0HIMUAwOQHXj929wq8Pigum4nfxtn5hm46cVfN IiAQ== Original-Received: by 10.180.86.7 with SMTP id l7mr18984152wiz.5.1352797515304; Tue, 13 Nov 2012 01:05:15 -0800 (PST) Original-Received: from bzg.localdomain (mar75-2-81-56-68-112.fbx.proxad.net. [81.56.68.112]) by mx.google.com with ESMTPS id j18sm13338531wiv.9.2012.11.13.01.05.14 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 13 Nov 2012 01:05:14 -0800 (PST) Original-Received: by bzg.localdomain (Postfix, from userid 1000) id E28F52241F; Tue, 13 Nov 2012 10:05:14 +0100 (CET) In-Reply-To: <20121107.091225.1379093408169018283.hanche@math.ntnu.no> (Harald Hanche-Olsen's message of "Wed, 07 Nov 2012 09:12:25 +0100 (CET)") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.212.177 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:154843 Archived-At: --=-=-= Content-Type: text/plain Hi Harald, Harald Hanche-Olsen writes: > I don't use C-x < and C-x > very often, but when I do, I *always* get > the direction wrong. Surely, the same issue is at play here. Me too. But here, the issue is not only about the names of these commands but also about the choice of '<' and '>' wrt the consistency with M-< and M->. With M-< going at the beginning of the buffer, C-x < suggests scrolling toward the beginning of the left margin (at least to me), which is... the opposite of the current behavior. > But I'll stop whining right now and just insert code in .emacs to swap > the two key bindings. I just couldn't resist this opportunity to > participate in some good bike shedding. :) I'm attaching a trivial patch in case. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=window.c.patch === modified file 'src/window.c' --- src/window.c 2012-11-12 04:00:55 +0000 +++ src/window.c 2012-11-13 09:00:54 +0000 @@ -6912,8 +6912,8 @@ void keys_of_window (void) { - initial_define_key (control_x_map, '<', "scroll-left"); - initial_define_key (control_x_map, '>', "scroll-right"); + initial_define_key (control_x_map, '>', "scroll-left"); + initial_define_key (control_x_map, '<', "scroll-right"); initial_define_key (global_map, Ctl ('V'), "scroll-up-command"); initial_define_key (meta_map, Ctl ('V'), "scroll-other-window"); --=-=-= Content-Type: text/plain -- Bastien --=-=-=--