all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: William Denton <wtd@pobox.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Images generated by R code blocks do not display
Date: Fri, 25 Nov 2022 02:03:38 +0000	[thread overview]
Message-ID: <87bkovbxj9.fsf@localhost> (raw)
In-Reply-To: <alpine.DEB.2.22.394.2211232306240.89677@shell3.miskatonic.org>

William Denton <wtd@pobox.com> 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 <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


  reply	other threads:[~2022-11-25  2:04 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 [this message]
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
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bkovbxj9.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=wtd@pobox.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.