From: Eli Zaretskii <eliz@gnu.org>
To: emacs-devel@gnu.org
Subject: scroll-*-aggressively
Date: Sat, 26 Mar 2011 16:51:53 +0200 [thread overview]
Message-ID: <83sjuarl2u.fsf@gnu.org> (raw)
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?
next reply other threads:[~2011-03-26 14:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-26 14:51 Eli Zaretskii [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83sjuarl2u.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.