From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tak Kunihiro Newsgroups: gmane.emacs.help Subject: Re: query: remapping a mouse press Date: Sat, 25 Aug 2018 14:15:58 +0900 (JST) Message-ID: <20180825.141558.1044695464374052008.tkk@misasa.okayama-u.ac.jp> References: <87lg8wg5qi.fsf@nyu.edu> <86a7pcllz1.fsf@misasa.okayama-u.ac.jp> <87h8jkzaw2.fsf@nyu.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1535174573 26718 195.159.176.226 (25 Aug 2018 05:22:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 25 Aug 2018 05:22:53 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: gottlieb@nyu.edu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 25 07:22:49 2018 Return-path: Envelope-to: geh-help-gnu-emacs@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 1ftR28-0006ro-Il for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Aug 2018 07:22:48 +0200 Original-Received: from localhost ([::1]:44631 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ftR4E-0004EW-Io for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Aug 2018 01:24:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ftR3m-0004ER-HQ for help-gnu-emacs@gnu.org; Sat, 25 Aug 2018 01:24:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ftR3i-00081H-CA for help-gnu-emacs@gnu.org; Sat, 25 Aug 2018 01:24:30 -0400 Original-Received: from mxl065v65.mxlogic.net ([208.81.65.65]:59698 helo=s14p02o142.mxlogic.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ftR3h-0007sz-SS for help-gnu-emacs@gnu.org; Sat, 25 Aug 2018 01:24:26 -0400 Original-Received: from unknown [42.127.236.175] (EHLO mlsec.cc.okayama-u.ac.jp) by s14p02o142.mxlogic.net(mxl_mta-8.5.0-1964) with ESMTP id 908e08b5.7f48bffff700.519905.00-598.1264585.s14p02o142.mxlogic.net (envelope-from ); Fri, 24 Aug 2018 23:24:25 -0600 (MDT) X-MXL-Hash: 5b80e80967f49abc-8f595ab307b26ef38566f95727ca2a6a74db6047 Original-Received: from unknown [42.127.236.175] (EHLO mlsec.cc.okayama-u.ac.jp) by s14p02o142.mxlogic.net(mxl_mta-8.5.0-1964) over TLS secured channel with ESMTP id e06e08b5.0.519593.00-347.1264097.s14p02o142.mxlogic.net (envelope-from ); Fri, 24 Aug 2018 23:15:59 -0600 (MDT) X-MXL-Hash: 5b80e60f69c2c6dd-98ac81733269771e8b576c3e4d45c8dc3eea04db Original-Received: from alml002.ouadm.okayama-u.ac.jp (unknown [42.127.236.168]) by mlsec.cc.okayama-u.ac.jp with smtp id 0895_96af_872c2773_e0b6_4cc7_926f_8b6b632a3098; Sat, 25 Aug 2018 14:15:57 +0900 Original-Received: from localhost (vesta.misasa.okayama-u.ac.jp [150.46.48.154]) by alml002.ouadm.okayama-u.ac.jp (Postfix) with ESMTPSA id A9CD04C08F1; Sat, 25 Aug 2018 14:15:57 +0900 (JST) In-Reply-To: <87h8jkzaw2.fsf@nyu.edu> X-Mailer: Mew version 6.8 on Emacs 26.1 X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 11 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 4 Rules triggered EDT_SA_AU_PASS=0, EDT_SA_DN_PASS=0, EDT_SA_TS_PASS=0, RV6359=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6359> : inlines <6828> : streams <1796488> : uri <2695555> X-AnalysisOut: [v=2.2 cv=WslbCZXv c=1 sm=1 tr=0 a=8LLPK8U+aGQ6qN8QlyMYtQ==] X-AnalysisOut: [:117 a=8LLPK8U+aGQ6qN8QlyMYtQ==:17 a=kj9zAlcOel0A:10 a=dap] X-AnalysisOut: [Mudl6Dx4A:10 a=MqnpqPin_xzClBGD5A0A:9 a=CjuIK1q_8ugA:10] X-Spam: [F=0.5000000000; CM=0.500; MH=0.500(2018082412); 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.65 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117732 Archived-At: >>> I am having trouble enabling mouse-wheel-tilt-scroll >>> >>> Currently I have >>> >>> mouse-wheel-tilt-scroll is a variable defined in `mwheel.el'. >>> Its value is t >>> Original value was nil >>> >>> Possibly it is because my logitech mouse has many buttons and tilting >>> the wheel generates mouse-6 and mouse-7, which are bound to scroll-down >>> and scroll-up. I want to bind mouse-6 to scroll-left and tried several >>> variations on >>> >>> (define-key global-map 'scroll-left) >> >> Disable mouse-wheel-mode by `M-x mouse-wheel-mode' then see if tilting >> gives ` is undefined' or ` is undefined'. If >> not, configure Logitech mouse. >> >> Following is not necessary. >> >> (define-key global-map [mouse-6] 'mwheel-scroll) > > Thanks. I hadn't realized I need to also set mouse-wheel mode. > Now is works. Is `mouse-wheel-mode' ON by default, isn't it? Anyway, it is good to hear that it works for you. If you like operation by mouse, please check `mouse-drag-and-drop-region' too.