unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Yuan Fu <casouri@gmail.com>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: Po Lu <luangruo@yahoo.com>, 68196@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	[thread overview]
Message-ID: <7CEA24EB-B62E-4EEE-A2C4-4FED27FF5105@gmail.com> (raw)
In-Reply-To: <CADwFkmn53hyijSFrGRKg=G1P1eKg5oqBQrnu=pXZXcmw4cphzQ@mail.gmail.com>



> On Jan 1, 2024, at 3:05 PM, Stefan Kangas <stefankangas@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




  reply	other threads:[~2024-01-02  3:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-01 23:05 bug#68196: 30.0.50; pixel-scroll-precision-mode won't scroll with scroll-margin 2 using macbook trackpad Stefan Kangas
2024-01-02  3:12 ` Yuan Fu [this message]
2024-01-02  3:19   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-02  3:30     ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7CEA24EB-B62E-4EEE-A2C4-4FED27FF5105@gmail.com \
    --to=casouri@gmail.com \
    --cc=68196@debbugs.gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=stefankangas@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).