From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MMHsHBUehWOt5wAAbAwnHQ (envelope-from ) for ; Mon, 28 Nov 2022 21:46:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gMfNHBUehWO3fQAA9RJhRA (envelope-from ) for ; Mon, 28 Nov 2022 21:46:13 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B8D55F7CB for ; Mon, 28 Nov 2022 21:46:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozl04-0006Ae-9h; Mon, 28 Nov 2022 15:45:12 -0500 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 1ozl02-0006AW-Fo for emacs-orgmode@gnu.org; Mon, 28 Nov 2022 15:45:10 -0500 Received: from pb-smtp2.pobox.com ([64.147.108.71]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozl00-0005kw-IX for emacs-orgmode@gnu.org; Mon, 28 Nov 2022 15:45:10 -0500 Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 199C516F875; Mon, 28 Nov 2022 15:45:03 -0500 (EST) (envelope-from wtd@pobox.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=date:from :to:cc:subject:in-reply-to:message-id:references:mime-version :content-type; s=sasl; bh=yWiqMaPyNt13hc+/wGXvoPJwErKQ8W16mnFVqW Xc0Kw=; b=Ob78ZtAxWUahiRyqYbuIMkLK5BD/zdhM70/5VDidBEZP5WV9xl6b33 fAb9wN6KPD+y5vI/7b9aZSOb+wN3WtYI+MonOT2w74Rv7UQSy3Sje0qxnQzetKUC H/CAYZRj3/a8Cn+N+Z1LfYki7ayRcrBTd9RITYMsxrLYUT/TXHXqg= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id CB21216F871; Mon, 28 Nov 2022 15:45:02 -0500 (EST) (envelope-from wtd@pobox.com) Received: from shell3.miskatonic.org (unknown [199.103.62.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id ABA1816F86F; Mon, 28 Nov 2022 15:45:01 -0500 (EST) (envelope-from wtd@pobox.com) Received: by shell3.miskatonic.org (Postfix, from userid 1000) id C907E120EF2; Mon, 28 Nov 2022 15:44:59 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by shell3.miskatonic.org (Postfix) with ESMTP id C0A06120C07; Mon, 28 Nov 2022 15:44:59 -0500 (EST) Date: Mon, 28 Nov 2022 15:44:59 -0500 (EST) From: William Denton X-X-Sender: wtd@shell3.miskatonic.org To: Ihor Radchenko cc: emacs-orgmode@gnu.org Subject: Re: Images generated by R code blocks do not display In-Reply-To: <87bkovbxj9.fsf@localhost> Message-ID: References: <87zgchaybb.fsf@localhost> <87sfi9awmy.fsf@localhost> <87pmddavb8.fsf@localhost> <87mt8haugm.fsf@localhost> <87bkovbxj9.fsf@localhost> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Pobox-Relay-ID: 87AF80DC-6F5D-11ED-9A45-307A8E0A682E-56320186!pb-smtp2.pobox.com Received-SPF: pass client-ip=64.147.108.71; envelope-from=wtd@pobox.com; helo=pb-smtp2.pobox.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669668373; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=nyqrCfj4I5Hkk8oPkznmCrZPx4a/f92uxQK1l4bmEQ4=; b=GRSve2CpwjH7pgGadS25iEi6dqvU8q8FenJrIR6Se9fmw4w0tDjzlvKHh9nlSZo7BB2p0Q AjdgbCYym7owf9gYz2IUJJrWozlsfVA0gFgVn3z314Fnr57rzXBBER0dSaZbImzupTISXA T99LyuiyI3RP4u4kGsCtWQm65dbFWBKsXzITLI7hwCDhKYKsehxLKEUT8JLh/uRijCy0Ph bgTF1rGQnL2nfkZioG94SjcelKu7xqf8btWUKUPbI+jb6RRY3fJLMmNdGN98xjz7hmHaCI uM3+VZO6wRn5gJER9P7gdFni9R6+HeYzhbhfH/156UopCkSiA5EHq0wsqegabQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669668373; a=rsa-sha256; cv=none; b=UISyE9iWYk0NiHFq2o6H6a22hUXWu9SyoRns/lyT64UG12WWxFOLHnm/qBA83U5cDJ9V0N RCrcrVzOK8/my6eZ3AAE4c9iiaquC5DZVjrqkLUjvl2fqEFUiW5N5rwjeM/560jG6l2Kb5 GKxZsleF9vI8bZwChKvzNeothGs/Y5tOHs05mCstmK1qmjjF9EoJRSDW4Gh+V+uG6EVbCh AlPGO8aUFie+7l2fgCEpBkk+n+RUG4hdVzx3krmvN7QvCiJ9ifFbzLsGamD6x62zmH44Vq mfSdI4OjwdzPDvPY2xr5O7NXePI13xS0Kxe4wBDLHASO2PbJDyQgqPcZvvMc+g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=Ob78ZtAx; dmarc=pass (policy=none) header.from=pobox.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=Ob78ZtAx; dmarc=pass (policy=none) header.from=pobox.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B8D55F7CB X-Spam-Score: -4.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: IbvihZxSj2Y+ On 25 November 2022, Ihor Radchenko wrote: > 1. cd /path/to/org/repo > 2. git checkout main > 3. make repro > 4. M-: (require 'ob-shell) > 5. Open the following org file > > #+begin_src sh :results graphics file :file /tmp/colour.png > convert -size 300x300 xc:#002b36 /tmp/colour.png > #+end_src > > 6. Move point to the source block and C-c C-c yes > 7. C-c C-x C-v > 8. Observe the 300x300 image appearing > 9. Edit the source code to 500x300 > 10. C-c C-c yes > 11. Image disappears > 12. C-c C-x C-v > 13. Observe what appears to be the old 300x300 image > 14. Move the cursor to the image > 15. Observe the correct 500x300 appearing while the cursor is on it!! > > Could you please confirm? Confirmed! Just as Jeremie did also. I'd seen this image-switching behaviour before and hadn't been able to recreate it with a simple example, but there it is. "This is very strange," indeed. I don't know if this is useful, but: 16. Edit source code back to 300x300 17. C-c C-c yes 18. Image disappears 19. C-c C-x C-v 20. 300x300 image appears (a new one? or the first one?) 21. Move the cursor to the image 22. The now incorrect 500x300 appears while the cursor is on it, same as 15 Bill -- William Denton https://www.miskatonic.org/ Librarian, artist and licensed private investigator. Toronto, Canada