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


Message #23 received at 61307 <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 61307 <at> debbugs.gnu.org
Subject: Re: bug#61307: 30.0.50; pixel-scroll-precision-mode:
 window-scroll-functions?
Date: Mon, 13 Feb 2023 03:20:19 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

> So I guess we should add calls to window-scroll-functions inside
> pixel-scroll.el functions which actually scroll.  Patches welcome.

pixel-scroll-mode (without "precision") already behaves correctly,
AFAICT.

pixel-scroll-precision-mode has basically one command in its minor mode
map that does not call the w-s-functions: `pixel-scroll-precision'.

So the naïve approach would be: call `window-scroll-functions' at the
end of that command.  Is this the right direction?  Else I guess I'm not
qualified here.  Haven't checked that momentum stuff (for scrolling) yet.


Thanks,

Michael.




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.