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: Thu, 08 Nov 2012 13:39:36 -0500 Message-ID: References: <87a9uvv6ng.fsf@uwakimon.sk.tsukuba.ac.jp> <87bof9s7cl.fsf@spindle.srvr.nix> <874nl0ov8g.fsf@spindle.srvr.nix> <20635.63115.874182.168553@winooski.ccs.neu.edu> <87liecnelf.fsf@spindle.srvr.nix> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1352399989 13788 80.91.229.3 (8 Nov 2012 18:39:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Nov 2012 18:39:49 +0000 (UTC) Cc: Eli Barzilay , Emacs development discussions , Daniel Hackney , "Stephen J. Turnbull" , Dani Moncayo To: Nix Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 08 19:39: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 1TWX1A-00065v-VT for ged-emacs-devel@m.gmane.org; Thu, 08 Nov 2012 19:39:57 +0100 Original-Received: from localhost ([::1]:49075 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWX11-0004hm-S7 for ged-emacs-devel@m.gmane.org; Thu, 08 Nov 2012 13:39:47 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWX0u-0004dx-FT for emacs-devel@gnu.org; Thu, 08 Nov 2012 13:39:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TWX0s-0003ja-DS for emacs-devel@gnu.org; Thu, 08 Nov 2012 13:39:40 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:2446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWX0s-0003jV-9F for emacs-devel@gnu.org; Thu, 08 Nov 2012 13:39:38 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu0/O+LEi/2dsb2JhbABEtBGBCIIVAQEEAVYjBQsLNBIUGA0kLIdwBboJkEQDiEKacYFYgweBOBo X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="206755909" Original-Received: from 206-248-177-34.dsl.teksavvy.com (HELO pastel.home) ([206.248.177.34]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 08 Nov 2012 13:39:37 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 6ED7359780; Thu, 8 Nov 2012 13:39:36 -0500 (EST) In-Reply-To: <87liecnelf.fsf@spindle.srvr.nix> (nix@esperi.org.uk's message of "Thu, 08 Nov 2012 18:18:04 +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:154745 Archived-At: > I'm honestly not sure how anyone can tolerate Emacs's default scrolling > behaviour -- I've used something like scroll-in-place for my entire life AFAIK scroll-preserve-screen-position already provides most of that behavior. I have it set to `always' here, mostly as an experiment (started years ago and that I had forgotten about). During this experiment I've noticed one case where it's annoying: when you have everything folded and use reveal-mode, it causes scroll commands to much too often hide the text I'm looking at (because while it'd still be onscreen, point was moved to some other line that's outside of the function which as a consequence gets refolded). So I think a value of t would fit my usage pattern better. > should leave point offscreen, then detect any *other* command (in the > same way that e.g. `repeat' does) and jump back to where we were at the Right, e.g. using something like set-temporary-overlay-map. Note that I wouldn't do it for just "any other" command (that's what many other editors do, but I find it insufferable). Better provide just one particular "jump back" binding (C-g sounds like a natural choice for it). Stefan