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#32848: 26.1; follow-mode cursor move breaks with frame-resize-pixelwise Date: Sun, 30 Sep 2018 20:00:14 +0300 Message-ID: <83mury53a9.fsf@gnu.org> References: <83sh1s61mj.fsf@gnu.org> <20180929112520.GA5008@ACM> <83r2hc5sbf.fsf@gnu.org> <20180929144846.GC5008@ACM> <83k1n45onn.fsf@gnu.org> <20180929202545.GE5008@ACM> <83efdb5z73.fsf@gnu.org> <8336tr5j6j.fsf@gnu.org> <20180930121618.GB6305@ACM> <83sh1r3zz9.fsf@gnu.org> <20180930140921.GD6305@ACM> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1538326748 965 195.159.176.226 (30 Sep 2018 16:59:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 30 Sep 2018 16:59:08 +0000 (UTC) Cc: 32848@debbugs.gnu.org, andlind@gmail.com, darkfeline@felesatra.moe To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 30 18:59:03 2018 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 1g6f3e-00008e-Us for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Sep 2018 18:59:03 +0200 Original-Received: from localhost ([::1]:56251 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g6f5l-0003Mx-Lm for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Sep 2018 13:01:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g6f5e-0003M4-Eh for bug-gnu-emacs@gnu.org; Sun, 30 Sep 2018 13:01:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g6f5a-0001w7-DG for bug-gnu-emacs@gnu.org; Sun, 30 Sep 2018 13:01:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55897) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g6f5a-0001vx-9c for bug-gnu-emacs@gnu.org; Sun, 30 Sep 2018 13:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g6f5a-0007zZ-6m for bug-gnu-emacs@gnu.org; Sun, 30 Sep 2018 13:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Sep 2018 17:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32848 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32848-submit@debbugs.gnu.org id=B32848.153832684230686 (code B ref 32848); Sun, 30 Sep 2018 17:01:02 +0000 Original-Received: (at 32848) by debbugs.gnu.org; 30 Sep 2018 17:00:42 +0000 Original-Received: from localhost ([127.0.0.1]:60155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g6f5F-0007ys-N8 for submit@debbugs.gnu.org; Sun, 30 Sep 2018 13:00:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g6f5D-0007ye-LV for 32848@debbugs.gnu.org; Sun, 30 Sep 2018 13:00:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g6f57-0001mc-Jt for 32848@debbugs.gnu.org; Sun, 30 Sep 2018 13:00:34 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39621) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g6f51-0001jN-Eu; Sun, 30 Sep 2018 13:00:27 -0400 Original-Received: from [176.228.60.248] (port=3104 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1g6f4y-0004qg-D3; Sun, 30 Sep 2018 13:00:25 -0400 In-reply-to: <20180930140921.GD6305@ACM> (message from Alan Mackenzie on Sun, 30 Sep 2018 14:09:21 +0000) 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:150826 Archived-At: > Date: Sun, 30 Sep 2018 14:09:21 +0000 > Cc: 32848@debbugs.gnu.org, andlind@gmail.com, darkfeline@felesatra.moe > From: Alan Mackenzie > > The problem was that LH point was "straddling" the window "edge". The > solution appears to be to copy what happens when LH point is outside the > window, i.e. allow redisplay to move it back to the centre of the window. > > For this, a simple (forward-line) suffices. > > The trouble is, all the make-cursor-line-fully-visible stuff we've done > then becomes redundant, since point will never be left inside a partially > displayed line, except possibly at EOB. > > Here's my current patch. What do you think? I think we should revert the change to set make-cursor-line-fully-visible locally on the emacs-26 branch, and install this patch instead. But on master, I think we need both this patch and a special function that sets make-cursor-line-fully-visible nil in non-last windows under follow-mode, because that's definitely what follow-mode wants. WDYT?