From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 yGiQJTLXDmeaTwEAqHPOHw:P1 (envelope-from ) for ; Tue, 15 Oct 2024 20:57:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id yGiQJTLXDmeaTwEAqHPOHw (envelope-from ) for ; Tue, 15 Oct 2024 22:57:22 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=jDFv+op4; 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=1729025842; a=rsa-sha256; cv=none; b=nmmQi9MDBtTQpWGR9lbP2jNMkU8GfO6FX2m947DleJgL0rPTeCJq9P7UEz9UbJK1y9UY7V TRU3PwmgRF5gh4//NBQIn5DMJNBPnAJUi+6VzuaK4jQAzayooO77DCVrQdjHkZTQtGOyub oPpTwp/DjJjgEADgqw8o8gS/c2X6lHgBM/x66hNISYIKXmrtbgtm0uwuJ4CQf8ilaPsYED r/du5uEFsQunpgS3Jcr+5dHN+pJFSY5WkK2vFxukSuNO7RqXrt3Tuq6B1QzYMYMqYVHdcj QzlJ13L1r756Ue1Sq7wFoOoHXZdUMjytiy9pxF3bAaF+dwusPhVouXtVxyp34A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=jDFv+op4; 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=1729025842; 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=F6ArsGEK/4dztUDHc2X23O1iKJX1QLjetke0wThXdxY=; b=VH79zlCktzbYSnP0jD8Q076TH+KjKYMnYL8UdUo9jCclGNL+xQQi+CePtdvOFLNJSWREoT h3JWc+CLp10XF8HwfhBhgq73Ee131v2sHFML195TM/J/zRFmIbSY90jt+4qRbwoZ/mi+EU l+a0GMhGi7kw5ny6zY70MwFuhxXqcvSGOkYQwy2LlaKEHeMfugivd4v84QToixsDMCJ845 9ULCog5hr0FEIackBjrKKc8Y+nBOriuxrQex7/k/rqfkLhyd9vMo2osB7CPuhLB6Xo7tbg ZIS7AHVj59Ek3fPgShToZLzoE4+3JY05Ac89pgKfdaUgXABZX9RxyP2MKV/60w== 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 2D930873A2 for ; Tue, 15 Oct 2024 22:57:22 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t0oaw-0003VF-PN; Tue, 15 Oct 2024 16:56:42 -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 1t0oav-0003Up-2j for emacs-orgmode@gnu.org; Tue, 15 Oct 2024 16:56:41 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t0oat-0005RE-CG for emacs-orgmode@gnu.org; Tue, 15 Oct 2024 16:56:40 -0400 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-4311420b63fso44330145e9.2 for ; Tue, 15 Oct 2024 13:56:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729025797; x=1729630597; darn=gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :from:to:cc:subject:date:message-id:reply-to; bh=F6ArsGEK/4dztUDHc2X23O1iKJX1QLjetke0wThXdxY=; b=jDFv+op47WMjQVR0PnCR4wddY1bj+sFj7JVss4XPIwsM4NRBR+iF1sfTPWcADL9qqQ qY1IiWm8bSuG9gNWUrOhlWWAqnuLEEFHegOPla5Nxxz0aJ4R4oaeTAw4Cwi6rO9GczEC /Dq9QFDglkvVmgf5H94e1BAPg1LTFT8yKeE7O3uopUSxjzgfhfbHjIu5aRdtb0vlQA8I /dlOM8MNvomNimLAAwoTDZLZ4tFvqzO0tzeQvQE2Z26jui3Lk40ukuCmQNH6BaUh7PGl dD8yj0byEtuUy2KdRbVhT1ru/5H6rLXSEdmXUX+Q+Si7gXvuloluohcll8iHuQsAsh7C WzDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729025797; x=1729630597; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=F6ArsGEK/4dztUDHc2X23O1iKJX1QLjetke0wThXdxY=; b=i8ou0edTAo6Vx6ViMMgzOdnGtfnnHErujq9LNueaxgd4DqdpimKDPifceNqKlEOo5/ /oROgAIhFqHwnntSG4hfoOGb0TGkFel6OOGoHiCkR7iKH4fw4OhlrVrB0GOIvLOvxRKW GuxtUxBaLqoy8aDPjb3QLTphTn9/KJuGsdDo7nq0CTaL7ef9ECKgMebH7KDtzAK2km28 /N9ub3abhcxkaKa5xhYb0f9hnuUtxD1ToYl09x9Qdf4f2GLxwmAdf7d+CAMBpsWFqC3D lA28p0xFETWxKX/XMN6gBVkf/WE84EONK6BQuZHUAFZ+lq2r7YjxF+pl+8btplekKHEv +UvQ== X-Forwarded-Encrypted: i=1; AJvYcCVEINpfkGhn3LZjO29XoiIoLuVJJFR2vI2UqaKAVq9nSmi25Jv4tgMqvG2aEy7tq61yQPvrQhd4jWej3HRn@gnu.org X-Gm-Message-State: AOJu0YzIYCx/QLdUVI7gSSij27zvNhiMhZytCSFaaO53ssY0VUz+eAar n9Xf6x5Hqw+u+fnntrNvL804HegEJZr2CYGaJXyv4YL7flZVXWVe X-Google-Smtp-Source: AGHT+IEdQ4WlXVZeKoRK8e7GyIMpcpdwn4rH0Bo6aKsoXvTfwAzNNaVy18r1Jwo0ZKomyA/Xtz8LDA== X-Received: by 2002:a05:6000:1d1:b0:37d:377f:da4f with SMTP id ffacd0b85a97d-37d5ff476e1mr9716897f8f.27.1729025797020; Tue, 15 Oct 2024 13:56:37 -0700 (PDT) Received: from localhost ([84.79.205.225]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37d7fbf814esm2472592f8f.68.2024.10.15.13.56.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Oct 2024 13:56:36 -0700 (PDT) From: Roi Martin To: Bruno Barbier , emacs-orgmode@gnu.org Subject: Re: Avoid "Scheme implementation" prompt on export In-Reply-To: <670ea190.5d0a0220.1c348e.8c71@mx.google.com> References: <87r08htp59.fsf@gmail.com> <670ea190.5d0a0220.1c348e.8c71@mx.google.com> Date: Tue, 15 Oct 2024 22:56:22 +0200 Message-ID: <87sesxccg9.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=jroi.martin@gmail.com; helo=mail-wm1-x32a.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, 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: 2D930873A2 X-Migadu-Scanner: mx10.migadu.com X-TUID: ZPHTmVaQyAW4 --=-=-= Content-Type: text/plain Bruno Barbier writes: > My patch fixes a real bug though. Are you sure org is using the correct > scheme implementation when doing "C-c C-c" ? I think it works fine if you set the `org-babel-load-languages' variable in the elisp code block: (org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t) (scheme . t))) > I just checked exporting my example to html: it works for me. Have you tried with the htmlize package installed? (package-install 'htmlize) > I'm launching emacs like this: > > emacs -q test_ob-scheme-bug.org > > Maybe something is wrong in your configuration ? I did my last tests launching emacs like this: emacs -Q --init-directory=initdir -L ~/src/org-mode/lisp test_ob-scheme-bug.org I also simplified the elisp code block a bit: #+begin_src elisp (setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/") ("nongnu" . "https://elpa.nongnu.org/nongnu/"))) (setq package-check-signature t) (package-initialize) (package-install 'geiser) (package-install 'geiser-chez) (package-install 'geiser-racket) (package-install 'htmlize) (setq-local org-confirm-babel-evaluate nil) (org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t) (scheme . t))) (org-export-to-file 'html "test.html") #+end_src I attached my test file. I hope it helps. Best, Roi --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=test_ob-scheme-bug.org * Mandatory first heading :PROPERTIES: :header-args:scheme: :exports both :results value :END: #+begin_src elisp (setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/") ("nongnu" . "https://elpa.nongnu.org/nongnu/"))) (setq package-check-signature t) (package-initialize) (package-install 'geiser) (package-install 'geiser-chez) (package-install 'geiser-racket) (package-install 'htmlize) (setq-local org-confirm-babel-evaluate nil) (org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t) (scheme . t))) (org-export-to-file 'html "test.html") #+end_src #+begin_src scheme :scheme racket (banner) #+end_src #+begin_src scheme :scheme chez (scheme-version) #+end_src --=-=-=--