Bruno Barbier <brubar...@gmail.com> writes: >>> #+begin_src scheme :scheme chez >>> (+ 3 4) >>> #+end_src >>> >>> and also with ':scheme racket'. >>> >>> Unfortunately, it does not seem to work when exporting the document.
:scheme header argument does not affect export by default. It only affects code evaluation and may only affect export when you also have :eval yes and :exports both/results. > @@ -184,7 +184,9 @@ (defun org-babel-scheme-execute-with-geiser (code output > impl repl &optional hos > (newline) > (let ((beg (point))) > (insert code) > - (geiser-mode) > + ;; Hack to pass our 'impl' to 'geiser-mode'. > + (let ((geiser-impl--implementation impl)) > + (geiser-mode)) Just a line before Org tells geiser to use IMPL value via (insert (format ";; -*- geiser-scheme-implementation: %s -*-" impl)) I am not sure what you are trying to fix here. -- 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>