unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#39979: 28.0.50; `mouse-wheel-tilt-scroll' docstring is unclear/incomplete
@ 2020-03-07 21:25 Göktuğ Kayaalp
  2020-03-09  9:02 ` martin rudalics
  0 siblings, 1 reply; 9+ messages in thread
From: Göktuğ Kayaalp @ 2020-03-07 21:25 UTC (permalink / raw)
  To: 39979

[-- Attachment #1: Type: text/plain, Size: 501 bytes --]

The docstring for the mentioned variable is unclear in that it does not
really tell what kind of scrolling (horizontal) is enabled and
incomplete because setting it enables horizontal scrolling and that’s
not mentioned (or, maybe tilt scrolling means that but that’s probably
an obscure term for many).

A patch is attached which is proposed as a tentative improvement. If
it’s good enough to apply, I do have my copyright assingment paperwork
done so it can be committed right away.


[-- Attachment #2: the patch --]
[-- Type: text/x-diff, Size: 817 bytes --]

From b9cf4c16d48e8b5b28748481d6649a31d92df1bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=B0=2E=20G=C3=B6ktu=C4=9F=20Kayaalp?= <self@gkayaalp.com>
Date: Sun, 8 Mar 2020 00:15:01 +0300
Subject: [PATCH] * lisp/mwheel.el (mouse-wheel-tilt-scroll): improve docstring

---
 lisp/mwheel.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/mwheel.el b/lisp/mwheel.el
index 56150c803f..9264af1214 100644
--- a/lisp/mwheel.el
+++ b/lisp/mwheel.el
@@ -145,7 +145,8 @@ mouse-wheel-follow-mouse
 ;;; For tilt-scroll
 ;;;
 (defcustom mouse-wheel-tilt-scroll nil
-  "Enable scroll using tilting mouse wheel."
+  "Enable horizontal scrolling via mouse or touchpad. Also see
+  ‘mouse-wheel-flip-direction’."
   :group 'mouse
   :type 'boolean
   :version "26.1")
-- 
2.20.1


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

end of thread, other threads:[~2020-03-12  8:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-07 21:25 bug#39979: 28.0.50; `mouse-wheel-tilt-scroll' docstring is unclear/incomplete Göktuğ Kayaalp
2020-03-09  9:02 ` martin rudalics
2020-03-10 16:39   ` Göktuğ Kayaalp
2020-03-10 17:36     ` Noam Postavsky
2020-03-11  8:52     ` martin rudalics
2020-03-11 13:08       ` Göktuğ Kayaalp
2020-03-11 23:09         ` Tak Kunihiro
2020-03-11 23:52         ` Noam Postavsky
2020-03-12  8:22           ` martin rudalics

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).