GNU bug report logs - #7910
23.2; inconsistent scrolling

Previous Next

Package: emacs;

Reported by: Oleksandr Manzyuk <manzyuk <at> gmail.com>

Date: Mon, 24 Jan 2011 20:42:02 UTC

Severity: normal

Tags: confirmed

Found in version 23.2

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: manzyuk <at> gmail.com, 7910 <at> debbugs.gnu.org
Subject: Re: bug#7910: 23.2; inconsistent scrolling
Date: Tue, 08 Dec 2020 20:31:35 +0200
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Date: Tue, 08 Dec 2020 16:46:20 +0100
> Cc: 7910 <at> debbugs.gnu.org
> 
> emacs -Q src/alloc.c
> M-: (setq scroll-preserve-screen-position t) RET
> 
> Then move point down to the next-to-last line
> 
> Then hit `C-v':
> 
> Point is moved to the first visible line in the window instead of
> remaining at the next-to-last line.
> 
> If you do this anywhere else in the buffer (except the last two lines
> (and the first two lines)), the visual point is kept the same place.
> 
> I don't use this setting myself, so I'm wondering -- is this intended
> behaviour (i.e., sorta not using the setting on the two first/last
> lines), or is this a bug?

It's according to the doc string, AFAICT.  If the OP wants the cursor
to _always_ retain its screen position, he should set
scroll-preserve-screen-position to a non-nil. non-t value.




This bug report was last modified 4 years and 166 days ago.

Previous Next


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