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: Sat, 29 Sep 2018 00:27:11 +0300 Message-ID: <838t3l71ow.fsf@gnu.org> References: <8336tv8iv7.fsf@gnu.org> <20180928203151.GB5172@ACM> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1538169970 28858 195.159.176.226 (28 Sep 2018 21:26:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 28 Sep 2018 21:26:10 +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 Fri Sep 28 23:26:06 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 1g60Gz-0007NH-RL for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Sep 2018 23:26:05 +0200 Original-Received: from localhost ([::1]:46216 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g60J5-0007yt-S3 for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Sep 2018 17:28:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g60Iv-0007yn-HP for bug-gnu-emacs@gnu.org; Fri, 28 Sep 2018 17:28:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g60Is-0006yL-DK for bug-gnu-emacs@gnu.org; Fri, 28 Sep 2018 17:28:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53864) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g60Is-0006yF-9G for bug-gnu-emacs@gnu.org; Fri, 28 Sep 2018 17:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g60Is-0006aI-1A for bug-gnu-emacs@gnu.org; Fri, 28 Sep 2018 17:28: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: Fri, 28 Sep 2018 21:28: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.153817007125291 (code B ref 32848); Fri, 28 Sep 2018 21:28:01 +0000 Original-Received: (at 32848) by debbugs.gnu.org; 28 Sep 2018 21:27:51 +0000 Original-Received: from localhost ([127.0.0.1]:58122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g60Ig-0006Zr-P3 for submit@debbugs.gnu.org; Fri, 28 Sep 2018 17:27:50 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g60Ic-0006ZV-3o for 32848@debbugs.gnu.org; Fri, 28 Sep 2018 17:27:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g60IT-0006pz-Lz for 32848@debbugs.gnu.org; Fri, 28 Sep 2018 17:27:40 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36958) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g60IM-0006nt-2j; Fri, 28 Sep 2018 17:27:32 -0400 Original-Received: from [176.228.60.248] (port=4424 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1g60IH-0003J0-AT; Fri, 28 Sep 2018 17:27:26 -0400 In-reply-to: <20180928203151.GB5172@ACM> (message from Alan Mackenzie on Fri, 28 Sep 2018 20:31:51 +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:150744 Archived-At: > Date: Fri, 28 Sep 2018 20:31:51 +0000 > Cc: Allen Li , Anders Lindgren , > 32848@debbugs.gnu.org > From: Alan Mackenzie > > (iv) Redisplay sees w->force_start true and > make_cursor_line_fully_visible_p also true. These conflict with > eachother here. Priority is given to make_cursor_...._p. > > Why does w->force_start not have priority here? Because by default we don't want to show the cursor in a partial line, ever: such a line might not be legible. Over the years, more and more rare use cases were reported where such a situation happens, and we fixed them one by one. Evidently, this is the popular demand. Follow-mode is special in this regard, because with it, showing a partial line is not a flaw, as that same line will be fully visible in the next window, and follow-mode actually switches to that next window. So we need to tell the display engine to behave specially in this case. I suggested 2 ways of doing that, the simple one actually does what you expected, i.e. the force_start flag will win.