unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 56008@debbugs.gnu.org, visuweshm@gmail.com
Subject: bug#56008: 29.0.50; image-mode buffer scrolled down automatically
Date: Thu, 16 Jun 2022 15:52:01 +0300	[thread overview]
Message-ID: <837d5grcsu.fsf@gnu.org> (raw)
In-Reply-To: <87czf8ervd.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu,  16 Jun 2022 14:04:54 +0200)

> Cc: 56008@debbugs.gnu.org
> From: Lars Ingebrigtsen <larsi@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.





      parent reply	other threads:[~2022-06-16 12:52 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-16  4:01 bug#56008: 29.0.50; image-mode buffer scrolled down automatically Visuwesh
2022-06-16 12:04 ` Lars Ingebrigtsen
2022-06-16 12:19   ` Lars Ingebrigtsen
2022-06-16 13:19     ` Visuwesh
2022-06-16 13:57       ` Eli Zaretskii
2022-06-16 14:05         ` Lars Ingebrigtsen
2022-06-16 14:14           ` Visuwesh
2022-06-16 15:49             ` Eli Zaretskii
2022-06-16 16:55               ` Visuwesh
2022-06-16 17:11                 ` Eli Zaretskii
2022-06-16 17:23                   ` Visuwesh
2022-06-16 15:48           ` Eli Zaretskii
2022-06-16 16:58             ` Eli Zaretskii
2022-06-16 17:20               ` Visuwesh
2022-06-16 17:26                 ` Eli Zaretskii
2022-06-16 12:52   ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=837d5grcsu.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=56008@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=visuweshm@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).