From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#29737: 27.0.50; pixel-scroll-mode is laggy Date: Fri, 22 Dec 2017 12:22:13 +0200 Message-ID: <83bmirm59m.fsf@gnu.org> References: <83vah6r0dz.fsf@gnu.org> <83shcaqxgm.fsf@gnu.org> <20171217.110045.719415281082937882.tkk@misasa.okayama-u.ac.jp> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1513938077 1616 195.159.176.226 (22 Dec 2017 10:21:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 22 Dec 2017 10:21:17 +0000 (UTC) Cc: valentjedi@gmail.com, 29737@debbugs.gnu.org To: Tak Kunihiro Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 22 11:21:13 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 1eSKRy-0008M1-Nx for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Dec 2017 11:21:10 +0100 Original-Received: from localhost ([::1]:43543 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eSKTx-000197-4y for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Dec 2017 05:23:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35109) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eSKTr-00018V-0r for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2017 05:23:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eSKTm-00019Y-NU for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2017 05:23:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38217) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eSKTm-00019N-GI for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2017 05:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eSKTm-0005R7-AM for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2017 05:23:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Dec 2017 10:23: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.151393814520839 (code B ref 29737); Fri, 22 Dec 2017 10:23:02 +0000 Original-Received: (at 29737) by debbugs.gnu.org; 22 Dec 2017 10:22:25 +0000 Original-Received: from localhost ([127.0.0.1]:46898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSKTB-0005Q3-4y for submit@debbugs.gnu.org; Fri, 22 Dec 2017 05:22:25 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:43163) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSKT8-0005Pm-6l for 29737@debbugs.gnu.org; Fri, 22 Dec 2017 05:22:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eSKT2-0000Ov-42 for 29737@debbugs.gnu.org; Fri, 22 Dec 2017 05:22:17 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41790) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eSKT1-0000OX-Ve; Fri, 22 Dec 2017 05:22:16 -0500 Original-Received: from [176.228.60.248] (port=1879 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eSKT1-0003ny-2c; Fri, 22 Dec 2017 05:22:15 -0500 In-reply-to: <20171217.110045.719415281082937882.tkk@misasa.okayama-u.ac.jp> (message from Tak Kunihiro on Sun, 17 Dec 2017 11:00:45 +0900 (JST)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:141366 Archived-At: > Date: Sun, 17 Dec 2017 11:00:45 +0900 (JST) > Cc: valentjedi@gmail.com, 29737@debbugs.gnu.org, tkk@misasa.okayama-u.ac.jp > From: Tak Kunihiro > > > 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? Thanks.