From: Tomas Nordin <tomasn@posteo.net>
To: 45322@debbugs.gnu.org
Subject: bug#45322: Documentation of mouse-wheel-progressive-speed clarification
Date: Sat, 19 Dec 2020 14:28:22 +0100 [thread overview]
Message-ID: <87mtyadix5.fsf@posteo.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 807 bytes --]
Hello Emacs
Here is a little documentation improvement I think. The doc of variable
mouse-wheel-progressive-speed says
If non-nil, the faster the user moves the wheel, the faster the scrolling.
Note that this has no effect when ‘mouse-wheel-scroll-amount’ specifies
a "near full screen" scroll or when the mouse wheel sends key instead
of button events.
That explains (the first sentence) the effect when the variable is nil,
the scrolling speed is proportional to the wheel speed. When non-nil,
scrolling speed will increase (progress) the more the wheel is turned.
Isn't it.
Attached is a patch updating the docs of the variable and in info.
GNU Emacs 28.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.5,
cairo version 1.16.0) of 2020-12-12
Best regards
--
Tomas
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: progressive-speed-doc.patch --]
[-- Type: text/x-diff, Size: 1172 bytes --]
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi
index f5e2e8d172..57b1add85b 100644
--- a/doc/emacs/frames.texi
+++ b/doc/emacs/frames.texi
@@ -210,7 +210,7 @@ Mouse Commands
@code{mouse-wheel-scroll-amount} determine where and by how much
buffers are scrolled. The variable
@code{mouse-wheel-progressive-speed} determines whether the scroll
-speed is linked to how fast you move the wheel. This mode also
+speed is linked to how much you move the wheel. This mode also
supports increasing or decreasing the height of the default face, by
default bound to scrolling with the @key{Ctrl} modifier.
diff --git a/lisp/mwheel.el b/lisp/mwheel.el
index 9fd050fea5..a0941205ba 100644
--- a/lisp/mwheel.el
+++ b/lisp/mwheel.el
@@ -131,7 +131,7 @@ mouse-wheel-scroll-amount
:version "28.1")
(defcustom mouse-wheel-progressive-speed t
- "If non-nil, the faster the user moves the wheel, the faster the scrolling.
+ "If non-nil, the more the user moves the wheel, the faster the scrolling.
Note that this has no effect when `mouse-wheel-scroll-amount' specifies
a \"near full screen\" scroll or when the mouse wheel sends key instead
of button events."
next reply other threads:[~2020-12-19 13:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-19 13:28 Tomas Nordin [this message]
2021-05-16 16:01 ` bug#45322: Documentation of mouse-wheel-progressive-speed clarification Lars Ingebrigtsen
2021-05-19 19:34 ` Tomas Nordin
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=87mtyadix5.fsf@posteo.net \
--to=tomasn@posteo.net \
--cc=45322@debbugs.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.