GNU bug report logs - #32848
26.1; follow-mode cursor move breaks with frame-resize-pixelwise

Previous Next

Package: emacs;

Reported by: Allen Li <darkfeline <at> felesatra.moe>

Date: Wed, 26 Sep 2018 23:07:01 UTC

Severity: normal

Merged with 8390, 8413

Found in versions 23.3, 26.1

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


Message #19 received at 32848 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Alan Mackenzie <acm <at> muc.de>
Cc: 32848 <at> debbugs.gnu.org, andlind <at> gmail.com, darkfeline <at> felesatra.moe
Subject: Re: bug#32848: 26.1; follow-mode cursor move breaks with
 frame-resize-pixelwise
Date: Sat, 29 Sep 2018 00:27:11 +0300
> Date: Fri, 28 Sep 2018 20:31:51 +0000
> Cc: Allen Li <darkfeline <at> felesatra.moe>, Anders Lindgren <andlind <at> gmail.com>,
>   32848 <at> debbugs.gnu.org
> From: Alan Mackenzie <acm <at> muc.de>
> 
> (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.




This bug report was last modified 6 years and 276 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.