GNU bug report logs - #22395
25.0.50; 'C-v' scrolls only a half of the window height

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Sun, 17 Jan 2016 20:51:01 UTC

Severity: normal

Found in version 25.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Dani Moncayo <dmoncayo <at> gmail.com>, 22395 <at> debbugs.gnu.org
Subject: bug#22395: 25.0.50; 'C-v' scrolls only a half of the window height
Date: Mon, 18 Jan 2016 11:30:50 +0100
> Recipe from "emacs -Q":
>
> 1. Eval:
>      (setq scroll-preserve-screen-position t)
>      (setq scroll-margin 2)
>
> 2. Visit the attached file.
>
> On my system, I initially see lines 1 to 33.
>
> 3. Type 'C-v'
>
> I observe that 'C-v' has scrolled the buffer vertically, but only by
> about a half of the window height (I now see lines 16 to 48).
> Subsequent 'C-v' commands do the same: they scroll the buffer by a
> half of the window.
>
> This seems wrong.  The amount of scrolling should be "a near full
> screen", as described in 'C-h k C-v'.
>
> I observe this bug also in the last 24.5 release.

I'm not sure whether it's a bug or a feature.  But here I can "fix" your
behavior by customizing ‘scroll-conservatively’ to 101.

martin





This bug report was last modified 9 years and 125 days ago.

Previous Next


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