emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Avoid "Scheme implementation" prompt on export


From: Bruno Barbier
Subject: Re: Avoid "Scheme implementation" prompt on export
Date: Tue, 15 Oct 2024 12:50:38 +0200

Roi Martin <jroi.martin@gmail.com> writes:

>> I tried with:
>>
>> #+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.
>>
>> Thanks for your help!
>>
>>         Roi

I've installed chez and racket.  Indeed, the argument :session
if half-ignored.

I've attached a quick ugly hack; with that change, it is now working
for me.

    #+begin_src scheme :scheme racket
      (banner)
    #+end_src

    #+RESULTS:
    : Welcome to Racket v8.14 [cs].\n

    (setq-default geiser-chez-binary "chezscheme")
    #+begin_src scheme :scheme chez 
      (scheme-version)
    #+end_src

    #+RESULTS:
    : Chez Scheme Version 10.0.0

Could you try it?

Bruno

Attachment: 0001-ob-scheme-Hack-to-pass-the-implementation-to-geiser-.patch
Description: ob-scheme: Hack to pass the implementation to 'geiser-mode'


reply via email to

[Prev in Thread] Current Thread [Next in Thread]