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: Ihor Radchenko
Subject: Re: Avoid "Scheme implementation" prompt on export
Date: Sat, 19 Oct 2024 13:32:47 +0000

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

> I have an org document with the following structure:
>
> ---
> Racket code block:
>
> #+begin_src scheme
>   #lang racket
>   (+ 1 2)
> #+end_src
> ...
> It includes several code blocks with different scheme implementations
> (e.g. Racket and Chez).
>
> When I export the document to HTML, both from the Org Export Dispatcher
> (C-c C-e) or calling (org-publish-all), I'm asked to choose a "Scheme
> implementation" for every code block.
>
> If I understand correctly, I can set a default Scheme implementation
> with the `geiser-scheme-implementation' variable.  However, I would like
> to specify an implementation per block without having to answer the
> prompt every time.
>
> Is it possible?

Org mode fontification routines do not support multiple different
variants of major mode in src blocks.
We also cannot handle major modes prompting user when they are
activated.

Actually, I have no idea how to handle such scenarios.

-- 
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>



reply via email to

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