Subject: Re: bug#72738: 30.0.60; Pixel scrolling and scroll-margin don't work together smoothly

From: Po Lu <[email-masked]>
Date: Wed, 21 Aug 2024 22:08:21 +0800

Eli Zaretskii <[email-masked]> writes:

>> Date: Tue, 20 Aug 2024 21:46:11 +0000
>> From:  the_wurfkreuz via "Bug reports for GNU Emacs,
>>  the Swiss army knife of text editors" <[email-masked]>
>> 
>> Setting '(pixel-scroll-precision-mode 1)' with '(setq scroll-margin 5)' (or any other non-zero value) creates a
>> conflict where the pointer just
>> can't move further while using mouse scrolling. Without '(pixel-scroll-precision-mode 1)'  mouse scrolling with
>> the scroll-margin works fine.
>
> Adding Po Lu.
>
> Does it make sense to use scroll-margin with pixel-precision
> scrolling?

In theory it does, and we are aware of this issue.  The challenge is
that any attempt to account for a scroll margin screws with scrolling
tall images, and we currently consider the latter more important, and as
such configurations with both a scroll-margin and p-s-p-mode enabled are
not supported.