From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id iBiKFua7s2RDawEASxT56A (envelope-from ) for ; Sun, 16 Jul 2023 11:44:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wBOyFea7s2TGLgAAG6o9tA (envelope-from ) for ; Sun, 16 Jul 2023 11:44:06 +0200 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 D8EE839623 for ; Sun, 16 Jul 2023 11:44:05 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Ysuyeizm; dmarc=pass (policy=none) header.from=posteo.net; 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=1689500646; a=rsa-sha256; cv=none; b=kK1FNmglxjPAdSLRp6n2Fyh5BksoccT7RU5F2s4uug6vZGwITpiFqKRFEys9XKyjjSf4Q4 zmdYCt/rLeCeGnrPBpeb5ZSVcIDWXNTK0nNP5d/gU+HAyMPVrF9jJr6TCUARTgShtn+uEP z7uIVl/CUnPDRDIUJ6Hy1kPWW/VhWfQkQTkVTuxNWPfBey0h+2LAWbG2a6JBnQTWfNMrQg F7bm6TWfTJLNcGZcGnrRoAsrgbbacMMrzcb7Pxy7BRU6/oePG8MHLyizxubEUXLqt0XrrZ BZG0GG99/Bg9WWxxgQM9+sYPWGFAja/NIsDlSLJFCHohvRzH9FbKSHJMSGJg+g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Ysuyeizm; dmarc=pass (policy=none) header.from=posteo.net; 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=1689500646; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=O4IKLPciGPLys7HA0FL6pWfCvVuPvgrwVSuGVyaFjvY=; b=LdJw6F7MAXYAEjEEY8fTZMKjjPsB1Ff80k3hm31GDDtah9DPDKRWel3fO2YJoqVKy2EMd0 bAYB4JhSbbuDld/ZBPmw8CS2Q64qLlbS2eT7TkEjQy3C41HvXoAO4Mn72QfDGbOZ6Byk0Y 0huBDx/zuOu7dLYLy9TAeTGeUZsVzqwXatSHWARogLhcrcUYG9nrI9X2kc5xeZX6kloliR va7t7gS8yhbDbUFaFUYXX5cn49ZwPycduo1InT3jsYmNxp6W+bL9EezlD+amGkMLs40hTg 7bTuOhd/RxF9IDkMWQ/BZ5m55nESODD0pa4fqftwhjxWiMALXsWnJ9j63yp/KA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qKyHa-0000qv-Df; Sun, 16 Jul 2023 05:43:14 -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 1qKyHV-0000qf-SP for emacs-orgmode@gnu.org; Sun, 16 Jul 2023 05:43:10 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qKyHU-0002IN-6R for emacs-orgmode@gnu.org; Sun, 16 Jul 2023 05:43:09 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id DA7C8240028 for ; Sun, 16 Jul 2023 11:43:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1689500586; bh=O4IKLPciGPLys7HA0FL6pWfCvVuPvgrwVSuGVyaFjvY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=Ysuyeizmt468N14zcwt+KGV0Lx8TXTXn7rKkoqvmU3nX+ihRZeu4iXmD7YHWl8Ysn CnR8RBWsMr1jduJuwYeH3Sc+SBc7PgOuQEQaP+8eO2uDdygH3q47JuWiC4ZBaQp7ze UU+X7YXlpnBcxm9gTIou4zT9AMftQ9Rldg0/MNgPqrkEpjKucAqTSFScWqjg6YQ471 HHjBHRRJ1M0uF058D5J3KlCtKNt1OUNKn5EHI2UX0pFS5goyGDeKZ/WvKGg8fHmHiW rylXY93UwCoVCfGrtGarjmaVVUYj2w6QM235H7bR/2o6SivPU66B4mTA9GE5kq/rN1 1BmX1fijJcsLg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4R3gHt18CGz9rxG; Sun, 16 Jul 2023 11:43:05 +0200 (CEST) From: Ihor Radchenko To: Timothy Cc: Evgenii Klimov , emacs-orgmode@gnu.org Subject: Re: [Pre-PATCH v2] Add the capability to specify lexical scope in tangled files (was: Add new :lexical header argument) In-Reply-To: <87wmz1b16i.fsf@tec.tecosaur.net> References: <874jm7d5ou.fsf@lipklim.org> <87351rd58c.fsf@localhost> <87zg3zbegv.fsf@lipklim.org> <87jzv2j1m3.fsf@localhost> <87y1jic05b.fsf@tec.tecosaur.net> <87ilalhb2h.fsf@localhost> <87wmz1b16i.fsf@tec.tecosaur.net> Date: Sun, 16 Jul 2023 09:43:18 +0000 Message-ID: <877cr0i43t.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: -8.88 X-Migadu-Scanner: mx2.migadu.com X-Spam-Score: -8.88 X-Migadu-Queue-Id: D8EE839623 X-TUID: VVfoIwH/VLpr Timothy writes: >> I do not think that setting `lexical-binding=E2=80=99 file-local variabl= e in an >> Org file makes much sense. I am sure that we can do better. > > I suppose part of the question is what sort of way we treat it? In my min= d, > considering the current way lexical scope is seen in Emacs (used everywhe= re in > modern elisp, not on-by-default because that would break compat, is my > impression). I think it would make sense if this eventually ends up with a > =E2=80=9Cglobally enabled everywhere by default=E2=80=9D setting, which i= s why I think a > defcustom may be the best fit. Do you mean to enable :lexical t in all the elisp source blocks? It is already possible (and done) using `org-babel-default-header-args:emac= s-lisp'. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at