aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2000-08-23 11:44:11 +0000
committerEli Zaretskii2000-08-23 11:44:11 +0000
commit6dd5e8cc4c986f7754e59f35ab515cc877585419 (patch)
treed401d94ff0dc17782149954d5c605b575fe9c96f
parent87b3b12981fbfc415f9b5b926177640b6331ec5b (diff)
downloademacs-6dd5e8cc4c986f7754e59f35ab515cc877585419.tar.gz
emacs-6dd5e8cc4c986f7754e59f35ab515cc877585419.zip
Document scroll-up-aggressively and scroll-down-aggressively.
-rw-r--r--man/display.texi21
1 files changed, 21 insertions, 0 deletions
diff --git a/man/display.texi b/man/display.texi
index 074390d9b4f..87d9f1b0924 100644
--- a/man/display.texi
+++ b/man/display.texi
@@ -128,6 +128,27 @@ move point just a little off the screen---less than @var{n} lines---then
128Emacs scrolls the text just far enough to bring point back on screen. 128Emacs scrolls the text just far enough to bring point back on screen.
129By default, @code{scroll-conservatively} is 0. 129By default, @code{scroll-conservatively} is 0.
130 130
131@cindex aggressive scrolling
132@vindex scroll-up-aggressively
133@vindex scroll-down-aggressively
134 If you prefer a more aggresive scrolling, customize the values of the
135variables @code{scroll-up-aggressively} and
136@code{scroll-down-aggressively}. The value of
137@code{scroll-up-aggressively} should be either nil or a fraction @var{f}
138between 0 and 1. If it is a fraction, that specifies where on the
139screen to put point when scrolling upward. More precisely, when a
140window scrolls up because point is above the window start, the new start
141position is chosen to put point @var{f} part of the window height from
142the top. The larger @var{f}, the more aggressive the scrolling.
143
144A value of @code{nil} is equivalent to .5, since its effect is to center
145point.
146
147Likewise, @code{scroll-down-aggressively} is used for scrolling down.
148The value, @var{f}, specifies how far point should be placed from the
149bottom of the window; thus, as with @code{scroll-up-aggressively}, a
150larger value scrolls more aggressively.
151
131@vindex scroll-margin 152@vindex scroll-margin
132 The variable @code{scroll-margin} restricts how close point can come 153 The variable @code{scroll-margin} restricts how close point can come
133to the top or bottom of a window. Its value is a number of screen 154to the top or bottom of a window. Its value is a number of screen