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: Sat, 06 Jan 2018 19:43:19 +0200 Message-ID: <83y3la993c.fsf@gnu.org> References: <20171224.112823.71840469338618559.tkk@misasa.okayama-u.ac.jp> <20171225.124845.1313473587937932282.tkk@misasa.okayama-u.ac.jp> <20180101.095838.502407685578664475.tkk@misasa.okayama-u.ac.jp> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1515260542 13339 195.159.176.226 (6 Jan 2018 17:42:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 6 Jan 2018 17:42:22 +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 Sat Jan 06 18:42:18 2018 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 1eXsTv-0002St-Aj for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Jan 2018 18:42:07 +0100 Original-Received: from localhost ([::1]:43782 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eXsVt-0003vf-54 for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Jan 2018 12:44:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eXsVn-0003vB-38 for bug-gnu-emacs@gnu.org; Sat, 06 Jan 2018 12:44:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eXsVm-0004Y9-7D for bug-gnu-emacs@gnu.org; Sat, 06 Jan 2018 12:44:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57926) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eXsVm-0004Y0-4N for bug-gnu-emacs@gnu.org; Sat, 06 Jan 2018 12:44:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eXsVl-0002Kn-To for bug-gnu-emacs@gnu.org; Sat, 06 Jan 2018 12:44:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Jan 2018 17:44: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.15152606398958 (code B ref 29737); Sat, 06 Jan 2018 17:44:01 +0000 Original-Received: (at 29737) by debbugs.gnu.org; 6 Jan 2018 17:43:59 +0000 Original-Received: from localhost ([127.0.0.1]:38374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXsVi-0002KP-HQ for submit@debbugs.gnu.org; Sat, 06 Jan 2018 12:43:58 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58525) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXsVg-0002KC-Jq for 29737@debbugs.gnu.org; Sat, 06 Jan 2018 12:43:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eXsVW-0004RS-Sd for 29737@debbugs.gnu.org; Sat, 06 Jan 2018 12:43:51 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55260) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eXsVW-0004RO-OV; Sat, 06 Jan 2018 12:43:46 -0500 Original-Received: from [176.228.60.248] (port=2968 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eXsVU-0007v4-Ta; Sat, 06 Jan 2018 12:43:46 -0500 In-reply-to: <20180101.095838.502407685578664475.tkk@misasa.okayama-u.ac.jp> (message from Tak Kunihiro on Mon, 01 Jan 2018 09:58:38 +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:141844 Archived-At: > Date: Mon, 01 Jan 2018 09:58:38 +0900 (JST) > Cc: eliz@gnu.org, 29737@debbugs.gnu.org, tkk@misasa.okayama-u.ac.jp > From: Tak Kunihiro > > I think that on scrolling of 1000 lines, smooth scroll is not > necessary. User wants smooth scrolling only for the first spin of > mouse wheel. > > This patch introduces a new variable `pixel-dead-time' and > `pixel-last-scroll-time'. When another scroll request was delivered > within `pixel-dead-time', very likely user does not want smooth > scrolling. > > On such situation, `scroll-down' is called instead of > `pixel-scroll-pixel-down'. On theory there should not be lag because > of smoothing. > > I tested the revised pixel-scroll-mode for a week and confirmed that > works good. When `pixel-dead-time' is zero, its behavior is the same > as before. I think `pixel-dead-time' 0.1 works better. > > I'm sending ChangeLog and a patch relative to the current master. There was no response, but do you think we should push this regardless? (It should go to the release branch, not to master.) Thanks.