GNU bug report logs - #13791
24.3.50; scroll-margin docstring says "recenter"

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Sat, 23 Feb 2013 00:30:02 UTC

Severity: minor

Tags: fixed

Found in version 24.3.50

Fixed in version 26.1

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 13791 <at> debbugs.gnu.org
Subject: bug#13791: 24.3.50; scroll-margin docstring says "recenter"
Date: Sat, 23 Feb 2013 23:19:32 +0400
On 23.02.2013 22:47, Eli Zaretskii wrote:
>> Date: Sat, 23 Feb 2013 22:08:56 +0400
>> From: Dmitry Gutov <dgutov <at> yandex.ru>
>> CC: 13791 <at> debbugs.gnu.org
>>
>> But I'm not sure we're talking about the same thing.
>
> I think we are.
>
>> I meant to describe what will happen to the window when point "gets
>> within this many lines of the top or bottom of the window", not when
>> it moves outside the visible area.
>
> That's how I understood it.  But if you lean on the up or down key,
> you can easily cause point go off the screen before Emacs enters
> redisplay.

Yes, but in this case point is not "within this many lines of the top or 
bottom of the window" anymore technically.

Or maybe it is, if you interpret "top" and "bottom" as just buffer lines 
and "gets within" as "within absolute distance". In this case we can 
additionally qualify the conditions:

"whenever point gets within this many lines of the top or bottom of the 
window without going off screen."

Either way, this description is more accurate than what we have currently.

Alternatively, we can mention the "off screen" situation in the second 
paragraph, where the values of `scroll-conservatively' are considered.




This bug report was last modified 7 years and 113 days ago.

Previous Next


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