From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0G0jIWZssmGckAAAgWs5BA (envelope-from ) for ; Thu, 09 Dec 2021 21:51:50 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id cyHJHGZssmFIegAAB5/wlQ (envelope-from ) for ; Thu, 09 Dec 2021 20:51:50 +0000 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 E9D23133E2 for ; Thu, 9 Dec 2021 21:51:49 +0100 (CET) Received: from localhost ([::1]:47416 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvQOL-0000T1-5M for larch@yhetil.org; Thu, 09 Dec 2021 15:51:49 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvMlD-0008KK-3Q for emacs-orgmode@gnu.org; Thu, 09 Dec 2021 11:59:12 -0500 Received: from [2607:f8b0:4864:20::f35] (port=44974 helo=mail-qv1-xf35.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvMlA-0007pN-Qh for emacs-orgmode@gnu.org; Thu, 09 Dec 2021 11:59:10 -0500 Received: by mail-qv1-xf35.google.com with SMTP id i12so5618174qvh.11 for ; Thu, 09 Dec 2021 08:59:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iseecars.com; s=google; h=from:mime-version:subject:message-id:date:to; bh=TJxsQ8KTiCEeRR2e1Bb4kvG1dTICVKdbRZKzbbAgMbQ=; b=kh0j+F4B/c2q3DaMk4eiwSMYDQ/HIr0umAgtAsic70UgGwOXwXqRavdRB4vKhPz7ld qrg0ZEHec0uwFeypxRNpUA+fqNFuXyvHS1Wyj/vhTj1kSCoQhHfjmUmlWVouSYoeWqaC mSf0xRIlIxnbb3SQRUTiqWjsQg3QdBxaymajw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=TJxsQ8KTiCEeRR2e1Bb4kvG1dTICVKdbRZKzbbAgMbQ=; b=ux7gDiUUZWustno5tQCMhK6GagqWd6+Go9HFeSqunm0pr2M/uXugapV8q6slAmxx56 24qQPIkijs5DAdXP0hgqS7X8qOwUgZ1OPHnjH9bkzjtynmBHW22p5Wn3ZArZ0BXu0opl YsxCq6yPaiNiaG1DJJK+Hl0zaNsIpQi+pCAyU2XGP1KSMsz/FI3wiVGeFpAxjpPNZbJk JFGh7q3qzWld++u7A99tAlpmkOasbS0HlDjmbZAXFPjaTDtiq6rT+RJHviHHdLYLwsXe hO9CYXHzxH064C43eAIV9oilRTntOBfyEONzIv1HC6ydW2DxYmSErCbQ0Ol38h5vgY4k +/0w== X-Gm-Message-State: AOAM533zvBf/esEpG1GT/WYJsvtxYiTm4G2S4sX2fdQfgW5nt7wTGQOi vxRKrIjhmOP21RAtumOzIV5Kjev+Yx+vbw== X-Google-Smtp-Source: ABdhPJxEraSD0s8vLuQVVC4aK7hgBzJal8g/w9et1iN70ncb+com5bPdvxwOyS00kVEmlXHMhADYYw== X-Received: by 2002:a1f:fe0b:: with SMTP id l11mr9102939vki.34.1639068732148; Thu, 09 Dec 2021 08:52:12 -0800 (PST) Received: from smtpclient.apple (dynamic-186-29-200-124.dynamic.etb.net.co. [186.29.200.124]) by smtp.gmail.com with ESMTPSA id g21sm262911vkd.26.2021.12.09.08.52.11 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Dec 2021 08:52:11 -0800 (PST) From: Robert Nikander Content-Type: multipart/alternative; boundary="Apple-Mail=_CA139433-2A56-4A79-9E52-FA737268501B" Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.20.0.1.32\)) Subject: [BUG] Eval src block does not redisplay inline image [9.5.1 (9.5.1-g36086a @ /Users/rob/.emacs.d/elpa/org-9.5.1/)] Message-Id: <86F9647B-48A6-411D-B0A5-F56AD46C6D39@iseecars.com> Date: Thu, 9 Dec 2021 11:52:10 -0500 To: emacs-orgmode@gnu.org X-Mailer: Apple Mail (2.3693.20.0.1.32) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::f35 (failed) Received-SPF: none client-ip=2607:f8b0:4864:20::f35; envelope-from=rob@iseecars.com; helo=mail-qv1-xf35.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 09 Dec 2021 15:49:44 -0500 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639083110; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=TJxsQ8KTiCEeRR2e1Bb4kvG1dTICVKdbRZKzbbAgMbQ=; b=nzmH4X+nZrh10B3GzFlI6ZeAhFqP3oarONbMy9Rq7S6958q+gtDHNLbXbTM9ihUi+P9qJ/ +gysTYkolHpJG9XWdD+dq99W/pukmuMojTRBZ12Oto+gBtzl6T2URFsM8+XMWVEkNGeVwY RP8PpJCbLpnizwC2YezYHJWtYyNRmymtE8sIBHawQDV5VNjQZzCxo4e+1jomWlfbcyrDL+ F+bHVaCImZB72ef/TfF00a+UUhqAxE1gYigUiRV6uDG5PjSQ45pcRs2TdYBeDGX6ybL2eQ NExU5A/ku2rlb0WuF4ugEUr1AuUI4YMW3LKJ0oo2V02uIbh0sHamX6DqRg3gRQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639083110; a=rsa-sha256; cv=none; b=JLr4IW30jOm4hhc6H/pFKxIaz0NlvzbruDpKtZ1MrnwI4cwekwLWQTEFIPZh83QxNKVM05 cUOXIgmLFoCLL6yEB6Kd+NC//2IY+oTUvPmPDcF65mlg3UevoQcOtEjy3/FLYYSMQDo2ze CmrUl1Wt9SmzuFN0QX7jrUXWrMFuTvi6173aP/X2dwHqxk9w2KtWqJ1Bi3UbL2xNpOqv4O 8creRlVgwZ/Bk9THG46D1GbE1RFLNXkg7/ut/+Yo5HFplb/GnrCGstrdcm7NKe4ZoOPEat XDMrCf2hlYmAXEIYOr9Cw1GMVYLUiGOGzz9qmXGxTJ77P5xfVQaD1Q0waroBtg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=iseecars.com header.s=google header.b=kh0j+F4B; dmarc=none; 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.16 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=iseecars.com header.s=google header.b=kh0j+F4B; dmarc=none; 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: E9D23133E2 X-Spam-Score: -3.16 X-Migadu-Scanner: scn1.migadu.com X-TUID: URTuhkgOTjcT --Apple-Mail=_CA139433-2A56-4A79-9E52-FA737268501B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I=E2=80=99m trying to use Org mode like a Jupyter notebook. I=E2=80=99ve = got something working, but for graphic plots, I have to call = `org-display-inline-images` after every call to = `org-babel-execute-src-block`. I guess there is a work-around, described = here: = https://stackoverflow.com/questions/54269390/how-to-always-show-inline-ima= ges = But it seems like a bug. ? My example block: #+begin_src ess-julia :results output graphics file :file FILENAME.png = :session *julia* :exports both using Plots x =3D 1:0.02:10; y =3D sin.(10x)=20 plot(x, y, label=3D"test") #+end_src After running it inserts this: #+RESULTS: [[file:FILENAME.png]] As described in the stackoverflow Q&A, I can then run = `org-redisplay-inline-images` or other commands to show the image. Rob Emacs : GNU Emacs 27.2 (build 1, x86_64-apple-darwin18.7.0, NS = appkit-1671.60 Version 10.14.6 (Build 18G95)) of 2021-11-18 Package: Org mode version 9.5.1 (9.5.1-g36086a @ = /Users/rob/.emacs.d/elpa/org-9.5.1/) --Apple-Mail=_CA139433-2A56-4A79-9E52-FA737268501B Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
I=E2=80=99m trying to use Org mode like a Jupyter notebook. = I=E2=80=99ve got something working, but for graphic plots, I have to = call `org-display-inline-images` after every call to = `org-babel-execute-src-block`. I guess there is a work-around, described = here:


But it seems like a bug. ?

My example block:

#+begin_src ess-julia :results output graphics file :file = FILENAME.png :session *julia* :exports both
  = using Plots
  x =3D 1:0.02:10; y =3D = sin.(10x) 
  plot(x, y, = label=3D"test")
#+end_src

After running it inserts = this:

#+RESULTS:
[[file:FILENAME.png]]

As described in the stackoverflow = Q&A, I can then run `org-redisplay-inline-images` or other commands = to show the image.

Rob



Emacs  : GNU Emacs 27.2 (build 1, = x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build = 18G95))
 of 2021-11-18
Package: Org mode version 9.5.1 (9.5.1-g36086a @ = /Users/rob/.emacs.d/elpa/org-9.5.1/)

= --Apple-Mail=_CA139433-2A56-4A79-9E52-FA737268501B--