Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export results "Executing..." placeholder #20

Open
jdm204 opened this issue Feb 25, 2023 · 5 comments
Open

Export results "Executing..." placeholder #20

jdm204 opened this issue Feb 25, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@jdm204
Copy link

jdm204 commented Feb 25, 2023

Thanks for this package, the best ob-julia experience I've had for editing and running blocks!

The issue is on export; the results (:exports both) don't get updated when the block is finished executing, and so each results block (in the PDF/Word/HTML) looks like "Executing... 9ae38f91".

This is on emacs 29.0.60 and the current MELPA ob-julia-vterm.

@shg
Copy link
Owner

shg commented Feb 27, 2023

Hello thank you for using this package, and your kind word!

I confirmed the issue. I usually disable code block evaluation on export with :eval never-export so I didn't notice it. It also seems interaction with REPL breaks after the issue occurs.

I will check how it can be fixed. As a workaround for the time being, you might want to disable evaluation on export with the above option, if it is ok for your workflow.

@shg shg added the bug Something isn't working label Jun 12, 2023
@shg
Copy link
Owner

shg commented May 4, 2024

A feasible approach for this is to ensure that blocks whose results are to be exported are re-evaluated synchronously when exporting.

@hatchjaw
Copy link

Hi, I'm experiencing the same issue.

:eval never-export is a decent workaround, but...

...ensure that blocks whose results are to be exported are re-evaluated synchronously when exporting.

how would one do that?

Thank you for the work you've put into this great package!

@shg
Copy link
Owner

shg commented Aug 22, 2024

@hatchjaw

...ensure that blocks whose results are to be exported are re-evaluated synchronously when exporting.

how would one do that?

Ah, that is about how I should modify the code to address this issue. I posted that as a note to myself. I do intend to implement it but it's not done yet... Sorry for the confusion.

Anyway, thank you for using this package and for your kind words!

@hatchjaw
Copy link

Ah! I got my hopes up that there was an arcane Org Babel option to force synchronous evaluation on export. Thanks for clarifying the situation!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants