[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#61307: 30.0.50; pixel-scroll-precision-mode: window-scroll-functions
From: |
Eli Zaretskii |
Subject: |
bug#61307: 30.0.50; pixel-scroll-precision-mode: window-scroll-functions? |
Date: |
Mon, 06 Feb 2023 17:25:38 +0200 |
> Cc: 61307@debbugs.gnu.org
> Date: Mon, 06 Feb 2023 22:07:55 +0800
> From: Po Lu via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
> Michael Heerdegen <michael_heerdegen@web.de> writes:
>
> > Hello,
> >
> > I discovered that when scrolling with the mouse wheel while
> > `pixel-scroll-precision-mode' is enabled `window-scroll-functions' are
> > not run. Should they be?
> >
> >
> > TIA,
> >
> > Michael.
>
> IIRC this is due to how pixel-scroll-precision-mode calls
> set-window-start with NOFORCE set to t.
>
> Patches welcome, but please make sure they do not slow precision
> scrolling down.
We should probably call window-scroll-functions once in several
scrolls, approximately, once every text line worth of scrolling or
something.