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 #70 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: Sun, 30 Sep 2018 20:00:14 +0300
> Date: Sun, 30 Sep 2018 14:09:21 +0000
> Cc: 32848 <at> debbugs.gnu.org, andlind <at> gmail.com, darkfeline <at> felesatra.moe
> From: Alan Mackenzie <acm <at> muc.de>
> 
> 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?




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

Previous Next


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