help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: query: remapping a mouse press


From: allan gottlieb
Subject: Re: query: remapping a mouse press
Date: Sat, 25 Aug 2018 11:38:14 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]