From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tak Kunihiro Newsgroups: gmane.emacs.bugs Subject: bug#29737: 27.0.50; pixel-scroll-mode is laggy Date: Sun, 24 Dec 2017 11:28:23 +0900 (JST) Message-ID: <20171224.112823.71840469338618559.tkk@misasa.okayama-u.ac.jp> References: <834lohls0r.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1514082438 27958 195.159.176.226 (24 Dec 2017 02:27:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 24 Dec 2017 02:27:18 +0000 (UTC) Cc: tkk@misasa.okayama-u.ac.jp, 29737@debbugs.gnu.org To: valentjedi@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 24 03:27:14 2017 Return-path: Envelope-to: geb-bug-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 1eSw0P-0006o0-Lk for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Dec 2017 03:27:13 +0100 Original-Received: from localhost ([::1]:47158 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eSw2M-0001Wb-HG for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Dec 2017 21:29:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33592) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eSw2D-0001Vd-Pa for bug-gnu-emacs@gnu.org; Sat, 23 Dec 2017 21:29:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eSw2B-0003TH-2a for bug-gnu-emacs@gnu.org; Sat, 23 Dec 2017 21:29:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41094) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eSw2A-0003TA-UU for bug-gnu-emacs@gnu.org; Sat, 23 Dec 2017 21:29:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eSw2A-0004SK-I2 for bug-gnu-emacs@gnu.org; Sat, 23 Dec 2017 21:29:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tak Kunihiro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Dec 2017 02:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29737 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29737-submit@debbugs.gnu.org id=B29737.151408252717106 (code B ref 29737); Sun, 24 Dec 2017 02:29:02 +0000 Original-Received: (at 29737) by debbugs.gnu.org; 24 Dec 2017 02:28:47 +0000 Original-Received: from localhost ([127.0.0.1]:49775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSw1v-0004Rq-7n for submit@debbugs.gnu.org; Sat, 23 Dec 2017 21:28:47 -0500 Original-Received: from mxl069v65.mxlogic.net ([208.81.69.65]:59637 helo=s18p02o142.mxlogic.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSw1s-0004Rg-4j for 29737@debbugs.gnu.org; Sat, 23 Dec 2017 21:28:45 -0500 Original-Received: from unknown [42.127.236.175] (EHLO mlsec.cc.okayama-u.ac.jp) by s18p02o142.mxlogic.net(mxl_mta-8.5.0-1933) over TLS secured channel with ESMTP id 9c01f3a5.0.120798.00-381.238598.s18p02o142.mxlogic.net (envelope-from ); Sat, 23 Dec 2017 19:28:33 -0700 (MST) X-MXL-Hash: 5a3f10d12e1c13ef-ec0c478f30eb58b4f1005d5ec889cf3bc6633522 Original-Received: from alml002.ouadm.okayama-u.ac.jp (unknown [42.127.236.168]) by mlsec.cc.okayama-u.ac.jp with smtp id 1462_0a3b_0b3ec1c8_9486_4222_937a_abc24bd9bc1a; Sun, 24 Dec 2017 11:28:21 +0900 Original-Received: from localhost (p221050-ipngn200207tottori.tottori.ocn.ne.jp [153.182.220.50]) by alml002.ouadm.okayama-u.ac.jp (Postfix) with ESMTPSA id F0CD44C0A79; Sun, 24 Dec 2017 11:28:21 +0900 (JST) In-Reply-To: X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) X-NAI-Spam-Flag: NO X-NAI-Spam-Level: ********** X-NAI-Spam-Threshold: 11 X-NAI-Spam-Score: 10.1 X-NAI-Spam-Rules: 6 Rules triggered TS_MSG_REP_80_512=10, RCVD_BAD_SIP=0.1, EDT_SA_AU_PASS=0, EDT_SA_DN_PASS=0, EDT_SA_TS_FAIL=0, RV6186=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6186> : inlines <6281> : streams <1773995> : uri <2556365> X-AnalysisOut: [v=2.2 cv=Ld9M0nXi c=1 sm=1 tr=0 a=8LLPK8U+aGQ6qN8QlyMYtQ==] X-AnalysisOut: [:117 a=8LLPK8U+aGQ6qN8QlyMYtQ==:17 a=kj9zAlcOel0A:10 a=ocR] X-AnalysisOut: [9PWop10UA:10 a=RjTZhZ2kEk6hde4yDhsA:9 a=CjuIK1q_8ugA:10] X-Spam: [F=0.5000000000; CM=0.500; MH=0.500(2017122310); S=0.455(2015072901)] X-MAIL-FROM: X-SOURCE-IP: [42.127.236.175] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:141437 Archived-At: > When I slowly start scrolling, it scrolls for a while and then jumps > about 10 rows at the time, then scrolls a bit more and jumps again > If I swipe my trackpad too fast, emacs instantly eats 100% CPU and > hangs infinitely (it hangs not every time, but rather once in a > while. It can just go to the end of the file). > > If I scroll with Ctrl-key as Eli suggested in the first thread mail, > it scrolls better than before the fix, but I still see this lag > pattern (scroll a bit and then jump), but in the smaller scale and > it doesn't kill emacs. Setting mouse-wheel-progressive-speed to nil > seem to make no difference. > > Btw, while I do use macbook, my OS is Arch Linux here. Just tried > it on mac os. pixel-scroll-mode works much better here though there > is still small noticeable lag. And also I can see that scroll up > lagging more than scroll down. Can you try scrolling with following configuration? (setq mouse-wheel-scroll-amount '(1 ((shift) . 5) ((control)))) (setq mouse-wheel-progressive-speed nil) Those are two that are already suggested by Eli. Please try both at the same time.