[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#35389: 27.0.50; [PATCH] Emacs on macOS sets mouse-wheel variables di
From: |
Tak Kunihiro |
Subject: |
bug#35389: 27.0.50; [PATCH] Emacs on macOS sets mouse-wheel variables directly |
Date: |
Thu, 06 Jun 2019 11:21:38 +0900 (JST) |
>> To be consistent among platform, should mouse-wheel-progressive-speed be
>> t?
>
> It'd be preferable, but I understand this makes Emacs on macOS
> unusable with mouse scrolling, so I guess we will have to turn it off
> by default on macOS.
Following patch will make mouse-wheel-scroll-amount consistent among
platform. Can you install it?
* Commit log
Author: Tak Kunihiro <tkk@misasa.okayama-u.ac.jp>
Make mouse-wheel-scroll-amount consistent among platform
* lisp/term/ns-win.el
Do not put any values on mouse-wheel-scroll-amount on ns.
* Patch
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el
index 6a668b213d..15f3f76838 100644
--- a/lisp/term/ns-win.el
+++ b/lisp/term/ns-win.el
@@ -745,7 +745,6 @@ mouse-wheel-progressive-speed
(string-to-number (match-string 1 ns-version-string)))))
;; Appkit 1138 ~= macOS 10.7.
(when (>= appkit-version 1138)
- (setq mouse-wheel-scroll-amount '(1 ((shift) . 5) ((control))))
(put 'mouse-wheel-scroll-amount 'customized-value
(list (custom-quote (symbol-value 'mouse-wheel-scroll-amount))))
- bug#35389: 27.0.50; [PATCH] Emacs on macOS sets mouse-wheel variables directly,
Tak Kunihiro <=