emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] /srv/bzr/emacs/trunk r99831: Scrolling commands which


From: Juri Linkov
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r99831: Scrolling commands which does not signal errors at top/bottom.
Date: Tue, 06 Apr 2010 03:59:47 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu)

> How do these commands interact with `scroll-preserve-screen-position'?

Exactly as documented in the docstring of `scroll-preserve-screen-position':

  A value of t means point keeps its screen position if the scroll
  command moved it vertically out of the window, e.g. when scrolling
                              =================
  by full screens.

and in the Info manual:

     Some users like the full-screen scroll commands to keep point at the
  same screen position.  To enable this behavior, set the variable
  `scroll-preserve-screen-position' to a non-`nil' value.  Then, whenever
  a command scrolls the text around point offscreen (or within
                                          =========
  `scroll-margin' lines of the edge), Emacs moves point to keep it at the
  same vertical and horizontal position within the window.

i.e. this option doesn't apply when point stays on the same screen.

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]