unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* scroll-*-aggressively
@ 2011-03-26 14:51 Eli Zaretskii
  2011-03-26 16:20 ` scroll-*-aggressively Chong Yidong
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2011-03-26 14:51 UTC (permalink / raw)
  To: emacs-devel

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?



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-03-26 16:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-26 14:51 scroll-*-aggressively Eli Zaretskii
2011-03-26 16:20 ` scroll-*-aggressively Chong Yidong
2011-03-26 16:40   ` scroll-*-aggressively Óscar Fuentes
2011-03-26 16:40   ` proposal to rename scrolling directions up/down as forward/backward [was: scroll-*-aggressively] Drew Adams

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).