From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id uGxiKD7oFGdlfwEA62LTzQ:P1 (envelope-from ) for ; Sun, 20 Oct 2024 11:23:42 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id uGxiKD7oFGdlfwEA62LTzQ (envelope-from ) for ; Sun, 20 Oct 2024 13:23:42 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="lH/5A5Lh"; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729423422; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=RZzhjBXlw7fLtXI4T66P5DsGGSJotVSzcJ2kdetUYC4=; b=kfjhIYGfe3JGyIgzTuU5dKSNEqE3QnzOUV98P66HHwMkn0JoniKGGa/ZXhm2TLYv/9mfq8 aNEyaDfWp8oPvwe9I1VpuaWpDeO8VuB1ZqiXf+BUbA6SCiT7Gq4Bq1/GYUlMQfnzwmWMT7 3XYc4f+3CCZrrFZaqr4ztpKsBnITUbFKbMbVcBfs4w0VWf1TWI/YY5HWbEUXKB0QzTcLxw 4DuaJG0FrJ8lU0HwKe8qxzAnODO/Jbhr7bcPGLuhHGCqNy8LYZkVWdmj6N6YvN330FByJi sS8MF1joBVfZsHDbJqP+HCD9P6A5APAlMZJGmaeRxLcsUECtsD7WjDUuIQpGNQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="lH/5A5Lh"; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729423422; a=rsa-sha256; cv=none; b=M+21t56jIfVW3vnTRkK+l9QBmWwH/ItQBPFEvdaTorGvj8d4DuwVLdtrxi8NRDYahNl6Q2 3Uqat6F6dTUp2ZTODwIz+oyYDcA8G2I0uXi8W0YkzcWyHwxWAgy7oG8xo/w3Sr1MUkXdB7 Xhe8d0Bcn+lVCMCMhdAzwwLsD6OOcsMdhaCBXVEZx+KL/2HPHARLhfOwI1O8ioWSPa5BI/ T47I5y4hNRNOoQFfKmqf8yUURv8qref4+77YkEAsaZC5oTsMlxBRHb/Brmo9cPyLAdiV+O JKvdhU9cvuoE/sYico2uj7fWHa4Mlcybra67bG5qcJnvDR7J+Z4kJtsPpo4Qpw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 38E937912E for ; Sun, 20 Oct 2024 13:23:42 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t2U1H-0008N5-As; Sun, 20 Oct 2024 07:22:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t2U1C-0008Mb-4Y for emacs-orgmode@gnu.org; Sun, 20 Oct 2024 07:22:43 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t2U16-0001ad-V0 for emacs-orgmode@gnu.org; Sun, 20 Oct 2024 07:22:38 -0400 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-37ed3bd6114so1314849f8f.2 for ; Sun, 20 Oct 2024 04:22:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729423355; x=1730028155; darn=gnu.org; h=mime-version:date:references:in-reply-to:subject:cc:to:from :message-id:from:to:cc:subject:date:message-id:reply-to; bh=RZzhjBXlw7fLtXI4T66P5DsGGSJotVSzcJ2kdetUYC4=; b=lH/5A5LhkE7ny/KVRZ+ZAfm+yk0IDBlIt9FD19pIzYiELPTI/IcM8RpORUihjHKfZ6 He25hjrMHossrX3UMaD/fQpgZowHHXxz7o73X0mznCwabkxiMH3kBAo3Z9mGzwpdofZU H6pqhvAsH1t5Y5zHO0U8OYGcGNp/B6j0tCvddfQP14PnM5TI9QswLlykjhc/2BnrpOel yNXfyy0IKI4IFUfrHquxtSLLrCx3yk40LOh1LUpWHbK4IjwxhGBInXrBEluGqWVQRAXg 7azxUiEr3jbe/KffQKyKIA4yDNkBAMxhTkloajLY9EtSW+F4853WRzPRl6Gr/kUvUZdc AtBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729423355; x=1730028155; h=mime-version:date:references:in-reply-to:subject:cc:to:from :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RZzhjBXlw7fLtXI4T66P5DsGGSJotVSzcJ2kdetUYC4=; b=i3poXCqwPw3gTExDKVYVgUvkTuFtAf78GpVpAKgufHer8ah6o88zzj8lXyIojYfCDH llmMPY5YEgudmq7OnXzR1DEfVzCKKPSpGkbT8cBr25wHKLyjkBaxM3qDmBd/0CEq2iSY EvBGlhALJYV4hj3NOjNFUthkaCTh3GQcmAKg+Kcz9J4wQnm4jH1GfStuYYaZPymuzZnF R2QRc//vFK8OGLcSpBFX4VsKzT09G12HRJhtb8oKzElsYC/eqRawnZgQs9Lx1AeqpCM0 RpWtn6waUr6pSr3SMLpZ4/OfnVtrkGWwEp7CPckDJiJo789CmmVjiLij8rWwcxBjvfRT G4Sw== X-Forwarded-Encrypted: i=1; AJvYcCWUre+GhcckKapHT7ug1DhtVLAI2vI2Pf876wcDIlMUCXCHEHYjJ8Oqu7iIVjJXu63Ejn8I3Y6wDm8e4Wa9@gnu.org X-Gm-Message-State: AOJu0YyE1i1oXXR3ATDaKg63cPeEJSfEbHhDQEIXUZfpydrsp29aIFKn M/7ZjkRB5E3UzWAkYRHHfQ19URxsUsEiDzBhvVFSe5BsrkKoBVLg X-Google-Smtp-Source: AGHT+IGurT6SXHG9VlotxCbBu85ZZlS/ymrS1kcachLaabIEUhcu8oOPhP6XkktGLUqy2If0xzMU8w== X-Received: by 2002:a5d:40c3:0:b0:37d:5103:8894 with SMTP id ffacd0b85a97d-37eab4ed190mr4933372f8f.42.1729423354620; Sun, 20 Oct 2024 04:22:34 -0700 (PDT) Received: from localhost ([2a01:e0a:505:3460:1c18:688d:ece4:372e]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37ee0a49180sm1552919f8f.39.2024.10.20.04.22.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2024 04:22:34 -0700 (PDT) Message-ID: <6714e7fa.df0a0220.17078.39cc@mx.google.com> Received: by localhost (sSMTP sendmail emulation); Sun, 20 Oct 2024 13:22:32 +0200 From: Bruno Barbier To: Ihor Radchenko Cc: Roi Martin , emacs-orgmode@gnu.org Subject: Re: Avoid "Scheme implementation" prompt on export In-Reply-To: <87plnwusdo.fsf@localhost> References: <87y12rng3q.fsf@gmail.com> <670d58b6.050a0220.1613aa.745f@mx.google.com> <87bjzma6ml.fsf@gmail.com> <87bjzm4g3x.fsf@gmail.com> <670e4900.050a0220.3c2a44.4152@mx.google.com> <87plnwusdo.fsf@localhost> Date: Sun, 20 Oct 2024 13:22:31 +0200 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=brubar.cs@gmail.com; helo=mail-wr1-x42f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -1.56 X-Spam-Score: -1.56 X-Migadu-Queue-Id: 38E937912E X-TUID: ZVP8+nfeBi2s Ihor Radchenko writes: > Bruno Barbier 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. We all agree here I guess. >> @@ -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. I'm not sure either. Maybe, during my tests, the function 'geiser-impl--guess' somehow ignored the local variable 'geiser-scheme-implementation'. Anyway, with a fresh org, the nongnu geiser and an empty config, that hack seems useless indeed. Good catch! Thanks! > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at