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#59902: 30.0.50; Image overlay is not updated until the cursor moves to the overlay Date: Thu, 08 Dec 2022 22:24:01 +0200 Message-ID: <83h6y51w66.fsf@gnu.org> References: <87zgby87rm.fsf@localhost> <83h6y62kjp.fsf@gnu.org> <87ilim863y.fsf@localhost> <83lenh20fy.fsf@gnu.org> <87a63x7l1w.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="364"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59902@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 08 21:25:43 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 1p3NSh-000ATR-8q for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Dec 2022 21:25:43 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3NS8-0008HZ-R5; Thu, 08 Dec 2022 15:25:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3NS5-0008H4-Pg for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2022 15:25:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p3NS2-0002kH-O3 for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2022 15:25:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p3NS2-0003Jq-CQ for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2022 15:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Dec 2022 20:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59902 X-GNU-PR-Package: emacs Original-Received: via spool by 59902-submit@debbugs.gnu.org id=B59902.167053105912737 (code B ref 59902); Thu, 08 Dec 2022 20:25:02 +0000 Original-Received: (at 59902) by debbugs.gnu.org; 8 Dec 2022 20:24:19 +0000 Original-Received: from localhost ([127.0.0.1]:58917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3NRL-0003JN-C5 for submit@debbugs.gnu.org; Thu, 08 Dec 2022 15:24:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3NRJ-0003JH-TC for 59902@debbugs.gnu.org; Thu, 08 Dec 2022 15:24:18 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3NRE-0002cC-Fv; Thu, 08 Dec 2022 15:24:12 -0500 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=Ki4hkcsy2f3oCO+BqMEebwgh6xfmkWpOanbYabUYupU=; b=oyxWDzX+wuCo TbHTOsGbGXjYZOM27SskG4qPgSxBlnNBzN0w743z+BIO9fjmg813ik29fgaeJ8wQpHvayX99i512e 6AlcjM3KZVKsnLOTyDIcEizW5LSEQbpaEanJSij7eJJg38JmsiGdFHBUqVDpqDVvGqDzi1N+SIRZa UZWrvECfCXf1MFJWEKDFUU3q51jtm5mgfJ3QdFBD+ob4YUU/2K64h6OXiGLeurRMAtUZgglEgs5x8 PLdqJf7dwun/kID55q8BNW0+4PgQIJFMqqX9vQS2t/9NUyU8Em4J/iukBtMKcGjawA6nVDUtHruHI T2Vbom/UbLkXiEBHao4MjA==; Original-Received: from [87.69.77.57] (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 1p3NRD-0007Oa-UH; Thu, 08 Dec 2022 15:24:12 -0500 In-Reply-To: <87a63x7l1w.fsf@localhost> (message from Ihor Radchenko on Thu, 08 Dec 2022 19:27:39 +0000) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:250335 Archived-At: > From: Ihor Radchenko > Cc: 59902@debbugs.gnu.org > Date: Thu, 08 Dec 2022 19:27:39 +0000 > > Eli Zaretskii writes: > > > Can you help me modify the recipe so that I won't need a 'sh' > > executable that is a Posix shell? > > Ok. Try the following: > > 1. Save colour.png to /tmp/colour.png (300x300) > 2. emacs -Q > 3. Open an org file with the following contents > > > > [[file:/tmp/colour.png]] > > 4. C-c C-x C-v > 5. Observe 300x300 image displayed > 6. Overwrite /tmp/colour.png with colour2.png (500x300) > 7. C-c C-x C-v > 8. Image disappear > 9. C-c C-x C-v > 10. _Old_ image appears > 11. Move point to the image. Observe image being updated to the correct > 500x300 size Thanks. I think when the image is replaced, you need to call clear-image-cache.