From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tak Kunihiro Newsgroups: gmane.emacs.devel Subject: Re: naming of 26.1 mwheel- user options Date: Wed, 28 Feb 2018 17:06:19 +0900 Message-ID: <0FFA7F0C-FA0B-43D3-9037-1BEE7DB83B6F@misasa.okayama-u.ac.jp> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/mixed; boundary="Apple-Mail=_AE415405-0767-4DF4-9789-CFDE83AA42BD" X-Trace: blaine.gmane.org 1519806407 7354 195.159.176.226 (28 Feb 2018 08:26:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 28 Feb 2018 08:26:47 +0000 (UTC) Cc: Kunihiro Tak To: emacs-devel , Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 28 09:26:43 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eqx4T-0001Vp-OT for ged-emacs-devel@m.gmane.org; Wed, 28 Feb 2018 09:26:41 +0100 Original-Received: from localhost ([::1]:42822 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqx6W-00060G-BJ for ged-emacs-devel@m.gmane.org; Wed, 28 Feb 2018 03:28:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqx6Q-000608-C4 for emacs-devel@gnu.org; Wed, 28 Feb 2018 03:28:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eqx6M-0000mb-EM for emacs-devel@gnu.org; Wed, 28 Feb 2018 03:28:42 -0500 Original-Received: from mxl065v67.mxlogic.net ([208.81.65.67]:51250 helo=s14p02o144.mxlogic.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eqx6L-0000lj-QO; Wed, 28 Feb 2018 03:28:38 -0500 Original-Received: from unknown [42.127.236.175] (EHLO mlsec.cc.okayama-u.ac.jp) by s14p02o144.mxlogic.net(mxl_mta-8.5.0-1953) with ESMTP id 538669a5.7fd4861c9700.390499.00-599.609579.s14p02o144.mxlogic.net (envelope-from ); Wed, 28 Feb 2018 01:28:37 -0700 (MST) X-MXL-Hash: 5a96683501e0ab6f-dab5b09e82bf3072c37b385e580b1b8fb57bbc0c Original-Received: from unknown [42.127.236.175] (EHLO mlsec.cc.okayama-u.ac.jp) by s14p02o144.mxlogic.net(mxl_mta-8.5.0-1953) over TLS secured channel with ESMTP id ef2669a5.0.390112.00-388.608669.s14p02o144.mxlogic.net (envelope-from ); Wed, 28 Feb 2018 01:06:23 -0700 (MST) X-MXL-Hash: 5a9662ff71ef584a-4d19302a320e4bd4647a72a5766cc22ce17e6851 Original-Received: from alml002.ouadm.okayama-u.ac.jp (unknown [42.127.236.168]) by mlsec.cc.okayama-u.ac.jp with smtp id 69dc_8745_d49c72b9_a937_4436_a501_f584d6def8f7; Wed, 28 Feb 2018 17:06:20 +0900 Original-Received: from [192.168.1.51] (vesta.misasa.okayama-u.ac.jp [150.46.48.154]) by alml002.ouadm.okayama-u.ac.jp (Postfix) with ESMTPSA id 0DF6D4C0C88; Wed, 28 Feb 2018 17:06:21 +0900 (JST) In-Reply-To: X-Mailer: Apple Mail (2.1878.6) X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 11 X-NAI-Spam-Score: 0.1 X-NAI-Spam-Rules: 5 Rules triggered GME_TWTRE=0.1, EDT_SA_AU_PASS=0, EDT_SA_DN_PASS=0, EDT_SA_TS_PASS=0, RV6231=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6231> : inlines <6438> : streams <1780259> : uri <2600666> X-AnalysisOut: [v=2.2 cv=P5tKvmIu c=1 sm=1 tr=0 a=8LLPK8U+aGQ6qN8QlyMYtQ==] X-AnalysisOut: [:117 a=8LLPK8U+aGQ6qN8QlyMYtQ==:17 a=Op4juWPpsa0A:10 a=mDV] X-AnalysisOut: [3o1hIAAAA:8 a=w0Wfwwdrgx67bER78hsA:9 a=pILNOxqGKmIA:10 a=2] X-AnalysisOut: [Gx9PBEUTztXiwb-OaMA:9 a=hquHOILUSkIA:10 a=YqLO1K-lNsrCSzQc] X-AnalysisOut: [8RgA:9 a=N4TWCEimRWNlHMM9mCQA:9 a=tclcd6dtLQvEqt9_mmAA:9 a] X-AnalysisOut: [=CjuIK1q_8ugA:10 a=_FVE-zBwftR9WsbkzFJk:22] X-Spam: [F=0.5000000000; CM=0.500; MH=0.500(2018022802); S=0.200(2015072901)] X-MAIL-FROM: X-SOURCE-IP: [42.127.236.175] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 208.81.65.67 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:223158 Archived-At: --Apple-Mail=_AE415405-0767-4DF4-9789-CFDE83AA42BD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 I=92m sending a patch to change names from mwheel-tilt-scroll-p and mwheel-flip-direction to mwheel-wheel-tilt-scroll and mwheel-wheel-flip-direction. * Commit log Change name of variables to be consistent Variables mwheel-tilt-scroll-p and mwheel-flip-direction were renamed to mwheel-wheel-tilt-scroll and mwheel-wheel-flip-direction. Suggested by Glenn Morris in emacs-devel@gnu.org. * lisp/mwheel.el (mwheel-wheel-tilt-scroll): (mwheel-wheel-flip-direction): * etc/NEWS: * doc/emacs/frames.texi (Mouse Commands): Variables are renamed. --Apple-Mail=_AE415405-0767-4DF4-9789-CFDE83AA42BD Content-Disposition: attachment; filename=mwheel.el.diff Content-Type: application/octet-stream; name="mwheel.el.diff" Content-Transfer-Encoding: 7bit diff --git a/lisp/mwheel.el b/lisp/mwheel.el index 9718ab8..cba1724 100644 --- a/lisp/mwheel.el +++ b/lisp/mwheel.el @@ -255,13 +255,13 @@ mwheel-scroll ;; Make sure we do indeed scroll to the end of the buffer. (end-of-buffer (while t (funcall mwheel-scroll-up-function))))) ((eq button mouse-wheel-left-event) ; for tilt scroll - (when mwheel-tilt-scroll-p - (funcall (if mwheel-flip-direction + (when mwheel-wheel-tilt-scroll + (funcall (if mwheel-wheel-flip-direction mwheel-scroll-right-function mwheel-scroll-left-function) amt))) ((eq button mouse-wheel-right-event) ; for tilt scroll - (when mwheel-tilt-scroll-p - (funcall (if mwheel-flip-direction + (when mwheel-wheel-tilt-scroll + (funcall (if mwheel-wheel-flip-direction mwheel-scroll-left-function mwheel-scroll-right-function) amt))) (t (error "Bad binding in mwheel-scroll")))) @@ -324,13 +324,13 @@ mwheel-install ;;; For tilt-scroll ;;; -(defcustom mwheel-tilt-scroll-p nil +(defcustom mwheel-wheel-tilt-scroll nil "Enable scroll using tilting mouse wheel." :group 'mouse :type 'boolean :version "26.1") -(defcustom mwheel-flip-direction nil +(defcustom mwheel-wheel-flip-direction nil "Swap direction of 'wheel-right and 'wheel-left." :group 'mouse :type 'boolean --Apple-Mail=_AE415405-0767-4DF4-9789-CFDE83AA42BD Content-Disposition: attachment; filename=frames.texi.diff Content-Type: application/octet-stream; name="frames.texi.diff" Content-Transfer-Encoding: 7bit diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi index 8cc4d64..c07e471 100644 --- a/doc/emacs/frames.texi +++ b/doc/emacs/frames.texi @@ -207,13 +207,13 @@ Mouse Commands @code{mouse-wheel-progressive-speed} determines whether the scroll speed is linked to how fast you move the wheel. -@vindex mwheel-tilt-scroll-p -@vindex mwheel-flip-direction +@vindex mwheel-wheel-tilt-scroll +@vindex mwheel-wheel-flip-direction Emacs can also support horizontal scrolling if your mouse's wheel can be tilted. This feature is off by default; the variable -@code{mwheel-tilt-scroll-p} turns it on. If you'd like to reverse the -direction of horizontal scrolling, customize the variable -@code{mwheel-flip-direction} to a non-@code{nil} value. +@code{mwheel-wheel-tilt-scroll} turns it on. If you'd like to reverse +the direction of horizontal scrolling, customize the variable +@code{mwheel-wheel-flip-direction} to a non-@code{nil} value. @node Word and Line Mouse --Apple-Mail=_AE415405-0767-4DF4-9789-CFDE83AA42BD Content-Disposition: attachment; filename=NEWS.diff Content-Type: application/octet-stream; name="NEWS.diff" Content-Transfer-Encoding: 7bit diff --git a/etc/NEWS b/etc/NEWS index cb4048d..abd0792 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -431,9 +431,9 @@ always restricting the margin to a quarter of the window. +++ ** Emacs can scroll horizontally using mouse, touchpad, and trackbar. -You can enable this by customizing 'mwheel-tilt-scroll-p'. If you +You can enable this by customizing 'mwheel-wheel-tilt-scroll'. If you want to reverse the direction of the scroll, customize -'mwheel-flip-direction'. +'mwheel-wheel-flip-direction'. +++ ** The default GnuTLS priority string now includes %DUMBFW. --Apple-Mail=_AE415405-0767-4DF4-9789-CFDE83AA42BD Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii --Apple-Mail=_AE415405-0767-4DF4-9789-CFDE83AA42BD--