Mercurial > emacs
changeset 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 | e5b68c4be92b |
children | a3a45da02baa |
files | man/display.texi |
diffstat | 1 files changed, 8 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/man/display.texi Fri Dec 31 15:07:48 2004 +0000 +++ b/man/display.texi Fri Dec 31 15:10:02 2004 +0000 @@ -495,12 +495,14 @@ @vindex scroll-preserve-screen-position Some users like the full-screen scroll commands to keep point at the same screen line. To enable this behavior, set the variable -@code{scroll-preserve-screen-position} to a non-@code{nil} value. This -mode is convenient for browsing through a file by scrolling by -screenfuls; if you come back to the screen where you started, point goes -back to the line where it started. However, this mode is inconvenient -when you move to the next screen in order to move point to the text -there. +@code{scroll-preserve-screen-position} to a non-@code{nil} value. In +this mode, when scrolling shifts point off the screen, or into the +scrolling margins, Emacs moves point to keep the same vertical +position within the window. This mode is convenient for browsing +through a file by scrolling by screenfuls; if you come back to the +screen where you started, point goes back to the line where it +started. However, this mode is inconvenient when you move to the next +screen in order to move point to the text there. Another way to do scrolling is with @kbd{C-l} with a numeric argument. @kbd{C-l} does not clear the screen when given an argument; it only scrolls