GNU bug report logs - #45322
Documentation of mouse-wheel-progressive-speed clarification

Previous Next

Package: emacs;

Reported by: Tomas Nordin <tomasn <at> posteo.net>

Date: Sat, 19 Dec 2020 13:29:02 UTC

Severity: minor

Tags: fixed, patch

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 45322 in the body.
You can then email your comments to 45322 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#45322; Package emacs. (Sat, 19 Dec 2020 13:29:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tomas Nordin <tomasn <at> posteo.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 19 Dec 2020 13:29:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tomas Nordin <tomasn <at> posteo.net>
To: bug-gnu-emacs <at> gnu.org
Subject: Documentation of mouse-wheel-progressive-speed clarification
Date: Sat, 19 Dec 2020 14:28:22 +0100
[Message part 1 (text/plain, inline)]
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

[progressive-speed-doc.patch (text/x-diff, inline)]
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."

Added tag(s) patch. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Fri, 12 Mar 2021 00:53:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#45322; Package emacs. (Sun, 16 May 2021 16:02:02 GMT) Full text and rfc822 format available.

Message #10 received at 45322 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Tomas Nordin <tomasn <at> posteo.net>
Cc: 45322 <at> debbugs.gnu.org
Subject: Re: bug#45322: Documentation of mouse-wheel-progressive-speed
 clarification
Date: Sun, 16 May 2021 18:01:16 +0200
Tomas Nordin <tomasn <at> posteo.net> writes:

> 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.

[...]

>  (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.

Thanks for the patch, but I don't think just replacing "faster" with
"more" here clarifies all that much.  I've instead rewritten the doc
string according to your explanation in Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 16 May 2021 16:02:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 45322 <at> debbugs.gnu.org and Tomas Nordin <tomasn <at> posteo.net> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 16 May 2021 16:02:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#45322; Package emacs. (Wed, 19 May 2021 19:35:02 GMT) Full text and rfc822 format available.

Message #17 received at 45322 <at> debbugs.gnu.org (full text, mbox):

From: Tomas Nordin <tomasn <at> posteo.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 45322 <at> debbugs.gnu.org
Subject: Re: bug#45322: Documentation of mouse-wheel-progressive-speed
 clarification
Date: Wed, 19 May 2021 19:34:31 +0000
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Tomas Nordin <tomasn <at> posteo.net> writes:
>
>> 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.
>
> [...]
>
>>  (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.
>
> Thanks for the patch, but I don't think just replacing "faster" with
> "more" here clarifies all that much.  I've instead rewritten the doc
> string according to your explanation in Emacs 28.

Thanks, I think it is less confusing and more correct now.

But still, in my experience, the progression of scroll speed is in
effect with a constant rotational speed of the mouse wheel.

>
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no

--
Tomas




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 17 Jun 2021 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 307 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.