From: Sarah Sunday <sarahsunday369@outlook.com>
To: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Disable Mouse Wheel Progressive Speed Patch
Date: Fri, 25 Aug 2017 18:56:00 +0000 [thread overview]
Message-ID: <CY1PR07MB2458EE8C1ACF53DD5D370144DA9B0@CY1PR07MB2458.namprd07.prod.outlook.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 562 bytes --]
This patch simply changes the default value of `mouse-wheel-progressive-speed` to nil, rather than 1. This makes the initial behavior closer to that of other editors: no progressive scrolling speed. It feels like an option that should be opt-in rather than opt-out, which is why I've changed it to be off by default.
This commit was done as part of the <https://github.com/josteink/emacs-oob-reboot> emacs-oob-reboot project<https://github.com/josteink/emacs-oob-reboot>, which seeks to create a better out of the box experience for Emacs.
Thank you.
[-- Attachment #1.2: Type: text/html, Size: 3494 bytes --]
[-- Attachment #2: 0001-Disable-mouse-wheel-progressive-speed.patch --]
[-- Type: application/octet-stream, Size: 887 bytes --]
From cde1c321c7c5aa656788ee6549ba655c84d64842 Mon Sep 17 00:00:00 2001
From: Sarah Sunday <ssunday@users.noreply.github.com>
Date: Fri, 25 Aug 2017 13:28:40 -0500
Subject: [PATCH] Disable mouse wheel progressive speed
---
lisp/mwheel.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/mwheel.el b/lisp/mwheel.el
index 1428e5f4d0..1232b636fb 100644
--- a/lisp/mwheel.el
+++ b/lisp/mwheel.el
@@ -134,7 +134,7 @@ mouse-wheel-scroll-amount
(float :tag "Fraction of window")))))
:set 'mouse-wheel-change-button)
-(defcustom mouse-wheel-progressive-speed t
+(defcustom mouse-wheel-progressive-speed nil
"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
--
2.14.1
next reply other threads:[~2017-08-25 18:56 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-25 18:56 Sarah Sunday [this message]
2017-08-25 20:26 ` Disable Mouse Wheel Progressive Speed Patch Paul Eggert
2017-08-25 20:49 ` John Wiegley
2017-08-26 22:36 ` Robert Weiner
2017-08-28 1:16 ` Sarah Sunday
2017-08-25 21:04 ` Stefan Monnier
2017-08-26 7:36 ` Eli Zaretskii
2017-08-26 10:25 ` Tak Kunihiro
2017-08-26 11:09 ` Eli Zaretskii
2017-08-27 9:43 ` Tak Kunihiro
2017-08-27 11:56 ` Alan Third
2017-08-28 1:23 ` Sarah Sunday
2017-08-28 7:03 ` Clément Pit-Claudel
2017-08-26 21:06 ` Radon Rosborough
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=CY1PR07MB2458EE8C1ACF53DD5D370144DA9B0@CY1PR07MB2458.namprd07.prod.outlook.com \
--to=sarahsunday369@outlook.com \
--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.