From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Barzilay Newsgroups: gmane.emacs.devel Subject: Re: Proposal to improve the nomenclature of scrolling directions Date: Thu, 8 Nov 2012 13:39:32 -0500 Message-ID: <20635.64612.617927.353968@winooski.ccs.neu.edu> 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; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1352399986 13778 80.91.229.3 (8 Nov 2012 18:39:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Nov 2012 18:39:46 +0000 (UTC) Cc: "Stephen J. Turnbull" , Emacs development discussions , Daniel Hackney , Stefan Monnier , Dani Moncayo To: Nix Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 08 19:39:55 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 1TWX19-00064E-9V for ged-emacs-devel@m.gmane.org; Thu, 08 Nov 2012 19:39:55 +0100 Original-Received: from localhost ([::1]:48980 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWX10-0004e9-49 for ged-emacs-devel@m.gmane.org; Thu, 08 Nov 2012 13:39:46 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWX0x-0004e2-MY for emacs-devel@gnu.org; Thu, 08 Nov 2012 13:39:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TWX0p-0003jE-Vm for emacs-devel@gnu.org; Thu, 08 Nov 2012 13:39:43 -0500 Original-Received: from winooski.ccs.neu.edu ([129.10.115.117]:50654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWX0p-0003jA-Qt for emacs-devel@gnu.org; Thu, 08 Nov 2012 13:39:35 -0500 Original-Received: from winooski.ccs.neu.edu (localhost.localdomain [127.0.0.1]) by winooski.ccs.neu.edu (8.14.4/8.14.4) with ESMTP id qA8IdWmB032060; Thu, 8 Nov 2012 13:39:32 -0500 Original-Received: (from eli@localhost) by winooski.ccs.neu.edu (8.14.4/8.14.4/Submit) id qA8IdWel032057; Thu, 8 Nov 2012 13:39:32 -0500 In-Reply-To: <87liecnelf.fsf@spindle.srvr.nix> X-Mailer: VM 8.2.0a under 23.2.1 (x86_64-redhat-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 129.10.115.117 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:154744 Archived-At: 20 minutes ago, Nix wrote: > > Yes, you have to do it like that. Point is always on-screen: this > assumption is wired into all sorts of places and can never > change. But what we *can* do is make point invisible after a motion > command (pure motion only, not e.g. isearch, which means > scroll-*-command only) that 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 start of this chain of scroll > commands, emptying the SIP-last-scroll lists and making point > visible again. It's just that my experience with installing a pre-command hook to do something like this turned out to be so much work that having a specialized event loop was saner. In any case, I think that this is not easy, and frankly, with a proper in-place scrolling, I don't see any need for it beyond some rare occasional use of some command to remember a place to go back to. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life!