From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: scroll-down with pixel transition Date: Sat, 15 Apr 2017 17:57:31 +0300 Message-ID: <83shl9g1lw.fsf@gnu.org> References: <8337dcip00.fsf@gnu.org> <37F2D646-2309-4135-8D36-5014A9A376E4@misasa.okayama-u.ac.jp> <83o9vzh22i.fsf@gnu.org> <20170415.073252.508582486.tkk@misasa.okayama-u.ac.jp> <447d4e59-1404-3a62-8164-569c61cdcf1b@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1492268259 24909 195.159.176.226 (15 Apr 2017 14:57:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 15 Apr 2017 14:57:39 +0000 (UTC) Cc: tkk@misasa.okayama-u.ac.jp, emacs-devel@gnu.org, yuri.v.khan@gmail.com To: =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 15 16:57:34 2017 Return-path: Envelope-to: ged-emacs-devel@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 1czP8o-0006Lk-97 for ged-emacs-devel@m.gmane.org; Sat, 15 Apr 2017 16:57:34 +0200 Original-Received: from localhost ([::1]:57077 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czP8u-0006m8-33 for ged-emacs-devel@m.gmane.org; Sat, 15 Apr 2017 10:57:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czP8O-0006ls-3w for emacs-devel@gnu.org; Sat, 15 Apr 2017 10:57:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czP8L-0002Og-1g for emacs-devel@gnu.org; Sat, 15 Apr 2017 10:57:08 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46118) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czP8K-0002OZ-VJ; Sat, 15 Apr 2017 10:57:04 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1565 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1czP8K-0006Dl-5t; Sat, 15 Apr 2017 10:57:04 -0400 In-reply-to: <447d4e59-1404-3a62-8164-569c61cdcf1b@gmail.com> (message from =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel on Sat, 15 Apr 2017 10:31:33 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:213977 Archived-At: > From: Clément Pit-Claudel > Date: Sat, 15 Apr 2017 10:31:33 -0400 > Cc: yuri.v.khan@gmail.com, emacs-devel@gnu.org > > On 2017-04-14 18:32, Tak Kunihiro wrote: > > > > I have revised code to include your algorithm for scroll-down. I > > attach it. > > Thanks, this is nice. Scroll seems much slower with this on than without it, though — is that intended? > > Will this have a significant impact on performance / CPU / battery usage? It's expected: each line is now scrolled in 10 pixel-level scrolls rather than a single character-level scroll. Does it help to set pixel-wait to zero?