bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13791: 24.3.50; scroll-margin docstring says "recenter"


From: Noam Postavsky
Subject: bug#13791: 24.3.50; scroll-margin docstring says "recenter"
Date: Tue, 30 Jan 2018 22:42:21 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)

tags 13791 fixed
close 13791 26.1
quit

Eli Zaretskii <eliz@gnu.org> writes:

> It's not just scroll-conservatively, AFAIR.
>
> I actually like what the manual says better:
>
>      The variable ‘scroll-margin’ restricts how close point can come to
>   the top or bottom of a window (even if aggressive scrolling specifies a
>   fraction F that is larger than the window portion between the top and
>   the bottom margins).  Its value is a number of screen lines; if point
>   comes within that many lines of the top or bottom of the window, Emacs
>   performs automatic scrolling.
>
> Note the last sentence: it leaves the exact manner of scrolling vague.
>
> Would it be okay to say the same in the doc string?

Makes sense, I added a similar note, with a link to the auto scrolling
manual page in emacs-26.

[1: db6564cde0]: 2018-01-30 22:29:13 -0500
  Fix scroll-margin docstring (Bug#13791)
  
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=db6564cde0a9001311c38600d61f503e9d32bf0b





reply via email to

[Prev in Thread] Current Thread [Next in Thread]