From: Ihor Radchenko <yantar92@posteo.net>
To: Roi Martin <jroi.martin@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Avoid "Scheme implementation" prompt on export
Date: Sat, 19 Oct 2024 13:32:47 +0000 [thread overview]
Message-ID: <87sessusjk.fsf@localhost> (raw)
In-Reply-To: <87y12rng3q.fsf@gmail.com>
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>
next prev parent reply other threads:[~2024-10-19 13:32 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-14 10:17 Avoid "Scheme implementation" prompt on export Roi Martin
2024-10-14 17:45 ` Bruno Barbier
[not found] ` <87bjzma6ml.fsf@gmail.com>
2024-10-14 19:52 ` Roi Martin
2024-10-15 10:50 ` Bruno Barbier
2024-10-19 13:36 ` Ihor Radchenko
2024-10-20 11:22 ` Bruno Barbier
2024-10-19 13:32 ` Ihor Radchenko [this message]
2024-10-20 11:36 ` Bruno Barbier
2024-10-20 11:40 ` Ihor Radchenko
-- strict thread matches above, loose matches on Subject: below --
2024-10-15 14:30 Roi Martin
2024-10-15 17:08 ` Bruno Barbier
2024-10-15 20:56 ` Roi Martin
2024-10-16 9:41 ` Bruno Barbier
2024-10-16 13:01 ` Roi Martin
2024-10-19 13:42 ` Ihor Radchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sessusjk.fsf@localhost \
--to=yantar92@posteo.net \
--cc=emacs-orgmode@gnu.org \
--cc=jroi.martin@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).