From: allan gottlieb <gottlieb@nyu.edu>
To: Tak Kunihiro <tkk@misasa.okayama-u.ac.jp>
Cc: help-gnu-emacs@gnu.org
Subject: Re: query: remapping a mouse press
Date: Sat, 25 Aug 2018 11:38:14 -0400 [thread overview]
Message-ID: <87h8jie9sp.fsf@nyu.edu> (raw)
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)")
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 <mouse-6> 'scroll-left)
>>>
>>> Disable mouse-wheel-mode by `M-x mouse-wheel-mode' then see if tilting
>>> gives `<wheel-right> is undefined' or `<wheel-left> 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
next prev parent reply other threads:[~2018-08-25 15:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-23 20:58 query: remapping a mouse press allan gottlieb
2018-08-23 23:08 ` Tak Kunihiro
[not found] ` <87h8jkzaw2.fsf@nyu.edu>
2018-08-25 5:15 ` Tak Kunihiro
2018-08-25 15:38 ` allan gottlieb [this message]
2018-08-26 18:10 ` hw
2018-08-26 21:07 ` allan gottlieb
2018-08-26 21:38 ` hw
2018-08-26 22:13 ` allan gottlieb
2018-08-27 15:35 ` hw
2018-08-27 21:13 ` allan gottlieb
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h8jie9sp.fsf@nyu.edu \
--to=gottlieb@nyu.edu \
--cc=help-gnu-emacs@gnu.org \
--cc=tkk@misasa.okayama-u.ac.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).