GNU bug report logs - #56008
29.0.50; image-mode buffer scrolled down automatically

Previous Next

Package: emacs;

Reported by: Visuwesh <visuweshm <at> gmail.com>

Date: Thu, 16 Jun 2022 04:02:01 UTC

Severity: normal

Found in version 29.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 56008 <at> debbugs.gnu.org, visuweshm <at> gmail.com
Subject: bug#56008: 29.0.50; image-mode buffer scrolled down automatically
Date: Thu, 16 Jun 2022 15:52:01 +0300
> Cc: 56008 <at> debbugs.gnu.org
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Date: Thu, 16 Jun 2022 14:04:54 +0200
> 
> >     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.

Indeed.

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

Something else, because window-start stays put at 1.  image-mode
implements "M->" by setting vscroll and hscroll, it doesn't change
window-start.  Moreover, if you type "M-x" after the recipe, the image
gets redisplayed as expected after "M->".  Which means that the
window's vscroll didn't change, either.




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

Previous Next


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