From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Proposal to improve the nomenclature of scrolling directions Date: Wed, 07 Nov 2012 20:49:18 -0500 Message-ID: References: <87a9uvv6ng.fsf@uwakimon.sk.tsukuba.ac.jp> <87bof9s7cl.fsf@spindle.srvr.nix> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1352339369 29778 80.91.229.3 (8 Nov 2012 01:49:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Nov 2012 01:49:29 +0000 (UTC) Cc: "Stephen J. Turnbull" , Emacs development discussions , Daniel Hackney , Dani Moncayo To: Nix Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 08 02:49:38 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 1TWHFO-0003Fp-0x for ged-emacs-devel@m.gmane.org; Thu, 08 Nov 2012 02:49:34 +0100 Original-Received: from localhost ([::1]:48722 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWHFE-0005yY-K3 for ged-emacs-devel@m.gmane.org; Wed, 07 Nov 2012 20:49:24 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWHFB-0005yH-5d for emacs-devel@gnu.org; Wed, 07 Nov 2012 20:49:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TWHFA-0002Sy-3N for emacs-devel@gnu.org; Wed, 07 Nov 2012 20:49:21 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:1465) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWHF9-0002St-VK for emacs-devel@gnu.org; Wed, 07 Nov 2012 20:49:20 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu0/O+LEi/2dsb2JhbABEtBGBCIIWAQVWIxALNBIUGA0kiCELuXoEkEQDiEKacYFYgwc X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="206708901" Original-Received: from 206-248-177-34.dsl.teksavvy.com (HELO ceviche.home) ([206.248.177.34]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 07 Nov 2012 20:49:19 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id B7CDE6610A; Wed, 7 Nov 2012 20:49:18 -0500 (EST) In-Reply-To: <87bof9s7cl.fsf@spindle.srvr.nix> (nix@esperi.org.uk's message of "Wed, 07 Nov 2012 16:31:06 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 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:154723 Archived-At: > (This model is also why I use Eli Barzilay's wonderfully simple > scroll-in-place implementation, which I really should contribute to > upstream Emacs one of these years: I had Eli's go-ahead nearly two years Hadn't heard about it. I just looked at https://github.com/elibarzilay/eliemacs/blob/master/include/scroll-in-place.el and IIUC all it does is to remember the previous positions during a sequence of scroll commands, and to use them when scrolling back. This sounds OK indeed. It could also be used to let the user go back to where she was before scrolling (to simulate those other editors where point is not moved to stay visible while scrolling, so that non-scrolling commands teleport you right back to where you were). Stefan