Subject: bug#56008: 29.0.50; image-mode buffer scrolled down automatically

From: Lars Ingebrigtsen <[email-masked]>
Date: Thu, 16 Jun 2022 14:04:54 +0200

Visuwesh <[email-masked]> writes:

> image-mode buffers are scrolled down without user intervention sometimes
> when another buffer content is updated.  I can reliably reproduce this
> using eww.  To demonstrate,
>
>     1. emacs -Q
>     2. Visit attached image file.
>     3. s o ;; to make the window show only some part of the image
>     4. M->
>     5. C-x 3 ;; split the frame into two windows
>     6. M-s M-w search for something here RET
>     7. C-x o ;; switch to the image-mode buffer
>     8. Observe image-mode buffer moving to the beginning of image when
>        the eww buffer gets updated with the webpage content.

I can reproduce this -- what a strange error.

Hm...  anybody got any ideas how to debug this?  Something is apparently
resetting the window-start in the wrong window?  Or...  something else?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no