From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 2BtiIpK1E2f+8wAAqHPOHw:P1 (envelope-from ) for ; Sat, 19 Oct 2024 13:35:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 2BtiIpK1E2f+8wAAqHPOHw (envelope-from ) for ; Sat, 19 Oct 2024 15:35:14 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=esCsYGdG; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729344914; 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=9Rwkelu/W2+IUmPUX4tvt+Uc0WlnidZTMAuyb6+JpHM=; b=CjQF8QjKFh9okBbWaWdRKLATPoh1a529xhRGyC5T/nPZNzCwFowVyqDSd2CSz1G2gmz6V2 HAcOJ5vQXF1V9UeKdr+POM8rO8aus41avKtkbVXoI9uj78gQhdwNx145pi3+0hussBZr26 kxEDTbcR6yO16ATNUxJac4pvG9XCsplOUU/OQxNIdMQBT57sumruiEqZr9tnK1E/BBCq9Z cW0VP2GYrbQ5BsnUnjSctPErVXhegIyIgGBaqrokVZYSMIXm/HYLLHh7ivruEiiRV3ZMqV LWpYsMcp04fLAHHvtojCnBGRyvxizKZeLZKS6tAacs5rBXM6JyE8+xmYwyIbyg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=esCsYGdG; 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=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729344914; a=rsa-sha256; cv=none; b=jRLD09KA3dqERV/CqB0AGzNdUd3Y+w6l1SzjXR+1NbLNYmcMm24EkpSSJub4hPBhFC+Deh rG/fAaR//Reca4r88EwhU9RV1S1ovS/dgWy1Lm49+4BPJoDXKHHBnPyqflydRPENzb3NZi maXVAN/TB17X0JsgVe6JrZGighJLEZbbwy0mKgspq2bhneacmYPHmoNcUlWAeksTt8UokL qwuc40b6sY5Fx7GTE+lw3NP54uPpdOF5cRdA2Nq1oeoXFiP4PoqhmdN5XEQgM/IEscrFb2 9pjH2GJfnULrUq/fnn4cXauovANCKdYaw83UjI4GGZidlWU1yNQ75Zz03y50pw== 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 D3D7047072 for ; Sat, 19 Oct 2024 15:35:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t29bM-00069y-Be; Sat, 19 Oct 2024 09:34:40 -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 1t29bK-00069l-C7 for emacs-orgmode@gnu.org; Sat, 19 Oct 2024 09:34:38 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t29bI-0007q1-MU for emacs-orgmode@gnu.org; Sat, 19 Oct 2024 09:34:38 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A87B7240101 for ; Sat, 19 Oct 2024 15:34:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1729344874; bh=6bbwMv9vzxsCn9BW7W46Q0Iq1F/OHHv7Jlz2uepfrTo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=esCsYGdGOrk1KrsWlb87wwc3RNpFlSCk1TpBg20DyNOP1bx6upm7Nlfj55r04Pp1S GOwtd398cg6W33splLVsdHDMrrIm0XR9E51sc0z7vm4yGCCpna0uCXmNPG8T5B9Gx4 EFip6mRX2ko/8fprw2kqTtyxiiXRRiEnS4TGt9h/bk8jdmVUaU5BoC+3HpkgVuBKWJ zHeAUcV1q+4q06VxttRRKnmj6dEUx4s/4+e1pK8+75kY8W5t7Hle4ggSUh7wewTbcN qEMwsrI2nK228Rn1ZHbHwzljCoVIUS6Wa3T7OA4zxoBwscztGPsfWY/+12e0IGU+Vq asHNkfwKnJA5A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XW2c969mGz6tw6; Sat, 19 Oct 2024 15:34:33 +0200 (CEST) From: Ihor Radchenko To: Bruno Barbier Cc: Roi Martin , emacs-orgmode@gnu.org Subject: Re: Avoid "Scheme implementation" prompt on export In-Reply-To: <670e4900.050a0220.3c2a44.4152@mx.google.com> 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> Date: Sat, 19 Oct 2024 13:36:19 +0000 Message-ID: <87plnwusdo.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, 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.18 X-Spam-Score: -1.18 X-Migadu-Queue-Id: D3D7047072 X-TUID: ePOLbOroeO+g 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. > @@ -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. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at