From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: Re: overly-eager mouse scrolling on mac Date: Thu, 23 Jan 2014 14:52:48 -0500 Organization: disorganization Message-ID: References: <52E11259.8090802@swipnet.se> Reply-To: sds@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1390506790 21094 80.91.229.3 (23 Jan 2014 19:53:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Jan 2014 19:53:10 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 23 20:53:18 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W6QKz-0004Xb-1L for ged-emacs-devel@m.gmane.org; Thu, 23 Jan 2014 20:53:17 +0100 Original-Received: from localhost ([::1]:42938 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6QKy-00060I-ME for ged-emacs-devel@m.gmane.org; Thu, 23 Jan 2014 14:53:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50508) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6QKr-0005vu-CR for emacs-devel@gnu.org; Thu, 23 Jan 2014 14:53:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W6QKn-0001MI-5O for emacs-devel@gnu.org; Thu, 23 Jan 2014 14:53:09 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:54872) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6QKm-0001M5-UX for emacs-devel@gnu.org; Thu, 23 Jan 2014 14:53:05 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W6QKj-0004QW-4x for emacs-devel@gnu.org; Thu, 23 Jan 2014 20:53:01 +0100 Original-Received: from static-72-80-117-250.nycmny.fios.verizon.net ([72.80.117.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Jan 2014 20:53:01 +0100 Original-Received: from sds by static-72-80-117-250.nycmny.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Jan 2014 20:53:01 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 78 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: static-72-80-117-250.nycmny.fios.verizon.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (darwin) X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Cancel-Lock: sha1:XQoajN4t4+s3z4sDUuVVaOe6Iek= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:168980 Archived-At: Hi, > * Jan D. [2014-01-23 14:00:09 +0100]: > > 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: >> >> >> >> >> >> >> >> >> >> >> 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. Thanks for the pointer. Your problem is slightly different from mine: you don't like the beeps, I don't like the scroll amount. > There is a mwheel workaround in there. Well, the workaround is only a partial fix. (see below) > As for "crazy", that is not a clear technical term so I don't know what > that means. My problem is that there are too many mouse events are generated, so a touch to the mouse results in a huge scroll. Basically, a scroll means either end-of-buffer or beginning-of-buffer. > If you mean that is scrolls very fast, I guess you have to > either fix mwheel or adjust mouse acceleration in OSX settings. All the other applications seem to handle the mouse as I want them too. The problem seems to be with Emacs. > Here (with Magic mouse and trackpad) the speed is reasonable. Faster > than GNU/Linux/Gtk+ on the same hardware, but still OK. Okay, so you are confirming my impression that the problem is with Emacs. 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. -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1265 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.