emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Roi Martin <jroi.martin@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Avoid "Scheme implementation" prompt on export
Date: Mon, 14 Oct 2024 12:17:29 +0200	[thread overview]
Message-ID: <87y12rng3q.fsf@gmail.com> (raw)

Hello,

I have an org document with the following structure:

---
Racket code block:

#+begin_src scheme
  #lang racket
  (+ 1 2)
#+end_src

Chez Scheme code block:

#+begin_src scheme
  (+ 3 4)
#+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?

Just in case, it is useful, I'm using the following package versions:

- GNU Emacs 29.4
- org 9.6.15
- geiser 20240907.2235
- geiser-chez 20230707.1334
- geiser-guile 20240920.35
- geiser-racket 20210421.125
- htmlize 20240915.1657

Thanks for your help!

Best,
        Roi


             reply	other threads:[~2024-10-14 15:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-14 10:17 Roi Martin [this message]
2024-10-14 17:45 ` Avoid "Scheme implementation" prompt on export Bruno Barbier
     [not found]   ` <87bjzma6ml.fsf@gmail.com>
2024-10-14 19:52     ` Roi Martin
2024-10-15 10:50       ` Bruno Barbier
  -- 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

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=87y12rng3q.fsf@gmail.com \
    --to=jroi.martin@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).