aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2002-01-26 23:19:48 +0000
committerRichard M. Stallman2002-01-26 23:19:48 +0000
commitac7845fd601a36e837d4ad26235f6e85291f2390 (patch)
tree5cf3d265f566789ab73600e432438c676de4982d
parentf5798fbde63ec2c68b4391165af8a6580fa0d6af (diff)
downloademacs-ac7845fd601a36e837d4ad26235f6e85291f2390.tar.gz
emacs-ac7845fd601a36e837d4ad26235f6e85291f2390.zip
Clarifications.
-rw-r--r--lispref/windows.texi39
1 files changed, 22 insertions, 17 deletions
diff --git a/lispref/windows.texi b/lispref/windows.texi
index 957132695f8..cdc4ada392f 100644
--- a/lispref/windows.texi
+++ b/lispref/windows.texi
@@ -1351,18 +1351,22 @@ which buffer to scroll.
1351This option specifies the size of the scroll margin---a minimum number 1351This option specifies the size of the scroll margin---a minimum number
1352of lines between point and the top or bottom of a window. Whenever 1352of lines between point and the top or bottom of a window. Whenever
1353point gets within this many lines of the top or bottom of the window, 1353point gets within this many lines of the top or bottom of the window,
1354the window scrolls automatically (if possible) to move point out of the 1354redisplay scrolls the text automatically (if possible) to move point
1355margin, closer to the center of the window. 1355out of the margin, closer to the center of the window.
1356@end defopt 1356@end defopt
1357 1357
1358@defopt scroll-conservatively 1358@defopt scroll-conservatively
1359This variable controls how scrolling is done automatically when point 1359This variable controls how scrolling is done automatically when point
1360moves off the screen (or into the scroll margin). If the value is zero, 1360moves off the screen (or into the scroll margin). If the value is a
1361then redisplay scrolls the text to center point vertically in the 1361positive integer @var{n}, then redisplay scrolls the text up to
1362window. If the value is a positive integer @var{n}, then redisplay 1362@var{n} lines in either direction, if that will bring point back into
1363scrolls the window up to @var{n} lines in either direction, if that will 1363proper view. This action is called @dfn{conservative scrolling}.
1364bring point back into view. Otherwise, it centers point. The default 1364Otherwise, scrolling happens in the usual way, under the control of
1365value is zero. 1365other variables such as @code{scroll-up-aggressively} and
1366@code{scroll-down-aggressively}.
1367
1368The default value is zero, which means that conservative scrolling
1369never happens.
1366@end defopt 1370@end defopt
1367 1371
1368@defopt scroll-down-aggressively 1372@defopt scroll-down-aggressively
@@ -1410,15 +1414,16 @@ bottom of the window appear instead at the top. The default value is
1410 1414
1411@deffn Command recenter &optional count 1415@deffn Command recenter &optional count
1412@cindex centering point 1416@cindex centering point
1413This function scrolls the selected window to put the text where point 1417This function scrolls the text in the selected window so that point is
1414is located at a specified vertical position within the window. 1418displayed at a specified vertical position within the window. It does
1415 1419not ``move point'' with respect to the text.
1416If @var{count} is a nonnegative number, it puts the line containing 1420
1417point @var{count} lines down from the top of the window. If @var{count} 1421If @var{count} is a nonnegative number, that puts the line containing
1418is a negative number, then it counts upward from the bottom of the 1422point @var{count} lines down from the top of the window. If
1419window, so that @minus{}1 stands for the last usable line in the window. 1423@var{count} is a negative number, then it counts upward from the
1420If @var{count} is a non-@code{nil} list, then it stands for the line in 1424bottom of the window, so that @minus{}1 stands for the last usable
1421the middle of the window. 1425line in the window. If @var{count} is a non-@code{nil} list, then it
1426stands for the line in the middle of the window.
1422 1427
1423If @var{count} is @code{nil}, @code{recenter} puts the line containing 1428If @var{count} is @code{nil}, @code{recenter} puts the line containing
1424point in the middle of the window, then clears and redisplays the entire 1429point in the middle of the window, then clears and redisplays the entire