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


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

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 13791 <at> debbugs.gnu.org
Subject: Re: bug#13791: 24.3.50; scroll-margin docstring says "recenter"
Date: Sat, 23 Feb 2013 17:08:35 +0400
On 23.02.2013 14:18, Eli Zaretskii wrote:
>> That's not entirely accurate. Depending on the value of
>> `scroll-conservatively', the window may get scrolled instead.
>
> That's true.  However, how to describe this in a manner that will not
> confuse the reader is less clear.  "Recenter or scroll" is not very
> useful, IMO, as it doesn't say which will happen.  Suggestions are
> welcome.

How about the following?

"""
Recenter or scroll the window whenever point gets within this many lines 
of the top or bottom of the window.

If the value of `scroll-conservatively' is positive, the window is 
scrolled, otherwise it's recentered.
"""

Adjust for actual behavior.




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

Previous Next


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