Subject: Re: bug#70041: 30.0.50; mouse-autoselect-window causes unexpected scroll

From: martin rudalics <[email-masked]>
Date: Fri, 29 Mar 2024 09:43:19 +0100

> Martin, any ideas for how to reproduce this, or maybe what could be
 > the problem?

No idea.  Some random thoughts only:

- 'mouse-autoselect-window' should not be related as long as the mouse
   is not moved.

- If text is inserted asynchronously, window point will stay after that
   text and, to make sure that point remains visible, Emacs scrolls the
   window.

- Does changing 'scroll-margin', 'scroll-conservatively',
   'scroll-down-aggressively' or 'scroll-up-aggressively' change anything
   in the behavior?

- Maybe putting something on 'window-scroll-functions' could tell what
   happened.

martin