|
From: | Elias Mårtenson |
Subject: | Re: overly-eager mouse scrolling on mac |
Date: | Fri, 24 Jan 2014 11:31:20 +0800 |
Hi,
> * Jan D. <address@hidden> [2014-01-23 14:00:09 +0100]:
Thanks for the pointer.>
> Sam Steingold skrev 2014-01-22 21:07:
>> In GNU Emacs 24.3.50.1 (x86_64-apple-darwin13.0.0, NS apple-appkit-1265.00)
>> of 2014-01-21 on sds-MacBook-Pro.local
>> Windowing system distributor `Apple', version 10.3.1265
>> Configured using: `configure --with-ns'
>>
>> Whenever I touch the mouse, emacs scrolls like crazy, starts blinking
>> (visible-bell is on), and *Message* contains these:
>>
>> byte-code: End of buffer [5 times]
>> byte-code: End of buffer [5 times]
>> byte-code: Beginning of buffer [7 times]
>>
>> lossage is:
>>
>> <double-wheel-down> <wheel-right> <wheel-down> <wheel-down>
>> <double-wheel-down> <triple-wheel-down> <triple-wheel-down>
>> <triple-wheel-down> <triple-wheel-down> <wheel-up>
>> <double-wheel-up> <wheel-down> <double-wheel-down>
>> <wheel-up> <double-wheel-up> <triple-wheel-up> <triple-wheel-up>
>> <wheel-up> <select-window> <wheel-up> <double-wheel-up>
>> <triple-wheel-up> <triple-wheel-up> <triple-wheel-up>
>> <triple-wheel-up> <triple-wheel-up> <wheel-down> <double-wheel-down>
>> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
>> <triple-wheel-down> <triple-wheel-down> C-h l
>>
>> is this a known bug?
>> feature?
>>
>> I suspect that there is a timing parameter in the mouse handling code
>> which is too small...
>>
>> PS. All the other applications (firefox &c) behave normally.
>>
>
> The blinking thing has been discussed in bug 16196.
Your problem is slightly different from mine:
you don't like the beeps,
I don't like the scroll amount.
Well, the workaround is only a partial fix. (see below)
> There is a mwheel workaround in there.
My problem is that there are too many mouse events are generated,
> As for "crazy", that is not a clear technical term so I don't know what
> that means.
so a touch to the mouse results in a huge scroll.
Basically, a scroll means either end-of-buffer or beginning-of-buffer.
All the other applications seem to handle the mouse as I want them too.
> If you mean that is scrolls very fast, I guess you have to
> either fix mwheel or adjust mouse acceleration in OSX settings.
The problem seems to be with Emacs.
Okay, so you are confirming my impression that the problem is with Emacs.
> Here (with Magic mouse and trackpad) the speed is reasonable. Faster
> than GNU/Linux/Gtk+ on the same hardware, but still OK.
Thanks.
elp-instrument-function appears to indicate that mwheel-scroll is called
much more often than I want it to be called - 20+ times for a simple
touch of the mouse.
http://www.childpsy.net/ http://mideasttruth.com http://www.memritv.org
http://memri.org http://dhimmi.com http://americancensorship.org
If money were measured in piles, I would have had a pit of it.
[Prev in Thread] | Current Thread | [Next in Thread] |