From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#56008: 29.0.50; image-mode buffer scrolled down automatically Date: Thu, 16 Jun 2022 15:52:01 +0300 Message-ID: <837d5grcsu.fsf@gnu.org> References: <87pmj9cl4l.fsf@gmail.com> <87czf8ervd.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40114"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56008@debbugs.gnu.org, visuweshm@gmail.com To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 16 15:22:11 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o1pRq-000AHv-HB for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Jun 2022 15:22:10 +0200 Original-Received: from localhost ([::1]:48000 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o1pRp-0002Py-Es for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Jun 2022 09:22:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44286) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1oze-000801-Oi for bug-gnu-emacs@gnu.org; Thu, 16 Jun 2022 08:53:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47116) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o1oze-0000BS-DP for bug-gnu-emacs@gnu.org; Thu, 16 Jun 2022 08:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o1oze-0003pH-AN for bug-gnu-emacs@gnu.org; Thu, 16 Jun 2022 08:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Jun 2022 12:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56008 X-GNU-PR-Package: emacs Original-Received: via spool by 56008-submit@debbugs.gnu.org id=B56008.165538393814654 (code B ref 56008); Thu, 16 Jun 2022 12:53:02 +0000 Original-Received: (at 56008) by debbugs.gnu.org; 16 Jun 2022 12:52:18 +0000 Original-Received: from localhost ([127.0.0.1]:41013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1oyw-0003oH-Ic for submit@debbugs.gnu.org; Thu, 16 Jun 2022 08:52:18 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59210) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1oyu-0003o4-Do for 56008@debbugs.gnu.org; Thu, 16 Jun 2022 08:52:16 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60274) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1oym-00006W-93; Thu, 16 Jun 2022 08:52:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=oqM+UkeDLrTgeD5fl59L3FW+rBJjBNpHSEWRiVoOduI=; b=p1d23OPhGZmk BM9rTGCqFjz7FqRlnCu3Y5BSumCP/u21BKTPE3P83TnGCya2Mbyo1yZ7Wyhe1280ybsxNXQb3BPsn WmDWd4MkjeoHhBcQEMaFTizuKsZGK8bU0SvhM3hPbQr8L8oU5R+bBYQzj30NURh4NRKw/Qqn1ksfF t4DT/ORopPsLeoK+aWj5hM3SJZDlsuE4RfMjLAyi0UFfAJesL6drHwjJ/ZxQ86TIYuklQ7fBheblO E2ovJW/xMRMkaQQDLPYeQhmlu+F6R6MYsjXTpQAnpV+XaaN0z6KuU5JI+3Q/7JLBgoZwM0tUEMF7t R4o4+JKHVPuFSDFOxi0rkw==; Original-Received: from [87.69.77.57] (port=2679 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1oyl-0003FE-Ny; Thu, 16 Jun 2022 08:52:08 -0400 In-Reply-To: <87czf8ervd.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 16 Jun 2022 14:04:54 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:234635 Archived-At: > Cc: 56008@debbugs.gnu.org > From: Lars Ingebrigtsen > 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.