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 MKlbIFa5D2d5VQAAqHPOHw:P1 (envelope-from ) for ; Wed, 16 Oct 2024 13:02:14 +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 MKlbIFa5D2d5VQAAqHPOHw (envelope-from ) for ; Wed, 16 Oct 2024 15:02:14 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=T8qHaABN; 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=1729083734; a=rsa-sha256; cv=none; b=b/Z7DbVQP5Scc7LWWdtXJkFIr2jX8HQt+tw7BNTukwiPbU2CYyhj8wx6Tm5u22WGxt6oSn 0z4PbYBzsIlwuBwkfPEbApmQlzeGnaKKbjDLAFjL5aKo3Mu26AcnQZHUPSwzbk3jw/3XHE 0MPSZqemsVYo04i65pHW+A3RxllnBIu//FsU4aOYWu26byXmnikGiEW2aiBpY24azimdIo UwqBAAcIZvHhxmg5eLy6rxcUi8MZYE/BNmjVti6ohvpykkbk615awtcVWlMuWn6JdUmACS DBZD6Q62AUrOigLbuO+29pUvbgnetzbEMjHQ72qJTuwugJHaASjJ9pjcEq+eUA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=T8qHaABN; 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=1729083734; 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=LVXJa24Yyw71rG3AXlfxZ6FQGBZEO1/cGh012QBPNeg=; b=g8/869Bpu6XYJGg7nfEPGdUW0qHH1lB2trnNMDlxMh+uljM8IfaxRZq5EJHnkQy7B45dBF Ieib7k91QwdKJxw0J/AMRHPd7bVFEwWmht2CsJRbrawEA2L1cTqNpZAzF6pk2/aVJo/Lti nqqjTEPrzHcKNdIYhWRWsDQ3IYIbrUmAVRzTFrMyeQx+84nhKSTnIePDhiExG9TiowjaKJ jXTdRIOjwGw9JaLT7NXwSp6dTTgWxIHMWVOPhIZaHVGclwIKj55ZxQuVKd2/6lxotV6q+l MxxUKtDWn03SEvXl5KasBmw+iOkntfHUN9l+XdlSjMYmd03QF0KGgTPcp+lgIg== 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 2747F767AD for ; Wed, 16 Oct 2024 15:02:14 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t13eV-00034f-Hb; Wed, 16 Oct 2024 09:01:25 -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 1t13eK-000343-BZ for emacs-orgmode@gnu.org; Wed, 16 Oct 2024 09:01:12 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t13eI-0007vo-HP for emacs-orgmode@gnu.org; Wed, 16 Oct 2024 09:01:12 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-431286f50e1so50225735e9.0 for ; Wed, 16 Oct 2024 06:01:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729083668; x=1729688468; 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=LVXJa24Yyw71rG3AXlfxZ6FQGBZEO1/cGh012QBPNeg=; b=T8qHaABN0DJiX/03ktKZ16lVaIEULLcWjFs19tM+YhXIp3cZhEr20Zibcru6GqMCVi +2l6uaozmPSjXwZf1GDANtjUJttmRvRaGCLzgGtiLH6E9NjbQayj4bVi/4sLe+kdvMVj iTWoXy0LkFdw/j+HMhsFSY3k/6iw9py9Z8rWaoQhoM0wisG/JnMOQy67XePTjZyvSfTs OQs0lI4/468vJYmhxZQ4ZYcZ0GGlIZxGcXl770fbul+ujHKKv2T7mrbjAZR3u2XkFeTT AQ+rU94WgqC5Q9JHTvG6bf4mdEiWQih1NUhAPSUcXwxX3t/wIgYpkgGrVMKFsKDZw1q9 Ac7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729083668; x=1729688468; 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=LVXJa24Yyw71rG3AXlfxZ6FQGBZEO1/cGh012QBPNeg=; b=Z2aomORyJrnDaVkTNDYk9JM2HFR82NSw3KkEPcDN19F/hZBuY8ZWbyCscs7dfx9aU/ gzdv3mWYlPW8/FXdng4IIdlS14kqxwZLKMqQF+SknUpAgkYCKfWdDwGioe2foCx9WtEr vEPGNQxJbZK0pe6iF4RInuSoHVFwS4b0nwwwTxxrPjZCuAgUbY68j5h/21Rac9QopepD P0tyRcvS6qmglSO29y9u5XbFEOcE+zGlaD6T7CilX3/u0L8DkjcHIRBHpQrl186w7JqL JNCQuoVjfDIiAa/xLEA0RQ5W+cHMWUaaikJ6QawDZg1UjAWOVdg9CrQRKpacpK1kTzvB 2vxQ== X-Forwarded-Encrypted: i=1; AJvYcCXb5P8H1dJgLNHAvpuyYEaYUuME4v6ytzDX1BT2nH5QHZxkF7u84B0C4MBYqK3rrbPpvi6CMD91vNhlzZ8c@gnu.org X-Gm-Message-State: AOJu0YzNLhJn9vwnqrEdEbQF8Q+a4ECMcEdIjp8d52O52M71xDnoete2 UZom8XJA91H7PNjooL21gE2hdT1bpByxEYljECszUx+1YRpJNUKo X-Google-Smtp-Source: AGHT+IFRXHMfptrLK16gs/xZZC00MNpByDeVNgBxxuXq46Ei0jG2eZsmMNQsAJwi2im2TigH/Z1ikg== X-Received: by 2002:a05:600c:444f:b0:42c:b62c:9f0d with SMTP id 5b1f17b1804b1-431255e03d0mr190799935e9.17.1729083668209; Wed, 16 Oct 2024 06:01:08 -0700 (PDT) Received: from localhost ([84.79.205.225]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4313f56eabdsm49157715e9.27.2024.10.16.06.01.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2024 06:01:07 -0700 (PDT) From: Roi Martin To: Bruno Barbier , emacs-orgmode@gnu.org Subject: Re: Avoid "Scheme implementation" prompt on export In-Reply-To: <670f8a53.050a0220.3062a1.f9d2@mx.google.com> References: <87r08htp59.fsf@gmail.com> <670ea190.5d0a0220.1c348e.8c71@mx.google.com> <87sesxccg9.fsf@gmail.com> <670f8a53.050a0220.3062a1.f9d2@mx.google.com> Date: Wed, 16 Oct 2024 15:01:02 +0200 Message-ID: <87v7xsrylt.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=jroi.martin@gmail.com; helo=mail-wm1-x333.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.67 X-Spam-Score: -5.67 X-Migadu-Queue-Id: 2747F767AD X-Migadu-Scanner: mx10.migadu.com X-TUID: RhRd5qVmeut9 Bruno Barbier writes: > The HTML fontification is launching REPLs, and *may* prompts > for the implementation to use. I'm able to work around this with this > setting: > > (setq geiser-mode-auto-p nil) > > I'm not sure what the real solution should be though. Thanks a lot for the workaround! It works like a charm. After pinpointing the issue to having htmlize installed, I've been digging a bit and it seems that the `org-html-fontify-code' function in `ox-html` triggers the prompt. It creates a temporary buffer with the code and enables the corresponding language mode: ... (with-temp-buffer ;; Switch to language-specific mode. (funcall lang-mode) (insert code) ... So, it makes sense to set `geiser-mode-auto-p' to nil in order to avoid being prompted for the specific Scheme implementation. Maybe, we could have an alist that associates a language to some kind of "setup" function. For instance, in the case of Scheme, it would read the `:scheme' argument and set the geiser implementation. However, I'm not sure if it is worth it. Also, I'm not familiar with the code base of org-mode, so bear with me. Probably, what I'm proposing does not make sense or is not the optimal solution. What do you think? In any case, thanks a lot for your help! Best, Roi