From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: allan gottlieb Newsgroups: gmane.emacs.help Subject: Re: query: remapping a mouse press Date: Sat, 25 Aug 2018 11:38:14 -0400 Message-ID: <87h8jie9sp.fsf@nyu.edu> References: <87lg8wg5qi.fsf@nyu.edu> <86a7pcllz1.fsf@misasa.okayama-u.ac.jp> <87h8jkzaw2.fsf@nyu.edu> <20180825.141558.1044695464374052008.tkk@misasa.okayama-u.ac.jp> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1535211421 23409 195.159.176.226 (25 Aug 2018 15:37:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 25 Aug 2018 15:37:01 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Tak Kunihiro Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 25 17:36:57 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 1ftacT-00060F-1w for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Aug 2018 17:36:57 +0200 Original-Received: from localhost ([::1]:46241 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ftaeZ-0006Pq-Ej for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Aug 2018 11:39:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41691) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ftae8-0006PZ-MB for help-gnu-emacs@gnu.org; Sat, 25 Aug 2018 11:38:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ftae5-0007Db-Bd for help-gnu-emacs@gnu.org; Sat, 25 Aug 2018 11:38:40 -0400 Original-Received: from mx.cims.nyu.edu ([128.122.49.99]:63201) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ftae5-0007Cl-6c for help-gnu-emacs@gnu.org; Sat, 25 Aug 2018 11:38:37 -0400 Original-Received: from smtp.cs.nyu.edu (SMTP.CS.NYU.EDU [128.122.49.97]) by mx.cims.nyu.edu (8.15.1+Sun/8.15.1) with ESMTPS id w7PFcGHD003774 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 25 Aug 2018 11:38:17 -0400 (EDT) Original-Received: from E7450.localdomain (ool-18be58aa.dyn.optonline.net [24.190.88.170]) (authenticated bits=0) by smtp.cs.nyu.edu (8.14.7/8.14.7) with ESMTP id w7PFcEBZ017134 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 25 Aug 2018 11:38:16 -0400 Original-Received: by E7450.localdomain (Postfix, from userid 1000) id 9A0A04534A; Sat, 25 Aug 2018 11:38:14 -0400 (EDT) In-Reply-To: <20180825.141558.1044695464374052008.tkk@misasa.okayama-u.ac.jp> (Tak Kunihiro's message of "Sat, 25 Aug 2018 14:15:58 +0900 (JST)") X-Greylist: inspected by milter-greylist-4.6.2 (mx.cims.nyu.edu [128.122.49.99]); Sat, 25 Aug 2018 11:38:17 -0400 (EDT) for IP:'128.122.49.97' DOMAIN:'SMTP.CS.NYU.EDU' HELO:'smtp.cs.nyu.edu' FROM:'gottlieb@nyu.edu' RCPT:'' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx.cims.nyu.edu [128.122.49.99]); Sat, 25 Aug 2018 11:38:17 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.99.4 at mx X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.80 on 128.122.49.99 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 128.122.49.99 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:117734 Archived-At: On Sat, Aug 25 2018, Tak Kunihiro wrote: >>>> 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. Thanks. allan