Re: Subject: cannot export asynchronously because of org-fold-core--update-buffer-folds

2024-03-18 Thread Nasser Alkmim
Thanks Alan, I found a fix to my problem. -- Nasser Alkmim +43 677 6408 9171

Re: Subject: cannot export asynchronously because of org-fold-core--update-buffer-folds

2024-03-17 Thread Nasser Alkmim
t; Hi Alan, how did you effectively solve the problem? I'm experiencing the same. I tried to add the recent org folder that I use to the load-path after loading 'ox, but it does not work. -- Nasser Alkmim +43 677 6408 9171

Re: Subject: cannot export asynchronously because of org-fold-core--update-buffer-folds

2024-03-17 Thread Nasser Alkmim
t; Hi Alan, how did you effectively solve the problem? I'm experiencing the same. I tried to add the recent org folder that I use to the load-path after loading 'ox, but it does not work. -- Nasser Alkmim +43 677 6408 9171

Re: Async Python src block behavior with :dir header property

2024-02-13 Thread Nasser Alkmim
Excellent job Ihor and Jack. On the same note, it would be convenient to have a hook to run after the async execution returns the output. Similar to 'org-babel-after-execute-hook'. So I could, for instance, redisplay the inline image previews. Is there an easy way to do that? -- Nasser

Re: Async Python src block behavior with :dir header property

2024-02-01 Thread Nasser Alkmim
Jack Kamm writes: > > Does the attached patch fix the issue? > I briefly tested it here and it works. Thanks for taking a look into it. -- Nasser Alkmim +43 677 6408 9171

Re: Async Python src block behavior with :dir header property

2024-01-31 Thread Nasser Alkmim
lts in #+RESULTS: [[file:fig.svg]] However, the figure is in ~/Desktop/otherdir/fig.svg and the link is wrong. If I run the same block without the ':async' and ':session', I get the right relative path to the figure: #+RESULTS: [[file:otherdir/fig.svg]] Best regards, -- Nasser Alkmim +43

Re: Async Python src block behavior with :dir header property

2024-01-31 Thread Nasser Alkmim
Ihor Radchenko writes: > Nasser Alkmim writes: > >> This does not work. >> Even though the python execution is in the right directory and the file is >> saved >> correctly. >> The =return= does not produces the right file path considering the directory. &

Async Python src block behavior with :dir header property

2024-01-31 Thread Nasser Alkmim
' plt.savefig(figname, transparent=True, bbox_inches='tight') #+end_src Is this behavior as expected? Is there a better way to have the figures from the python block with async execution? -- Nasser Alkmim +43 677 6408 9171