GNU bug report logs - #68196
30.0.50; pixel-scroll-precision-mode won't scroll with scroll-margin 2 using macbook trackpad

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefankangas <at> gmail.com>

Date: Mon, 1 Jan 2024 23:06:02 UTC

Severity: normal

Merged with 66769

Found in version 30.0.50

Full log


View this message in rfc822 format

From: Yuan Fu <casouri <at> gmail.com>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: Po Lu <luangruo <at> yahoo.com>, 68196 <at> debbugs.gnu.org
Subject: bug#68196: 30.0.50; pixel-scroll-precision-mode won't scroll with scroll-margin 2 using macbook trackpad
Date: Mon, 1 Jan 2024 19:12:35 -0800

> On Jan 1, 2024, at 3:05 PM, Stefan Kangas <stefankangas <at> gmail.com> wrote:
> 
> Scrolling slowly with the trackpad in `pixel-scroll-precision-mode'
> doesn't work as expected on my recent Macbook Pro with the below
> settings.
> 
> Recipe to reproduce:
> 
> 1. Evaluate this form in emacs -Q:
> 
>    (progn (setq scroll-step 0)
>           (setq scroll-conservatively 500)
>           (setq scroll-margin 2)
>           (pixel-scroll-precision-mode))
> 
> 2. Go to some sufficiently long buffer, scroll down a bit and move point
>   to the top of the window: C-h i C-v
> 
> 3. Scroll down slowly using the trackpad.
> 
> The window does not scroll down, instead it just bounces back and forth
> at the top.
> 
> Note that if I scroll fast enough, the window does scroll down as
> expected.

I think precision scroll requires you to set scroll-margin to 0. I don’t remember where I learnt that fact, CCing Lu since he must know.

Yuan



This bug report was last modified 1 year and 165 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.