From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 6KTIMdu2E2ci6gAAe85BDQ:P1 (envelope-from ) for ; Sat, 19 Oct 2024 13:40:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 6KTIMdu2E2ci6gAAe85BDQ (envelope-from ) for ; Sat, 19 Oct 2024 15:40:43 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=pWnwJbEv; 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=1729345243; 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=p/A8vw6hB5/B/l0/gEhJOcN/G0PRNfIF4TaGM8UybkQ=; b=Qne0CYLPAoBka6Xz33uJg8+Z6DVRD3b/ZnLAKqU/HEEL3V1QSyUZsTYpE8LBkZ+xXkfQs/ F9p1kNpsxOzm24lxkSq+PIIW7P+VnynVjFD+OYpQpJy3uVxPbwe66QOV3jW6luuNaRzZ0n pWgojsxopFv91UrOGNndG2yIHy6wLM1zNXdF07IV0u5BjcGZpvZAUND5YNN/2czFHFtULg Jtq/hLJHHLE7EwS70TjVoWfCHDTk75qB6C6Em7LTnVeqvc/nXOKN0P5w/Q3WJ0I5wocr49 joLTK0ORTbyBdpLKnVNHR1Smnb2CeHLQtqA4jYgUjspx1pSn5G4BLwlJw1XzVA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729345243; a=rsa-sha256; cv=none; b=YAzLqkEvx1Eby67n72VyziWsWPeh0KNe9TbX2UmEfR8MEXfJ4dFwxh9UEd9BB+xXdnzCSO CnoQ53ziBR8v788nez/X5jx8gaewZKklFIHbji1FaR2MaNR+6rhURkg9t6TEVjlyE+m2BJ 0hEY7lXr8MT7o1xs0ObrEHnuMLW4RFoUTxET5KCmQtCK7BBxtPQDzpWhF0qa1GC0+AdMjp a644bBUlnc7uGMAOePGL5FmPkfaSTVZK+CyU9vwB9iHftuHG4iwwYnnBGOkhVWFqvItVlz wrvw16jI7FvLXCC8oJ0NRYTOwZjKSHD8hG4Yz4IKDktGW9fTNDAZFnrAO8yxOQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=pWnwJbEv; 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 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 1BC53376E for ; Sat, 19 Oct 2024 15:40:42 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t29gv-0007D1-E9; Sat, 19 Oct 2024 09:40: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 1t29gu-0007Ct-Dn for emacs-orgmode@gnu.org; Sat, 19 Oct 2024 09:40:24 -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 1t29gs-00009t-EC for emacs-orgmode@gnu.org; Sat, 19 Oct 2024 09:40:24 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id F3F9B240101 for ; Sat, 19 Oct 2024 15:40:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1729345218; bh=lwiVZqK9/Pnul9uw5J/oecG+RCtgthG9YKY7rHao86A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=pWnwJbEv+f34XHq34YuDdv40YSH5H+sFJr+YbJE9hjqnt5dRNTAuhzc/8NLAabu1J oJE0cTAftcL8iN5dUSLlB1riXLcoMAD70zNxVAsaruoXhTkFs0m0ojQH/nisjBEv8o o9tZfaFDHHXnVRve13eonGtSLsXn+M4BVORto0sXfKeIanE+MpCvS+NGTNrEweVsKB 0Axd/occbSMmlT3xBQQvPVhVIJy8r2XKcBxT9IL9S3BEYhEiwio1ZOeePZjcZcmulB dPScJQkDDhw+fD6eB9q4FEgFMsllRLt61v+hC+FCo5JOl64lVL7L9GzodrzZE7EfcE 9kAUGeR0SR6Rg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XW2kp2CMrz9rxF; Sat, 19 Oct 2024 15:40:18 +0200 (CEST) From: Ihor Radchenko To: Roi Martin Cc: Bruno Barbier , emacs-orgmode@gnu.org Subject: Re: Avoid "Scheme implementation" prompt on export In-Reply-To: <87v7xsrylt.fsf@gmail.com> References: <87r08htp59.fsf@gmail.com> <670ea190.5d0a0220.1c348e.8c71@mx.google.com> <87sesxccg9.fsf@gmail.com> <670f8a53.050a0220.3062a1.f9d2@mx.google.com> <87v7xsrylt.fsf@gmail.com> Date: Sat, 19 Oct 2024 13:42:06 +0000 Message-ID: <87msj0us41.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.45 X-Spam-Score: -4.45 X-Migadu-Queue-Id: 1BC53376E X-Migadu-Scanner: mx13.migadu.com X-TUID: xGMPUxi8PRSN Roi Martin writes: > 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? The problem is deeper. Org mode does not even always call a given major mode for each src block. For the purposes of fontification, a single major mode buffer may be created and then reused to fontify src blocks with the same language. If you want some kind of "setup" function, it is what scheme-mode-hook (or -hook) is for. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at