From: William Denton <wtd@pobox.com>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Images generated by R code blocks do not display
Date: Mon, 28 Nov 2022 15:44:59 -0500 (EST) [thread overview]
Message-ID: <alpine.DEB.2.22.394.2211281532130.115715@shell3.miskatonic.org> (raw)
In-Reply-To: <87bkovbxj9.fsf@localhost>
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
next prev parent reply other threads:[~2022-11-28 20:46 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-22 21:18 Images generated by R code blocks do not display William Denton
2022-11-24 2:19 ` Ihor Radchenko
2022-11-24 2:46 ` William Denton
2022-11-24 2:56 ` Ihor Radchenko
2022-11-24 3:19 ` William Denton
2022-11-24 3:24 ` Ihor Radchenko
2022-11-24 3:29 ` William Denton
2022-11-24 3:43 ` Ihor Radchenko
2022-11-24 4:11 ` William Denton
2022-11-25 2:03 ` Ihor Radchenko
2022-11-27 13:18 ` Jeremie Juste
2022-11-27 13:21 ` Ihor Radchenko
2022-11-27 14:16 ` Jeremie Juste
2022-11-28 20:44 ` William Denton [this message]
2022-11-29 4:16 ` William Denton
2022-12-08 11:19 ` Ihor Radchenko
2022-12-08 15:37 ` William Denton
2022-12-10 10:04 ` Ihor Radchenko
2022-12-12 3:10 ` William Denton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.22.394.2211281532130.115715@shell3.miskatonic.org \
--to=wtd@pobox.com \
--cc=emacs-orgmode@gnu.org \
--cc=yantar92@posteo.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).