From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Valentin Ignatyev Newsgroups: gmane.emacs.bugs Subject: bug#29737: 27.0.50; pixel-scroll-mode is laggy Date: Sun, 24 Dec 2017 15:18:35 +1000 Message-ID: References: <834lohls0r.fsf@gnu.org> <20171224.112823.71840469338618559.tkk@misasa.okayama-u.ac.jp> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114491b67b400305610f2e81" X-Trace: blaine.gmane.org 1514092637 20920 195.159.176.226 (24 Dec 2017 05:17:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 24 Dec 2017 05:17:17 +0000 (UTC) Cc: 29737@debbugs.gnu.org To: Tak Kunihiro Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 24 06:17: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 1eSyes-0004yL-MI for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Dec 2017 06:17:10 +0100 Original-Received: from localhost ([::1]:58676 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eSygr-0005KW-5f for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Dec 2017 00:19:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48629) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eSygk-0005Je-2K for bug-gnu-emacs@gnu.org; Sun, 24 Dec 2017 00:19:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eSygg-0007kT-9i for bug-gnu-emacs@gnu.org; Sun, 24 Dec 2017 00:19:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41166) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eSygg-0007kN-60 for bug-gnu-emacs@gnu.org; Sun, 24 Dec 2017 00:19:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eSygg-0008Qp-04 for bug-gnu-emacs@gnu.org; Sun, 24 Dec 2017 00:19:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Valentin Ignatyev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Dec 2017 05:19: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.151409272432381 (code B ref 29737); Sun, 24 Dec 2017 05:19:01 +0000 Original-Received: (at 29737) by debbugs.gnu.org; 24 Dec 2017 05:18:44 +0000 Original-Received: from localhost ([127.0.0.1]:49847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSygN-0008QD-L3 for submit@debbugs.gnu.org; Sun, 24 Dec 2017 00:18:43 -0500 Original-Received: from mail-it0-f54.google.com ([209.85.214.54]:39976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSygL-0008Q0-Bu for 29737@debbugs.gnu.org; Sun, 24 Dec 2017 00:18:41 -0500 Original-Received: by mail-it0-f54.google.com with SMTP id f190so18509005ita.5 for <29737@debbugs.gnu.org>; Sat, 23 Dec 2017 21:18:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=yrvMau/pLzynGIApNxFWnjb0HNinME1/oU+Ezvu1S58=; b=vHp5r8oQ7YudtMoBEb17essl0Cup7oDBBqicsVwPj9PavGfkXhqtRRKaWunwkX6JpL k90YLj38mL9vSAAKx/AgtUgbSI1HHYjLegswHbu1CABIm/u0XE08o/KsfuEIJnAt8XdI IzWx6OZSyKNJIZ/s+D+IKGy5m8HcXYi66pWJbtW3Go2PQ5O119XO5NBXPFvE28KkGajv WIHUq+Le5H4/QEZqso4ppilH2joXXTQ09PqjqqEBuCy6saD2Oe4FZh3Kae9pUfcFqCqI 1H98pJPw9xM/UGUYGh1v7f8excUc0nOUpyiY31X7ckR9Za4kHQo50yX2Cdl/fJyGX2vU B6Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=yrvMau/pLzynGIApNxFWnjb0HNinME1/oU+Ezvu1S58=; b=VAEKh9PJ9WFd9RYTsm+4+2qlNc2Eo1Ihodc4J1j8B6XNQVcAG/nRCIc7hYOt5aFLnd LiCZv0wi7TV2Clmn67FmfAkNkI7MGCc13dNCQYeYW0vHVDQCwn0yya1zgRkUawev1i5U /GaB8V18w7LhmJLgb6T/2rWFgk9LrqXuQYYdJkQG0rSUuf+6IR7Q+J+9GGluFv4jJIJQ W9jvzRJ5FUVtm/mShygYgYWkagDI4RFEZiHlNkW93dRZ6fAOzI+HyyjR4MpmcgCwSEH9 gmb/FJac2IoVgvawV/Vyg84GyT6UH0jBA29tBGHiQ6EuobdHcN7NB2XnaSg+c8l08QmJ m2DQ== X-Gm-Message-State: AKGB3mLtQk4tFUxP6UwajSBytBPt3FrmFCLtoDyVJwLW3/AWwK7ei3eK uPKHSDaCNg4m3kr+jYYVlnR7skExP8evMhdrEd0= X-Google-Smtp-Source: ACJfBotFW57cyA74vaKZiYXKjZnLqsfx/86sek/z32xD6EBZWVZnqJc+YUKXtjHD1M5L7z82rTS9MKj0UTSNP79m9g8= X-Received: by 10.36.82.17 with SMTP id d17mr23220948itb.56.1514092715784; Sat, 23 Dec 2017 21:18:35 -0800 (PST) Original-Received: by 10.107.149.201 with HTTP; Sat, 23 Dec 2017 21:18:35 -0800 (PST) In-Reply-To: <20171224.112823.71840469338618559.tkk@misasa.okayama-u.ac.jp> 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:141440 Archived-At: --001a114491b67b400305610f2e81 Content-Type: text/plain; charset="UTF-8" I've tried these both at the same time already. As I've said - scrolling down is a bit laggy (and it eats the CPU and turns on my fans up high). And scroll up is much laggier. It's when I scroll slowly. If I do quick swipe - emacs hangs and then jumps to the line when scrolling must end. On Sun, Dec 24, 2017 at 12:28 PM, Tak Kunihiro wrote: > > 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. > --001a114491b67b400305610f2e81 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I've tried these both at the same time already. As I&#= 39;ve said - scrolling down is a bit laggy (and it eats the CPU and turns o= n my fans up high). And scroll up is much laggier. It's when I scroll s= lowly. If I do quick swipe - emacs hangs and then jumps to the line when sc= rolling must end.

On Sun, Dec 24, 2017 at 12:28 PM, Tak Kunihiro <tkk@misasa.ok= ayama-u.ac.jp> wrote:
> 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.=C2=A0 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.=C2=A0 Setting mouse-wheel-progressive-speed= to nil
> seem to make no difference.
>
> Btw, while I do use macbook, my OS is Arch Linux here.=C2=A0 Ju= st tried
> it on mac os. pixel-scroll-mode works much better her= e 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?

=C2=A0 (setq mouse-wheel-scroll-amount '(1 ((shift) . 5) ((control))))<= br> =C2=A0 (setq mouse-wheel-progressive-speed nil)

Those are two that are already suggested by Eli.=C2=A0 Please try both at the same time.

--001a114491b67b400305610f2e81--