From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#27932: 26.0.50; Feature request: prevent scroll commands from changing the buffer location of point Date: Sat, 05 Aug 2017 09:44:57 +0300 Message-ID: <83mv7ewm1i.fsf@gnu.org> References: <83tw1oy54c.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1501915579 23152 195.159.176.226 (5 Aug 2017 06:46:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 5 Aug 2017 06:46:19 +0000 (UTC) Cc: 27932@debbugs.gnu.org To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 05 08:46:12 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ddsqc-0005L8-QL for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Aug 2017 08:46:06 +0200 Original-Received: from localhost ([::1]:55564 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddsqi-0004j1-T9 for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Aug 2017 02:46:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddsqb-0004ha-2s for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2017 02:46:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddsqY-0004SW-02 for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2017 02:46:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39695) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ddsqX-0004SE-T9 for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2017 02:46:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ddsqX-0001ms-LZ for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2017 02:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Aug 2017 06:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27932 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27932-submit@debbugs.gnu.org id=B27932.15019155346837 (code B ref 27932); Sat, 05 Aug 2017 06:46:01 +0000 Original-Received: (at 27932) by debbugs.gnu.org; 5 Aug 2017 06:45:34 +0000 Original-Received: from localhost ([127.0.0.1]:42372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddsq6-0001mB-3A for submit@debbugs.gnu.org; Sat, 05 Aug 2017 02:45:34 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddsq4-0001ly-Ab for 27932@debbugs.gnu.org; Sat, 05 Aug 2017 02:45:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddspw-0003Zy-4h for 27932@debbugs.gnu.org; Sat, 05 Aug 2017 02:45:27 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60404) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddspw-0003Zh-1k; Sat, 05 Aug 2017 02:45:24 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1065 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ddspd-0007Z6-Eo; Sat, 05 Aug 2017 02:45:06 -0400 In-reply-to: (message from Richard Stallman on Fri, 04 Aug 2017 17:36:07 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:135382 Archived-At: > From: Richard Stallman > CC: dmoncayo@gmail.com, 27932@debbugs.gnu.org > Date: Fri, 04 Aug 2017 17:36:07 -0400 > > > It would require a complete rewrite of most of the display engine > > code. The Emacs display engine is based on the principle that point > > should always be visible, so whenever it becomes invisible, Emacs > > scrolls the window to make it visible again. > > I don't think the change would be terribly hard. One would have to > find the places that insist on putting point on the screen, but I > think the changes required in each of those places would not be big. The number of such places got a lot larger than it was when you were more actively hacking Emacs, because over the years some users (Dani included) requested more and more accuracy in that direction. As for whether the changes in those places are hard, depends on how well the person who'll do that understands what the code they are looking at is doing, and why. The answer might not always be obvious. And then there are higher-level issues, like what does this mode mean when scroll-conservatively is in effect. > If someone wants to try it, I encourage per to try it. Me too. In fact, I'd encourage even smaller changes related to the display code, so that we have more people who can make changes there than we do now.