comparison man/display.texi @ 59259:07897e1a19b5

(Scrolling): Correct scroll-preserve-screen-position.
author Richard M. Stallman <rms@gnu.org>
date Fri, 31 Dec 2004 15:10:02 +0000
parents f4a2067d260e
children d189a9fc6e5b 95879cc1ed20
comparison
equal deleted inserted replaced
59258:e5b68c4be92b 59259:07897e1a19b5
493 @code{scroll-up}. 493 @code{scroll-up}.
494 494
495 @vindex scroll-preserve-screen-position 495 @vindex scroll-preserve-screen-position
496 Some users like the full-screen scroll commands to keep point at the 496 Some users like the full-screen scroll commands to keep point at the
497 same screen line. To enable this behavior, set the variable 497 same screen line. To enable this behavior, set the variable
498 @code{scroll-preserve-screen-position} to a non-@code{nil} value. This 498 @code{scroll-preserve-screen-position} to a non-@code{nil} value. In
499 mode is convenient for browsing through a file by scrolling by 499 this mode, when scrolling shifts point off the screen, or into the
500 screenfuls; if you come back to the screen where you started, point goes 500 scrolling margins, Emacs moves point to keep the same vertical
501 back to the line where it started. However, this mode is inconvenient 501 position within the window. This mode is convenient for browsing
502 when you move to the next screen in order to move point to the text 502 through a file by scrolling by screenfuls; if you come back to the
503 there. 503 screen where you started, point goes back to the line where it
504 started. However, this mode is inconvenient when you move to the next
505 screen in order to move point to the text there.
504 506
505 Another way to do scrolling is with @kbd{C-l} with a numeric argument. 507 Another way to do scrolling is with @kbd{C-l} with a numeric argument.
506 @kbd{C-l} does not clear the screen when given an argument; it only scrolls 508 @kbd{C-l} does not clear the screen when given an argument; it only scrolls
507 the selected window. With a positive argument @var{n}, it repositions text 509 the selected window. With a positive argument @var{n}, it repositions text
508 to put point @var{n} lines down from the top. An argument of zero puts 510 to put point @var{n} lines down from the top. An argument of zero puts