Open spacebat opened 3 years ago
Thanks for this pr which help me finding out the problem , "'error in process sentinel: async-handle-result: Invalid read syntax: "#"' . But I don't think hiding org-babel-hide-result-overlays is enough, because other variable may cause same phenomenon. Maybe we could wrap async-inject-variables
to prevent passing buffer syntax i.e #<buffer scratch>, to closure ? Besides i wonder if it's valid to inject buffer object.
Turns out setting ,(async-inject-variables "\\borg-babel.+" nil "^org-babel-jupyter")
also fixes nnicandro/emacs-jupyter/issues/294
Great catch, I was also struggling with this and failed to find a solution until I noticed this PR.
Prevent org-babel-hide-result-overlays from being inherited by the async process, because overlays are not readable and lead to the following error:
if: Invalid read syntax: "#"
See commit message.