From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id mNGhHFVVG2T2jQAASxT56A (envelope-from ) for ; Wed, 22 Mar 2023 20:21:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qL2WHFVVG2QqyAAAauVa8A (envelope-from ) for ; Wed, 22 Mar 2023 20:21:57 +0100 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 000123E52A for ; Wed, 22 Mar 2023 20:21:56 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=aw5h5vIO; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679512917; 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=tWgGKYmt7RwJlZWBZ9pOG/MVAz+kTX9jXRZaH407r3s=; b=FTB/t2x5TK1chC5qsxLtc2arRB6aW4PBwPkjbf92J0LvbgATGNB5A3r63iwZMIhoiw+mRV x4ovSIj1jXv5kRjV5GkqoZE+Nvb9fa/TdVEm07L/QEJo9iGwDxypt2NQfiWUtNZCM0MC4Q qoY+z2SW+2tuGhLtLxPPlBeWmbOfKRaEsC0YcJa/70oY9JSRJnXU9JrlnAndFb/pRaAWJr 6HN7vZW4rg0O1zlvchcpkOaSzGV4eSjJY4PnANMkfS1pPbRTD+SwdL2sYl9Z/WVA8CSL9d jXZndMDZmAo6lFHx1haowAo7XReFZXLm3impPGGLB3Gt74H0B9xliNvEbYEurg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679512917; a=rsa-sha256; cv=none; b=kbiX5lk+kmzIrn+wSkKZpew9Rn7yBXcmvHMvBOFiGFsm05Vot3jf7hpzTAGIAQuLTtvQsv eUYkBLBmYGdztSzV/kGVUp7TIU90AolCGmF4MK4iollGfn4r7wSwE9msAw4JUUKChZcQ9W F48FMA9D10W1DqWuJWncgn301iK1dszUx/LXwatRSXfa+T93t9l2VvgBOQOegIwny2ttrL CdUQczvere9SWdVm2VkWV/jWBS/hfXh2e0ntsKvxVg+LjFxKvYLhStRzAdTEfX8NNLTRJN h2VdTuISxGj3Kf41EnR2WxZ0Emv90cu/Sk0dfq6+bkweZj7Vbl3u1g08ZTTAOA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=aw5h5vIO; 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=gmail.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pf40y-0005sj-L4; Wed, 22 Mar 2023 15:20:52 -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 1pf40w-0005sY-IX for emacs-orgmode@gnu.org; Wed, 22 Mar 2023 15:20:51 -0400 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pf40t-0006Yk-PW for emacs-orgmode@gnu.org; Wed, 22 Mar 2023 15:20:50 -0400 Received: by mail-pf1-x431.google.com with SMTP id i15so7751610pfo.8 for ; Wed, 22 Mar 2023 12:20:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679512846; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=tWgGKYmt7RwJlZWBZ9pOG/MVAz+kTX9jXRZaH407r3s=; b=aw5h5vIOE19CbYfOqYnzBcWYe2Ghzad/+PZM2cv54hmHfeMgp5HFXgSHSlHcHXwCdG 9D9Do9x5/QS4K0k1oOt1D7w5bLwgq6QSSTA5k4aYsZVffbg396TsSmQXeokiovmV7C+Q YK6vU9l6pE1//yhnZ1+OvVpEbrwCG8WpZnqFqgAA6qsz2XnR+Se+rk896pw/KoaECfon mB180Wi1jQ6i0WcbrTn/QwRoSttUD2V/SNMfLiLjq+XvhD/X11lf7vogG1MBQ9Q2U/hz rOLjlIQcNz4lNh4KHI4Vhw8Re401g2//pp++DTvcEcNYPXK+RfBEblpgBDasJaCJqhG3 udJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679512846; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=tWgGKYmt7RwJlZWBZ9pOG/MVAz+kTX9jXRZaH407r3s=; b=CsPtA/psz31AhWoFs3LTiGRxrzcFgP4NQndAQtd69feXLwmuToc88CO/HK4KqoOXZW wmWv8ESrQLt5tRXrXqBUTpatzAJbm0Tc0cKEjZvSf5Caof9N1o6IhTSxOjtuSMUPJMbS Ku9getyQE5KWg59Qf9WncaVlyXN71frvbOl9YZNFgsxXkTen3B4AGFvYRT2JMS8jGGMl dtGqTOYOWcntwg6jdBqTL3YxdGPn1XaXuRh160QseUMIKJwv2fZiHg0mHvVNycicD9QG 0XXC1zAhPUFpmXOLVaBwTAOtwkIoAV+Jjrj0eb9Ke6P+nXQdyJjdj29w1oOrFrWHwLEk hRMA== X-Gm-Message-State: AO0yUKVL58cU9oHEwSx+ae57JBZnUSofkv+fM8U66+zv71F8c8esEv62 LweonWzRNktzzCvn/R3uHtA= X-Google-Smtp-Source: AK7set/4wPWo2LafVeoe/8s1qjfwocbUiB6bER8ndrUYyqL4wj0Vw2FgervGD5QEpLkHW4NexPLDpg== X-Received: by 2002:aa7:9603:0:b0:622:3621:b2a8 with SMTP id q3-20020aa79603000000b006223621b2a8mr4050683pfg.17.1679512845771; Wed, 22 Mar 2023 12:20:45 -0700 (PDT) Received: from localhost ([202.142.103.108]) by smtp.gmail.com with ESMTPSA id i21-20020aa787d5000000b00625f5aaa1d9sm10353499pfo.83.2023.03.22.12.20.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Mar 2023 12:20:45 -0700 (PDT) Date: Thu, 23 Mar 2023 00:51:49 +0530 From: Mandar Mitra To: Ihor Radchenko Cc: emacs orgmode-mailinglist Subject: Re: Two low-priority questions re: design of org-babel-do-load-languages Message-ID: <20230322192149.5sl55mqeuaylljdk@gmail.com> References: <20230321192515.uvhj4vdpwrztfdkp@gmail.com> <878rfpndx8.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <878rfpndx8.fsf@localhost> Received-SPF: pass client-ip=2607:f8b0:4864:20::431; envelope-from=mandar.mitra@gmail.com; helo=mail-pf1-x431.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: X-Migadu-Queue-Id: 000123E52A X-Spam-Score: -9.98 X-Migadu-Spam-Score: -9.98 X-Migadu-Scanner: scn0.migadu.com 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-TUID: vU8GrTXy6EqD Ihor Radchenko wrote (Wed, Mar 22, 2023 at 12:55:31PM +0000): > The function `org-babel-do-load-languages' is originally not a generic > function. It is specifically designed to be used as a :set function for > `org-babel-load-languages' variable: > > (defcustom org-babel-load-languages '((emacs-lisp . t)) > ... > :set 'org-babel-do-load-languages > ...) > > If you alter `org-babel-load-languages' via customize interface or via > `setopt', the :set function is automatically called. > > Later, AFAIK, it was also used in the manual as Elisp function. > Against its original design. Ok, I understand now. I had missed the :set 'org-babel-do-load-languages That itself answered almost all my questions. Thank you very much for the detailed explanation! Warm regards, Mandar.