all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Disable Mouse Wheel Progressive Speed Patch
@ 2017-08-25 18:56 Sarah Sunday
  2017-08-25 20:26 ` Paul Eggert
  2017-08-25 21:04 ` Stefan Monnier
  0 siblings, 2 replies; 14+ messages in thread
From: Sarah Sunday @ 2017-08-25 18:56 UTC (permalink / raw)
  To: emacs-devel@gnu.org


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


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

end of thread, other threads:[~2017-08-28  7:03 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-25 18:56 Disable Mouse Wheel Progressive Speed Patch Sarah Sunday
2017-08-25 20:26 ` 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

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.