From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kLbbN4nGsmSbpAAASxT56A (envelope-from ) for ; Sat, 15 Jul 2023 18:17:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CHakN4nGsmTJeQEA9RJhRA (envelope-from ) for ; Sat, 15 Jul 2023 18:17:13 +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 A6C6D661B5 for ; Sat, 15 Jul 2023 18:17:12 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tecosaur.net header.s=fm2 header.b="s9Qq/Pej"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b="zxZ9g/vd"; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689437833; a=rsa-sha256; cv=none; b=SnDbMtS2r8DBn4jibv3+6htkkVHHATYm6Fkhq3xWFV5oiCa+CvAXrAqrjPwS3qwceVQGgV vz8w6hc9qf5xp1kigIbiDhu702+/HporT8s+DLfBJ4m6m2Z9zWd06XsYCiOszpYA4xlEwu IfKLAHvXxgJP0wrD9p2rWQep3bXrQOlTwz553+WnYfYWjRp5GjhCUu/85R5gSIzjY76Slv Zz5OqwpdSggiwoB64Q0AExbws2+nrr3Vuy7Ynt3cuwtQYgWed0OeOZs23DA6EBkzodi64C LfhD/4Y46N+/lE+BP+cKEMuOWaXgunJwgivQqP2YUJAhmpSZkFNgJpUtRifzXA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tecosaur.net header.s=fm2 header.b="s9Qq/Pej"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b="zxZ9g/vd"; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689437833; 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=wHZfDVmqbcqel5Rc0TwKPdkgIYLPxtxE2t59rj5NoHU=; b=PIa9V1BwQ7ak+NQGyxiFqUb46SYJ0JEb8XSXDi0tzdPl71ToickFF92G65xy6p9iaT1eTy EnNv2FbtPRLslsPqxF/Z0dzjJ06oivdgigUWa7nSEPyKoMF4DYGaI4Dhfps0ZOgsIuP506 Ly9BGoznkoAxTD32ubI2DF82U0c4Myn5+RgfSjRKHbplhF28NtFCdtcrViUgDXYLfiol0D dh8YzlitZxDYg3mNNRlvE8b/gvsDdH05T3czkU0WVsbkSBYBuMmZgMakx0rQ6ICXxqbGVZ ms7sDGhR78L7W9sN/EjsLkQzOhcKfdFTx5Fjgxc1wengGj7OtMSQfK8HXjKh7Q== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qKhwY-0006fL-OH; Sat, 15 Jul 2023 12:16:27 -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 1qKhwU-0006dX-IK for emacs-orgmode@gnu.org; Sat, 15 Jul 2023 12:16:22 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qKhwP-0003OF-PV for emacs-orgmode@gnu.org; Sat, 15 Jul 2023 12:16:22 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 3F3E932001FF; Sat, 15 Jul 2023 12:16:12 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 15 Jul 2023 12:16:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tecosaur.net; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1689437771; x=1689524171; bh=wH ZfDVmqbcqel5Rc0TwKPdkgIYLPxtxE2t59rj5NoHU=; b=s9Qq/PejxIbR0nfY1r Qm4AYC6J7pmAs8CT8gFGi1dxueIovZAD6X4gBqNRn5CcOAqZQ43GgGKh9rFE8olw za0TmmvIdYBCD/vkvL1aF6mDCUgN18KxBObilQA94J8uHl0yc4Zj4NLfLtvhksvb GHRyOloOPFrmPl7wLvEfhGA1Gk5pb7KO0L9qw7aXC3kSoav9CCwvMZdQPNkCyz2d mnAPWOe23xc48TfBaUjSosMqnKQ5NExVEGywXQYjwCUqF5p8ILVP+r+XrC20jybK O8wxXFMQz87asjAcmbCL+NghlGEt3AziJ80+JdjKBB50JnYFil2NQVXx6dFSkWM+ 9MAA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1689437771; x=1689524171; bh=wHZfDVmqbcqel 5Rc0TwKPdkgIYLPxtxE2t59rj5NoHU=; b=zxZ9g/vd2hBW/O1I9gw3/E/O0FMsU S1mMIh/xYhshvNqR1N3E4iOwJTSDfa/wnofVGeOf42YE/6RnJo/8dmvuaGngBDWr n8QhsmtslivfCZWM2LSUDsLSsGWEFVeIJE2QK3KvHieotswD6oPMkiNaeJU0czeN YkE26leCMQlxBs4u/58yoXQhnXKjLHSfMO6a0t47upCbG6iY65ySHlKkCGUT5AQo wuJQv+nP4YP/VEx58Z1mD06WZ03DTwsxrPqpcPcAnVPFkGDb18X/+vwXSPCcOQID Jt0m4jfKk/i24g8l0gZElzw34vkysqyZfIQ+rzmfdyWeqDbnlPBaA9iIA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrfeekgddutddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevuffffhgfjgfkgggtsehmtd erredtreejnecuhfhrohhmpefvihhmohhthhihuceoohhrghhmohguvgesthgvtgdrthgv tghoshgruhhrrdhnvghtqeenucggtffrrghtthgvrhhnpeeiuddvfeekfeeffeegieeuhf ekvdekffejjedtffeftdegleevteffvddtudehffenucffohhmrghinhepohhrghhmohgu vgdrohhrghdplhhisggvrhgrphgrhidrtghomhenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehorhhgmhhouggvsehtvggtrdhtvggtohhsrghu rhdrnhgvth X-ME-Proxy: Feedback-ID: iecf94634:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 15 Jul 2023 12:16:10 -0400 (EDT) From: Timothy To: Ihor Radchenko 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) Date: Sun, 16 Jul 2023 00:10:53 +0800 References: <874jm7d5ou.fsf@lipklim.org> <87351rd58c.fsf@localhost> <87zg3zbegv.fsf@lipklim.org> <87jzv2j1m3.fsf@localhost> <87y1jic05b.fsf@tec.tecosaur.net> <87ilalhb2h.fsf@localhost> User-agent: mu4e 1.10.5; emacs 28.3 In-reply-to: <87ilalhb2h.fsf@localhost> Message-ID: <87wmz1b16i.fsf@tec.tecosaur.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: none client-ip=64.147.123.21; envelope-from=orgmode@tec.tecosaur.net; helo=wout5-smtp.messagingengine.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_NONE=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-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -3.32 X-Spam-Score: -3.32 X-Migadu-Queue-Id: A6C6D661B5 X-TUID: niGGf7Mop7tL --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Ihor, > I do not think that setting `lexical-binding=E2=80=99 file-local variable= 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 mind, considering the current way lexical scope is seen in Emacs (used everywhere= 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 is = why I think a defcustom may be the best fit. > I can see that there are people in favour of :lexical feature. > So, we can probably add it, but it should not be in ob-core. > Instead, we should provide an infrastructure allowing ob-* backends to > modify tangling. Maybe some kind of special function that will override > default `org-babel-spec-to-string=E2=80=99 per backend? Mmm, something generic for backend-specific modification sounds like a good= idea to me. All the best, Timothy --=20 Timothy (=E2=80=98tecosaur=E2=80=99/=E2=80=98TEC=E2=80=99), Org mode contri= butor. Learn more about Org mode at . Support Org development at , or support my work at . --=-=-=--