GNU bug report logs -
#22395
25.0.50; 'C-v' scrolls only a half of the window height
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22395 in the body.
You can then email your comments to 22395 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#22395
; Package
emacs
.
(Sun, 17 Jan 2016 20:51:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Dani Moncayo <dmoncayo <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 17 Jan 2016 20:51:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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.
In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
of 2016-01-17 built on LEG570
Repository revision: a0d5b7ae3bb014bb0b1c205d123c597df0e76411
Windowing system distributor 'Microsoft Corp.', version 10.0.10586
Configured using:
'configure --host=i686-pc-mingw32 --enable-checking=yes,glyphs'
Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS
Important settings:
value of $LANG: ENU
locale-coding-system: cp1252
--
Dani Moncayo
[f1 (application/octet-stream, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#22395
; Package
emacs
.
(Mon, 18 Jan 2016 10:32:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 22395 <at> debbugs.gnu.org (full text, mbox):
> 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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#22395
; Package
emacs
.
(Mon, 18 Jan 2016 13:21:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 22395 <at> debbugs.gnu.org (full text, mbox):
> I'm not sure whether it's a bug or a feature.
I fail to see how this could be a feature.
> But here I can "fix" your
> behavior by customizing ‘scroll-conservatively’ to 101.
That would not solve the underlying problem, and some users (like
myself) may prefer another value for 'scroll-conservatively'.
--
Dani Moncayo
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Mon, 18 Jan 2016 16:26:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Dani Moncayo <dmoncayo <at> gmail.com>
:
bug acknowledged by developer.
(Mon, 18 Jan 2016 16:26:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 22395-done <at> debbugs.gnu.org (full text, mbox):
> Date: Sun, 17 Jan 2016 21:50:16 +0100
> From: Dani Moncayo <dmoncayo <at> gmail.com>
>
> 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'.
Start the same recipe from line #3 or greater, and the "bug" goes
away.
You asked Emacs to do the impossible: preserve the screen position of
point at the first window line and also not to allow point to enter
the first 2 lines of the window. Emacs didn't know what to do with
this conflict. Now it does.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#22395
; Package
emacs
.
(Mon, 18 Jan 2016 16:27:01 GMT)
Full text and
rfc822 format available.
Message #19 received at 22395 <at> debbugs.gnu.org (full text, mbox):
> Date: Mon, 18 Jan 2016 11:30:50 +0100
> From: martin rudalics <rudalics <at> gmx.at>
>
> I'm not sure whether it's a bug or a feature.
It was a conflict between 2 features.
> But here I can "fix" your behavior by customizing
> ‘scroll-conservatively’ to 101.
Yes, because scroll-conservatively overrides
scroll-preserve-screen-position.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 16 Feb 2016 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 9 years and 124 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.