From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 SK40B6IigGOrdgAAbAwnHQ (envelope-from ) for ; Fri, 25 Nov 2022 03:04:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id +DE9B6IigGNdfAEAauVa8A (envelope-from ) for ; Fri, 25 Nov 2022 03:04:18 +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 BDB2013D4C for ; Fri, 25 Nov 2022 03:04:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyO3f-0000kd-Ng; Thu, 24 Nov 2022 21:03:15 -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 1oyO3d-0000js-Go for emacs-orgmode@gnu.org; Thu, 24 Nov 2022 21:03:13 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oyO3T-0007vB-6O for emacs-orgmode@gnu.org; Thu, 24 Nov 2022 21:03:13 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A5DAA240101 for ; Fri, 25 Nov 2022 03:03:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1669341780; bh=qM298iPC+i6kVdKNBj4guh4j4/RUIRPlWC1XRYq76cY=; h=From:To:Cc:Subject:Date:From; b=l16360yIvw6Y+igZTFPm63UxzCUjqAUIb6N+yat/cbqPmAA43tBi3NfSINBs8EEFE 6fh3QsStAqF9nnnT3XjMTJGgtPXty2UMb7JbDkaxKCfLlxcVPue4K235J0Xp0bgeet fzIPxWcCM3k8TKQNpErW/dSCDcWavga5fEy3KxkGtt+Afb/W32NmS6eqSupYUmhK5A xEAfcMbqNERKM7GMFXCXwBdDtiEQwgqmGke3qBXQ27z4PaD8uXHu4UmRcckjKcqbb+ gwg/hW7T5cZ+LQogwqTKRgiYoZFMFTC78BZEsuYTspO3NH256+u7JE6ZDNuAqZzZjH p/LKfqblfaENw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NJJ6W2n1jz6tqt; Fri, 25 Nov 2022 03:02:59 +0100 (CET) From: Ihor Radchenko To: William Denton Cc: emacs-orgmode@gnu.org Subject: Re: Images generated by R code blocks do not display In-Reply-To: References: <87zgchaybb.fsf@localhost> <87sfi9awmy.fsf@localhost> <87pmddavb8.fsf@localhost> <87mt8haugm.fsf@localhost> Date: Fri, 25 Nov 2022 02:03:38 +0000 Message-ID: <87bkovbxj9.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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=1669341857; 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=qbLnIkDwfMAgeaXvMD30ncEBbKGL4oSEri258ikTH9o=; b=c5zIN4ur5yO/iORC8LtH4Jc5IY0Th8giraa5hp7ytrDoS8DWRZABTjFKjkhIFJ36/Gq3Rt /wVkfvLeeKcS3BXHRGR6GfGUt9rQH48Rmlnr7bOCxU5AkEucOxe840BwqHQXyRrufSUF+h gYv6w4UYpTJ8i+tA14CAm2FKt1AeDEEdHUoyTzkoFqveTffQaTauU+wdiDx4VBCD/egE5K s54PghlLxP9sDs5QghoRvfEK1sVCRM8yjY/F1ysnYz9Yc7LvvgCSSEAqwZILbUVclNOyJT vvve0QTkvuFtIL50oHrU3xhZWceKwypeWcnmacnpkmN0gTzkCkowTwx7UX9+3w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669341857; a=rsa-sha256; cv=none; b=GFnLafW4EeZTyNlPw8wBHl4hfL6G6mdLHp6nrBvrCRcGrQ9LHHUABW0sZWMaCAnbY5mgoj bHzD3NlKgxBXjqp+b7iPWsIU1rwcmBT2ngthaDPOQQxc0YhdxBmUBsFqzZQGM51qf4d2Rp LD2ZqRrA54uzJTAKJI5lj10zbs5Itc5NyTdWt63vPJ+1qMtgLCH/7sE04c6brrloZYFhCy BypL/DCrTYaXjSmCmEOexe09/5+aohETc+OlcJdPhsT8ExRGDYCbSK30jMXTfiiYvWILaV MnR/saPIT49mIqlnh9ueO/7ts4CmTxpRYXlUU0lIpYTZwavaDPNUxp28Fv//Fg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=l16360yI; dmarc=pass (policy=none) header.from=posteo.net; 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: -3.58 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=l16360yI; dmarc=pass (policy=none) header.from=posteo.net; 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: BDB2013D4C X-Spam-Score: -3.58 X-Migadu-Scanner: scn1.migadu.com X-TUID: 6+LFIcTVQ2OM William Denton writes: > I refreshed the source just now, and it's at commit 183c66be97c: > > GNU Emacs 29.0.50 (build 7, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2022-11-23 > > I reran the convert image command, and the (clear-image-cache) problem is still > there. If you generate an image that's 300x300, then change the command so it > makes a 500x500 image, and rerun the command, a 500x500 image appears right > away? Or does after you C-c C-x C-v? I have to run M-: (clear-image-cache) and > then the image in the buffer updates to the larger one. I tried again now, and I am able to reproduce. This is very strange. What I did is 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? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at