From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wGtPKuahDmflcQAA62LTzQ:P1 (envelope-from ) for ; Tue, 15 Oct 2024 17:09:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id wGtPKuahDmflcQAA62LTzQ (envelope-from ) for ; Tue, 15 Oct 2024 19:09:58 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=l7bhHd3e; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729012198; a=rsa-sha256; cv=none; b=N+DTceoA8B5veawTz+18jFcPiI6D/5wTeKIJ5z/QMkYQ1NoIGDTbl1CwxmPmqT6tPukNJw t/Y7IQnEVE5mlnrzWcoxuRCiMhlSUBw1xYW/7T3s7mVcjVdshmUvQG4m7hTlGMMsDqmBsk clrimARKaRvxRjvNIlX68ix9CoDFFTAbDcvNbBq+RsHuhu/t2zEJGu6r7LhLz0OvXbxTON O2/iwXU22B+Gn1/8ihBr+aIjr+dRTGu+xrA/evCRVCm3B1R/3t75ELCip0TLPZX/zlyudS iWAOuTOrQF/Wjj8s+9vEfwqJa2DV3ZIvnN0p98LPfyfAbiST66Zp6skljsewrQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=l7bhHd3e; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729012198; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=RCUGHs16o4uQBVV1Mcw4WIk5evc0KeP7bYcMk7pDA88=; b=ZpK7KKREe76uelji4uMSgCqgJBzLOV2zzbXu0er5XKoGTVS07WZHhyMFKI/Mj6owMtYnJu vLT9q29jSiIx8OcEh9Y4imjFB8cikR4LZIDjt4estYHPDLno8K4qCL02RVqGhVEQk/b4Ai o5qDyqFHNjNbe6dxqfnpu2NELil0QfUlYkr2MqxNtRgL1CCKieUpp6pH9KZL6EjqsEohMY T2GwzxqsqKF525tJS21C7E74XvVlPYO4RlNscFh8Vy2kuv7fvQiLTzC3rg6ABHs40jVrQQ 32eV/sSRo+nshlSoip+qfIz2jLbc0P+mYUJcWPHNnTh9glP9GPua5qERNcBGhA== 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 29E981FB95 for ; Tue, 15 Oct 2024 19:09:58 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t0l2H-0000vC-DP; Tue, 15 Oct 2024 13:08:41 -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 1t0l2F-0000uk-LG for emacs-orgmode@gnu.org; Tue, 15 Oct 2024 13:08:39 -0400 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t0l2A-0002xK-G0 for emacs-orgmode@gnu.org; Tue, 15 Oct 2024 13:08:39 -0400 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-37d473c4bb6so4396333f8f.3 for ; Tue, 15 Oct 2024 10:08:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729012113; x=1729616913; darn=gnu.org; h=mime-version:date:references:in-reply-to:subject:to:from:message-id :from:to:cc:subject:date:message-id:reply-to; bh=RCUGHs16o4uQBVV1Mcw4WIk5evc0KeP7bYcMk7pDA88=; b=l7bhHd3epa6gYl9oAXLTcul2mIfZs/qEfyE2Qz3avqSVQZCqhioFteh6OQTIKiV2xo fpB6mhf4z0jpEBCLi/D58eOQpLxMpEJll4vPsmmhluy5KH1IxaKz4P+s8XCZVVpax/Vk ZroR+ryLH3ZG8pZ86AFbpa9MRp6FikiB4cKMGrR0xKZsUyCxbIswClnlGRBG34+bt7pH SonRUf0BcQPx6Rlt2oVlhHUhicBjepdpl9IWJUSgcAcJBWreJ76iCvN4eMbKSyCh9vfY O6ANEf9dLWlQ+O+Gfb8Ul5GC6/84MudBa6VQ1WhNnMnnlh7TB8vH/etOsCodXqdC84d5 nbEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729012113; x=1729616913; h=mime-version:date:references:in-reply-to:subject:to:from:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=RCUGHs16o4uQBVV1Mcw4WIk5evc0KeP7bYcMk7pDA88=; b=cAPHL+UDkDg2j5kV/4C2eA6fgDYThf3f4MYEIPzTn/ZhvDVOe0b8UwZ8NppGlvxrm/ d/u1oGjZdIj7jqWxrBMlgby+dQxnWIgmFPwRej6PGFAI0cNxEgx+Bsxi8aK5kSmkA4cR gV/qMGU3y9KEF4KvJ+RVoQPZ/bM6W7EBNB1NrLcVYGYt4cgIc46cJ1enHfeuLwsYFuJr 2GbdTWH2wUnHgBb4AXRE82wXoduavqLJP3dGCjKTlifaXkd5P0jUA55WmyFG1r14STdf yL+SA0Lbum6pDgjeUIi+WccbeBQpLgrAD23Wtl2UUB1zcL8+5b5ivQDjOsdhKqc1J1be Tnlg== X-Forwarded-Encrypted: i=1; AJvYcCXlxwj5ws5kgsDH4Oihj6OS3hqoLvicFJrU/miLupJcRhBIwbh8ZK/U1lSbw42oNu6XMhaX5Z3Sr+HutkC2@gnu.org X-Gm-Message-State: AOJu0YyKQ4i3nkQ1P+qHOHBOr+coLf7aJ4gsu6BWgHwkaJB71jE/Hdjk BHOFOVxC3rgc9NNpsT7vp5yptG8xUI4bkZBYRRRh2esbpAkB/ovN X-Google-Smtp-Source: AGHT+IGIlOafo90T68hyrn4tQB7lDy9NoVT1YWPccEfp+0rBZMiuXs1aB6TIpQS5plBdyt1sbmnLZA== X-Received: by 2002:a5d:688c:0:b0:37d:46fa:d1d7 with SMTP id ffacd0b85a97d-37d601fc3c2mr9665238f8f.57.1729012112728; Tue, 15 Oct 2024 10:08:32 -0700 (PDT) Received: from localhost ([2a01:e0a:505:3460:1c18:688d:ece4:372e]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37d7fa95dfesm2045657f8f.63.2024.10.15.10.08.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Oct 2024 10:08:32 -0700 (PDT) Message-ID: <670ea190.5d0a0220.1c348e.8c71@mx.google.com> Received: by localhost (sSMTP sendmail emulation); Tue, 15 Oct 2024 19:08:30 +0200 From: Bruno Barbier To: Roi Martin , emacs-orgmode@gnu.org Subject: Re: Avoid "Scheme implementation" prompt on export In-Reply-To: <87r08htp59.fsf@gmail.com> References: <87r08htp59.fsf@gmail.com> Date: Tue, 15 Oct 2024 19:08:30 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=brubar.cs@gmail.com; helo=mail-wr1-x432.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-Spam-Score: -5.68 X-Spam-Score: -5.68 X-Migadu-Queue-Id: 29E981FB95 X-Migadu-Scanner: mx10.migadu.com X-TUID: pzF/IeCydNHq --=-=-= Content-Type: text/plain Roi Martin writes: > I tried the current main branch (commit da0f6eff75cd ("ox-texinfo: Fix > edge case with - Variable: nil:: definition") with and without the > patch. Unless I'm doing something wrong, exporting the document to HTML > with "C-c C-e h H" asks for the Scheme implementation for every code > block. Please, note that the htmlize package must be installed. > > Also, note that executing the code block with "C-c C-c" never asked for > the Scheme implementation when the ":scheme" argument is specified. My patch fixes a real bug though. Are you sure org is using the correct scheme implementation when doing "C-c C-c" ? I just checked exporting my example to html: it works for me. I've tested using the same version as you: Org mode commit: da0f6eff75cd with my patch applied on top, and using a clean bare bone emacs, without any config. I'm launching emacs like this: emacs -q test_ob-scheme-bug.org Running the elisp code block, I'm getting the expected result in HTML. In the HTML file, I see: #+begin_example
     Welcome to Racket v8.14 [cs].\n
     
#+end_example and: #+begin_example
     Chez Scheme Version 10.0.0
     
#+end_example I've attached the org file that I've used to test this. The first elisp block allows to configure Emacs from scratch (downloading and installing the required packages), export the org file to HTML and open the HTML result. Maybe something is wrong in your configuration ? Bruno --=-=-= Content-Type: text/org Content-Disposition: attachment; filename=test_ob-scheme-bug.org Content-Description: test_ob-scheme-bug.org * Mandatory first heading :PROPERTIES: :header-args:scheme: :exports both :results value :END: #+begin_src elisp (setq-local org-confirm-babel-evaluate nil) (setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/") ("melpa-stable" . "http://stable.melpa.org/packages/"))) (setq package-check-signature t) ; 'allow-unsigned) (setq package-unsigned-archives (list "melpa-stable")) (package-initialize) (load-library "ob-scheme") (package-install 'geiser) (package-install 'geiser-chez) (package-install 'geiser-racket) (setq-default geiser-chez-binary "chezscheme") (org-export-to-file 'html "test.html") (find-file "test.html") #+end_src #+begin_src scheme :scheme racket (banner) #+end_src #+begin_src scheme :scheme chez (scheme-version) #+end_src --=-=-=--