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: Thu, 27 Sep 2018 11:06:20 +0300 Message-ID: <8336tv8iv7.fsf@gnu.org> References: NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1538035511 18634 195.159.176.226 (27 Sep 2018 08:05:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 27 Sep 2018 08:05:11 +0000 (UTC) Cc: 32848@debbugs.gnu.org To: Allen Li , Alan Mackenzie , Anders Lindgren Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 27 10:05:07 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 1g5RII-0004m0-PC for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Sep 2018 10:05:06 +0200 Original-Received: from localhost ([::1]:34318 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g5RKP-0000Os-EE for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Sep 2018 04:07:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g5RKG-0000OG-4d for bug-gnu-emacs@gnu.org; Thu, 27 Sep 2018 04:07:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g5RKA-0001vH-B1 for bug-gnu-emacs@gnu.org; Thu, 27 Sep 2018 04:07:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51614) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g5RKA-0001tJ-6j for bug-gnu-emacs@gnu.org; Thu, 27 Sep 2018 04:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g5RK9-0002zn-U6 for bug-gnu-emacs@gnu.org; Thu, 27 Sep 2018 04:07: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: Thu, 27 Sep 2018 08:07:01 +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.153803561411502 (code B ref 32848); Thu, 27 Sep 2018 08:07:01 +0000 Original-Received: (at 32848) by debbugs.gnu.org; 27 Sep 2018 08:06:54 +0000 Original-Received: from localhost ([127.0.0.1]:55872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g5RK2-0002zS-Fl for submit@debbugs.gnu.org; Thu, 27 Sep 2018 04:06:54 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g5RK0-0002zD-Aj for 32848@debbugs.gnu.org; Thu, 27 Sep 2018 04:06:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g5RJo-0000oK-0a for 32848@debbugs.gnu.org; Thu, 27 Sep 2018 04:06:45 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44582) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g5RJn-0000oG-QH; Thu, 27 Sep 2018 04:06:39 -0400 Original-Received: from [176.228.60.248] (port=2743 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1g5RJl-0004yU-DC; Thu, 27 Sep 2018 04:06:38 -0400 In-reply-to: (message from Allen Li on Wed, 26 Sep 2018 15:49:15 -0700) 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:150701 Archived-At: > From: Allen Li > Date: Wed, 26 Sep 2018 15:49:15 -0700 > > Moving the cursor off the bottom of the window with follow-mode enabled > doesn't move to the other window properly if frame-resize-pixelwise is > set and a partial line is visible. It seems like setting make-cursor-line-fully-visible to nil solves the problem. Could you try that for a while, and see if this has any adverse effects? Alan and Anders: does setting this variable to nil in buffers under follow-mode sounds like an okay solution? It might mean that in some rare cases the user will see the current line only partially (only in the last window in the group). If you think this is OK, we could arrange for that variable to be set locally as part of turning on follow-mode. A more complex solution would be to allow make-cursor-line-fully-visible have a value that is a function, which follow-mode will define in a way that will only allow partially-visible current line in a window if it is not the last one in the order returned by follow-all-followers. Comments?