diff options
| author | Richard M. Stallman | 2002-01-26 23:19:48 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-01-26 23:19:48 +0000 |
| commit | ac7845fd601a36e837d4ad26235f6e85291f2390 (patch) | |
| tree | 5cf3d265f566789ab73600e432438c676de4982d | |
| parent | f5798fbde63ec2c68b4391165af8a6580fa0d6af (diff) | |
| download | emacs-ac7845fd601a36e837d4ad26235f6e85291f2390.tar.gz emacs-ac7845fd601a36e837d4ad26235f6e85291f2390.zip | |
Clarifications.
| -rw-r--r-- | lispref/windows.texi | 39 |
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. | |||
| 1351 | This option specifies the size of the scroll margin---a minimum number | 1351 | This option specifies the size of the scroll margin---a minimum number |
| 1352 | of lines between point and the top or bottom of a window. Whenever | 1352 | of lines between point and the top or bottom of a window. Whenever |
| 1353 | point gets within this many lines of the top or bottom of the window, | 1353 | point gets within this many lines of the top or bottom of the window, |
| 1354 | the window scrolls automatically (if possible) to move point out of the | 1354 | redisplay scrolls the text automatically (if possible) to move point |
| 1355 | margin, closer to the center of the window. | 1355 | out 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 |
| 1359 | This variable controls how scrolling is done automatically when point | 1359 | This variable controls how scrolling is done automatically when point |
| 1360 | moves off the screen (or into the scroll margin). If the value is zero, | 1360 | moves off the screen (or into the scroll margin). If the value is a |
| 1361 | then redisplay scrolls the text to center point vertically in the | 1361 | positive integer @var{n}, then redisplay scrolls the text up to |
| 1362 | window. 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 |
| 1363 | scrolls the window up to @var{n} lines in either direction, if that will | 1363 | proper view. This action is called @dfn{conservative scrolling}. |
| 1364 | bring point back into view. Otherwise, it centers point. The default | 1364 | Otherwise, scrolling happens in the usual way, under the control of |
| 1365 | value is zero. | 1365 | other variables such as @code{scroll-up-aggressively} and |
| 1366 | @code{scroll-down-aggressively}. | ||
| 1367 | |||
| 1368 | The default value is zero, which means that conservative scrolling | ||
| 1369 | never 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 |
| 1413 | This function scrolls the selected window to put the text where point | 1417 | This function scrolls the text in the selected window so that point is |
| 1414 | is located at a specified vertical position within the window. | 1418 | displayed at a specified vertical position within the window. It does |
| 1415 | 1419 | not ``move point'' with respect to the text. | |
| 1416 | If @var{count} is a nonnegative number, it puts the line containing | 1420 | |
| 1417 | point @var{count} lines down from the top of the window. If @var{count} | 1421 | If @var{count} is a nonnegative number, that puts the line containing |
| 1418 | is a negative number, then it counts upward from the bottom of the | 1422 | point @var{count} lines down from the top of the window. If |
| 1419 | window, 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 |
| 1420 | If @var{count} is a non-@code{nil} list, then it stands for the line in | 1424 | bottom of the window, so that @minus{}1 stands for the last usable |
| 1421 | the middle of the window. | 1425 | line in the window. If @var{count} is a non-@code{nil} list, then it |
| 1426 | stands for the line in the middle of the window. | ||
| 1422 | 1427 | ||
| 1423 | If @var{count} is @code{nil}, @code{recenter} puts the line containing | 1428 | If @var{count} is @code{nil}, @code{recenter} puts the line containing |
| 1424 | point in the middle of the window, then clears and redisplays the entire | 1429 | point in the middle of the window, then clears and redisplays the entire |