From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#28342: 26.0.50; (OSX) Jumpy Scrolling using Trackpad Date: Wed, 6 Sep 2017 09:53:54 +0100 Message-ID: References: <225582B1-4598-4966-AE0B-4E8C153C8BF2@fastmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c112760dc8d7e0558817b01" X-Trace: blaine.gmane.org 1504711167 26635 195.159.176.226 (6 Sep 2017 15:19:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 6 Sep 2017 15:19:27 +0000 (UTC) Cc: 28342@debbugs.gnu.org, "Charles A. Roelli" , James Nguyen To: James Nguyen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 06 17:19:15 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 1dpc6h-0006Mu-Fz for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Sep 2017 17:19:11 +0200 Original-Received: from localhost ([::1]:36682 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpc6o-0002w8-Ch for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Sep 2017 11:19:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpc6c-0002u8-La for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2017 11:19:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dpc6Y-0004DL-Ry for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2017 11:19:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44499) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dpc6Y-0004D1-Ku for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2017 11:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dpc6Y-0002K3-AU for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2017 11:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Sep 2017 15:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28342 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28342-submit@debbugs.gnu.org id=B28342.15047111378917 (code B ref 28342); Wed, 06 Sep 2017 15:19:02 +0000 Original-Received: (at 28342) by debbugs.gnu.org; 6 Sep 2017 15:18:57 +0000 Original-Received: from localhost ([127.0.0.1]:53180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dpc6S-0002Jk-DW for submit@debbugs.gnu.org; Wed, 06 Sep 2017 11:18:57 -0400 Original-Received: from mail-pf0-f172.google.com ([209.85.192.172]:36290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dpW5x-00065o-QJ for 28342@debbugs.gnu.org; Wed, 06 Sep 2017 04:54:02 -0400 Original-Received: by mail-pf0-f172.google.com with SMTP id e199so11850017pfh.3 for <28342@debbugs.gnu.org>; Wed, 06 Sep 2017 01:54:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ZfpPowbLnj0r2qq5BioahaZodokGPBBxkRSsVGT/bHE=; b=E51LQT2cm+0BICfxUqULd0Sfbq2W2BJQKOgz8cW1NGlgXg/GZcNhGqj3Lwj/N6j56p 0D7a61OZKSNLQwhaoPb/UWDhaVbTJ/ttaATs0CF2gY7B6LhSIsVxZT1XiHRCuwuYS75y beS4Z+TSjGGcfle3oAuZi36whJvu5Hf6rXAvvtLPe6SRiBPWLWWSQayYMh1AdIVDOOGs t+dkdD5Bw2XyXngO3fUfBEYmAdG1W4mDqFhke0NaxQxxs/uoKQJCzwyQgPe1QzYoFX7G 1MtOINgMx7klWlGIEGBoTHJjSxsBl738x07TVJnYGOrk0b9UV/ZX9RPTddiN/TSy/ZD6 e1aw== 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=ZfpPowbLnj0r2qq5BioahaZodokGPBBxkRSsVGT/bHE=; b=BM4+VVDMchFMk6HNI+Lzd+lTTiK6QuKjfUTsRVsyr44JXPCQFB7GdTMGoiXV7s1i2E 33J5Kp2IIizm9W0kxf9vjdgh7NOubCMiqpviVlMg1c29X6t2WDVmzBuk0cgUrWT9pYrp RSvTIG6oadPY8E8PB5wX4Z2fb6fvkkeUEr9F6XiDzjSqcB9x3bGFkfQ8BbBhxxA4m/oS e0DLlEIDbMxY41ePEYCWnnMm3x0Mr8dImuY+K9UTVE+Jsae8KFuoyqg2HTrThbMwI4hq BKs/yKwRZGu7t3ALLCNIVofjpm+EIqj3yMGeftaL0mJ600Z/G1A3XDRiaM1gy2DnQ4a1 gALg== X-Gm-Message-State: AHPjjUgFuOCKwwGSF5G+iJev2L9XBR9HlDwpdwfqlec0CdnB+OKUZLQ1 VnKcMLMTINaLk6wrbTlYQpjOar6S/Q== X-Google-Smtp-Source: ADKCNb5EvgUHjUwkoGj/jw/ibGIzam+WvLoy4ROwWm16NjMnT/RWemDzLVYYCDZg4jQfo5LaDvY4bB9auZnX3fI0IeE= X-Received: by 10.98.57.196 with SMTP id u65mr202652pfj.196.1504688035628; Wed, 06 Sep 2017 01:53:55 -0700 (PDT) Original-Received: by 10.100.130.207 with HTTP; Wed, 6 Sep 2017 01:53:54 -0700 (PDT) Original-Received: by 10.100.130.207 with HTTP; Wed, 6 Sep 2017 01:53:54 -0700 (PDT) In-Reply-To: <225582B1-4598-4966-AE0B-4E8C153C8BF2@fastmail.com> X-Mailman-Approved-At: Wed, 06 Sep 2017 11:18:54 -0400 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:136636 Archived-At: --94eb2c112760dc8d7e0558817b01 Content-Type: text/plain; charset="UTF-8" I can replicate on ms windows using just: (setq scroll-margin 5) (setq scroll-preserve-screen-position 1) (setq mouse-wheel-scroll-amount '(1)) Open a large file. Make sure you're at the start of the file M-< Scroll down with the mouse wheel and within a few clicks point jumps to the middle of the screen. A few more and it jumps to the end of the file. On 6 Sep 2017 2:15 a.m., "James Nguyen" wrote: The cursor jumps from within the scroll-margins to end of file and back and forth. Some of those settings can probably be removed but scroll-margin is probably important. > On Sep 5, 2017, at 1:14 PM, Charles A. Roelli wrote: > >> Resent-From: James Nguyen >> Original-Sender: "Debbugs-submit" >> Resent-CC: bug-gnu-emacs@gnu.org >> Resent-Sender: help-debbugs@gnu.org >> From: James Nguyen >> Date: Sun, 03 Sep 2017 17:22:29 -0700 >> Content-Type: text/plain >> >> >> Recipe: >> >> emacs -Q >> >> (setq scroll-margin 5 >> scroll-step 1 >> scroll-conservatively 10000 >> scroll-preserve-screen-position 1 >> mouse-wheel-scroll-amount '(1) >> mouse-wheel-progressive-speed nil >> mouse-wheel-follow-mouse 't) >> >> Open another buffer (init.el for example). Use only one window. >> Scroll with trackpad up and down. >> Use trackpad mouse to click past the scroll margin. >> Try scrolling up and down with trackpad. It will jump wildly. > > What jumps wildly? Does removing any of these settings stop the issue > from occurring? --94eb2c112760dc8d7e0558817b01 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I can replicate on ms windows using just:

(setq scroll-margin 5)
(setq=C2=A0scroll-pr= eserve-screen-position 1)
(setq=C2=A0mo= use-wheel-scroll-amount '(1))

Open a large file. Make=C2= =A0sure you're at the start of the file
<= font face=3D"sans-serif">
M-<
<= br>
Scroll down wit= h the mouse wheel and within a few clicks point jumps to the middle of the = screen. A few more and it jumps to the end of the file.

On 6 Sep 2017= 2:15 a.m., "James Nguyen" <jamesn@fastmail.com> wrote:
The cursor jumps from within the scroll-margins to end of fil= e and back and forth.

Some of those settings can probably be removed but scroll-margin is probabl= y important.

> On Sep 5, 2017, at 1:14 PM, Charles A. Roelli <charles@aurox.ch> wrote:
>
>> Resent-From: James Nguyen <james@jojojames.com>
>> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs= .gnu.org>
>> Resent-CC: bug-gnu-emacs@= gnu.org
>> Resent-Sender: help-debbug= s@gnu.org
>> From: James Nguyen <jame= s@jojojames.com>
>> Date: Sun, 03 Sep 2017 17:22:29 -0700
>> Content-Type: text/plain
>>
>>
>> Recipe:
>>
>> emacs -Q
>>
>> (setq scroll-margin 5
>>=C2=A0 =C2=A0 =C2=A0 scroll-step 1
>>=C2=A0 =C2=A0 =C2=A0 scroll-conservatively 10000
>>=C2=A0 =C2=A0 =C2=A0 scroll-preserve-screen-position 1
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 mouse-wheel-scroll-amount '(1)
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 mouse-wheel-progressive-speed nil
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 mouse-wheel-follow-mouse 't)
>>
>> Open another buffer (init.el for example). Use only one window. >> Scroll with trackpad up and down.
>> Use trackpad mouse to click past the scroll margin.
>> Try scrolling up and down with trackpad. It will jump wildly.
>
> What jumps wildly?=C2=A0 Does removing any of these settings stop the = issue
> from occurring?





--94eb2c112760dc8d7e0558817b01--