From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: show-enclosing-scopes Date: Thu, 17 May 2018 22:16:39 +0300 Message-ID: <83o9hehz3c.fsf@gnu.org> References: <5cb3e5a6-310f-1f2a-ceb8-01b929158ebb@gmail.com> <594F9BDF-F041-4B8D-8425-0BE2AABAA448@gnu.org> <258be7dd-0bf6-f5b1-20d1-08ea65a177e8@gmail.com> <83wow2iamm.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1526584693 8849 195.159.176.226 (17 May 2018 19:18:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 17 May 2018 19:18:13 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 17 21:18:09 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fJOPg-0002AG-GF for ged-emacs-devel@m.gmane.org; Thu, 17 May 2018 21:18:08 +0200 Original-Received: from localhost ([::1]:34739 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJORk-0006FT-Dv for ged-emacs-devel@m.gmane.org; Thu, 17 May 2018 15:20:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJOO8-0004Qp-1o for emacs-devel@gnu.org; Thu, 17 May 2018 15:16:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJOO3-00066c-Av for emacs-devel@gnu.org; Thu, 17 May 2018 15:16:32 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54744) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJOO3-00066W-6s; Thu, 17 May 2018 15:16:27 -0400 Original-Received: from [176.228.60.248] (port=3055 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fJOO2-0000eO-Kc; Thu, 17 May 2018 15:16:27 -0400 In-reply-to: (message from Stefan Monnier on Thu, 17 May 2018 13:41:37 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:225374 Archived-At: > From: Stefan Monnier > Date: Thu, 17 May 2018 13:41:37 -0400 > Cc: emacs-devel@gnu.org > > > I'd say if it is known that the goal point is not inside the visible > > portion of the buffer after scrolling, don't scroll at all; instead, > > just move point to the goal. > > I was assuming a situation such as a post-command-hook that wants to > override the scroll that might have taken place during the > preceding command. No, the scroll command is part of the pre-command-hook set up by the package. Or at least that was my understanding.