emacs-devel
[Top][All Lists]
Advanced

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

scroll-*-aggressively


From: Eli Zaretskii
Subject: scroll-*-aggressively
Date: Sat, 26 Mar 2011 16:51:53 +0200

>From the Emacs manual:

     When the window does scroll by a longer distance, you can control
  how aggressively it scrolls by setting the variables
  `scroll-up-aggressively' and `scroll-down-aggressively'.  The value of
  `scroll-up-aggressively' should be either `nil', or a fraction F
  between 0 and 1.  A fraction specifies where on the screen to put point
  when scrolling upward: when a window scrolls up because point is above
  the window start, the new start position is chosen to put point F parts
  of the window height from the top.  Thus, larger F means more aggressive
  scrolling.  The default value, `nil', is equivalent to 0.5.

     Likewise, `scroll-down-aggressively' is used for scrolling down.
  The value specifies how far point should be placed from the bottom of
  the window; thus, as with `scroll-up-aggressively', a larger value is
  more aggressive.

But this is all backwards, isn't it?  "Scrolling up" in this context
means moving point towards larger values, e.g. with C-n or <down>
arrow, which scrolls the _text_ (not the window) up.  Moreover, when
point goes off the window's bottom with C-p, the new point is
positioned `scroll-up-aggressively' parts of the window height from
the window _bottom_, not from its top.  IOW, the above description
confuses "up" with "down".

Am I missing something?

Btw, isn't it confusing that these variables don't affect `scroll-up'
or `scroll-down' in any way?



reply via email to

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