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: Sat, 23 Dec 2017 12:18:56 +0900 (JST) Message-ID: <20171223.121856.1621317657268275586.tkk@misasa.okayama-u.ac.jp> References: <83shcaqxgm.fsf@gnu.org> <20171217.110045.719415281082937882.tkk@misasa.okayama-u.ac.jp> <83bmirm59m.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 1513999098 25616 195.159.176.226 (23 Dec 2017 03:18:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 23 Dec 2017 03:18:18 +0000 (UTC) Cc: tkk@misasa.okayama-u.ac.jp, valentjedi@gmail.com, 29737@debbugs.gnu.org To: eliz@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 23 04:18: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 1eSaKD-00063Y-8t for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Dec 2017 04:18:13 +0100 Original-Received: from localhost ([::1]:39857 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eSaMA-00037g-5y for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Dec 2017 22:20:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55802) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eSaM1-00036Q-2e for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2017 22:20:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eSaLx-0002I0-Tr for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2017 22:20:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39860) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eSaLx-0002Hs-QG for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2017 22:20:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eSaLx-0000bf-HL for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2017 22:20:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tak Kunihiro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Dec 2017 03:20:01 +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.15139991622281 (code B ref 29737); Sat, 23 Dec 2017 03:20:01 +0000 Original-Received: (at 29737) by debbugs.gnu.org; 23 Dec 2017 03:19:22 +0000 Original-Received: from localhost ([127.0.0.1]:48541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSaLK-0000aj-1Q for submit@debbugs.gnu.org; Fri, 22 Dec 2017 22:19:22 -0500 Original-Received: from mxl069v66.mxlogic.net ([208.81.69.66]:61727 helo=s18p02o143.mxlogic.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSaLG-0000aX-IK for 29737@debbugs.gnu.org; Fri, 22 Dec 2017 22:19:20 -0500 Original-Received: from unknown [42.127.236.175] (EHLO mlsec.cc.okayama-u.ac.jp) by s18p02o143.mxlogic.net(mxl_mta-8.5.0-1933) over TLS secured channel with ESMTP id 62bcd3a5.0.113917.00-389.226921.s18p02o143.mxlogic.net (envelope-from ); Fri, 22 Dec 2017 20:19:10 -0700 (MST) X-MXL-Hash: 5a3dcb2e343a17f9-06ffe76c616e1bd246b792956ec6116fe29d6c10 Original-Received: from alml002.ouadm.okayama-u.ac.jp (unknown [42.127.236.168]) by mlsec.cc.okayama-u.ac.jp with smtp id 736f_ff87_a4e01a03_8d81_4276_b551_7b828263b23b; Sat, 23 Dec 2017 12:18:56 +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 47AA94C0A94; Sat, 23 Dec 2017 12:18:56 +0900 (JST) In-Reply-To: <83bmirm59m.fsf@gnu.org> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) X-NAI-Spam-Flag: YES X-NAI-Spam-Level: *********** X-NAI-Spam-Threshold: 11 X-NAI-Spam-Score: 11 X-NAI-Spam-Rules: 7 Rules triggered TS_MSG_REP_80_512=10, RDF_DTN=0.9, 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 <1773904> : uri <2555833> X-AnalysisOut: [v=2.2 cv=UogTD64B 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=oukxutJ481YGSNl4QUYA:9 a=CjuIK1q_8ugA:10] X-Spam: [F=0.5000000000; CM=0.500; MH=0.500(2017122215); S=0.328(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:141407 Archived-At: >>> While I see that scrolling became pixel-wise indeed, it is also very >>> laggy. CPU blows up to 100% and ui hangs and freezes. It works ok if >>> I scroll slowly though. It happens with all my plugins and >>> customizations and if I run emacs with -Q flag. My OS is Arch Linux >>> and I also have HiDPI screen (it's MacBook 11,4, mid-2015). >> >> On the previous commit <8eb6870be690128fb1cbc012c55093813c39830c>, I >> revised two functions. I fixed `pixel-scroll-down' but I broke >> `pixel-scroll-up'. I apologize for the careless commit. >> >> With the current and broken `pixel-scroll-up', when EOB is shown on >> top of the screen, emacs hangs (or goes in infinite while loop). The >> pixel-scroll-up should be reverted to commit >> <1bda71ec3b11eeb4d06c3da094a3cb21bac18d5c>. >> >> I'm sending ChangeLog and a patch relative to the current master. > > I'd like to fix this on the release branch, not on master. Is the > patch you sent good to go to the release branch? Does it solve the > display lags mentioned in the bug report? Yes, the patch I sent is good to go to the release branch. I'm not 100% sure what 'the display lag' meant. I think the bug is the source of 'the display lag'. After the patch, at least I tested with MacBook and do not recognize 'the display lag'.