GNU bug report logs - #61307
30.0.50; pixel-scroll-precision-mode: window-scroll-functions?

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Mon, 6 Feb 2023 01:51:01 UTC

Severity: normal

Found in version 30.0.50

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: michael_heerdegen <at> web.de, 61307 <at> debbugs.gnu.org
Subject: bug#61307: 30.0.50; pixel-scroll-precision-mode: window-scroll-functions?
Date: Mon, 06 Feb 2023 17:25:38 +0200
> Cc: 61307 <at> 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 <at> gnu.org>
> 
> Michael Heerdegen <michael_heerdegen <at> 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.




This bug report was last modified 2 years and 116 days ago.

Previous Next


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