From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.devel Subject: Re: Proposal to improve the nomenclature of scrolling directions Date: Sun, 4 Nov 2012 18:30:52 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1352050313 22984 80.91.229.3 (4 Nov 2012 17:31:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 Nov 2012 17:31:53 +0000 (UTC) Cc: Stefan Monnier , Emacs development discussions To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 04 18:31:58 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 1TV43C-0003sF-32 for ged-emacs-devel@m.gmane.org; Sun, 04 Nov 2012 18:31:58 +0100 Original-Received: from localhost ([::1]:57910 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TV433-00027n-7J for ged-emacs-devel@m.gmane.org; Sun, 04 Nov 2012 12:31:49 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TV42f-00026n-7b for emacs-devel@gnu.org; Sun, 04 Nov 2012 12:31:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TV42A-0005UU-KI for emacs-devel@gnu.org; Sun, 04 Nov 2012 12:31:25 -0500 Original-Received: from mail-oa0-f41.google.com ([209.85.219.41]:59866) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TV42A-0005UP-FZ for emacs-devel@gnu.org; Sun, 04 Nov 2012 12:30:54 -0500 Original-Received: by mail-oa0-f41.google.com with SMTP id k14so5657268oag.0 for ; Sun, 04 Nov 2012 09:30:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2xZQo38GVAKJ6vNtkHRS7ZeI+pnGf7E6GC0jYIJiaLY=; b=X5qXfnRMOJrhHdUc+t1P7ocS10lXMM2sJFYxdjheYVzJ4iyJ0GMP1+NwSV1azzz5ZM Ju2XKmBesWdFw1IXN0Qday9vUtMSIXZ0fNLX0qyYgI6JYvt1WKpwK+QfXwnvfsfmuyyT BrcwGVu70QJh1x41QQCb+W07GITb1VIeG9MG5MBEPDzzuQhpCg07lelW1iPp9FK39mhH uuv05IMb/2KOOJQQujqqiNnmCh3nGutM9CZdHIlmWN8GGEMZLZz1XvZh0LAjZ6zosXHv n/ugDci5n7iArDMOmaEZwZtro+WHf822i5V94m9oI4hSf92RGzffCRZEANaXeEx2022R 9grA== Original-Received: by 10.182.17.100 with SMTP id n4mr5996487obd.45.1352050252774; Sun, 04 Nov 2012 09:30:52 -0800 (PST) Original-Received: by 10.60.131.168 with HTTP; Sun, 4 Nov 2012 09:30:52 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.219.41 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:154665 Archived-At: >> I disagree: IMHO, the words that best describe the direction of a >> _vertical_ movement are precisely "up" and "down", and are they are >> used elsewhere for this very purpose. > > Yes, up and down describe vertical movement, but as the whole thread > shows, they do not clearly say what is moving, so both readings are > possible. As I said, with my proposal it is clear what part regarded as the "moving one": the view. The documentation would be updated to state this clearly, and also the command names, which explicitly mention the moving part (e.g. "scroll-view-down"). So the ambiguity would removed and a single (standard) criterion would be adopted. > move-point-towards-end-of-buffer* and > move-point-towards-beginning-of-buffer* are unambiguos. Vertical (or horizontal) scrolling doesn't necessarily imply moving the point. What is moving is the view relative to the text (or vice-versa), and as I said, IMO the cleaner way to express that should include the "moving" part (i.e. the view) and the direction (up/down/left/right). Hence my proposal: scroll-view-up, scroll-view-down etc. -- Dani Moncayo