From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 wGrVLJIVsWTDJAEASxT56A (envelope-from ) for ; Fri, 14 Jul 2023 11:29:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mNbYK5IVsWRN0gAAG6o9tA (envelope-from ) for ; Fri, 14 Jul 2023 11:29:54 +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 C8BE153347 for ; Fri, 14 Jul 2023 11:29:53 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tecosaur.net header.s=fm2 header.b="dGIGn/5z"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=UEvrlcku; 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=1689326994; a=rsa-sha256; cv=none; b=l0lc7w7TcriRmOmvqA+h9Pheq1oqnX5J7eMnVgMZhKOFzxJzqSvw5M0KrCIh3An/FQD6kr 6iuiF3vJPMt1tjBZsdGEstE0019zmghv3Ovwtt7vbogVQ8V+Ja+RyiYXiwR+VJHUE6xSXT HI//OMcK4JxjSH+sG0u9I/6ZdniV9s/2sm7oyZxCOWNcvRwwTam/e7P9B5cuTM+e+OpyBj 7mHXWtTiuTIRlGrGgPRb9jd55/aWh957BpNY/ZnPE7rbUKR8qHuIMknxa88WRZMrEuR8mN sYeb4cnWBXq9QM4ZuYcWIoHoTLbTDULwyynhtJ3Qq5wnhr4mQA/OJG7WXrzvaQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tecosaur.net header.s=fm2 header.b="dGIGn/5z"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=UEvrlcku; 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=1689326994; 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=7ZCxplkXuAyj9szUzj0n1vKmY+EcfT/I7hAGYv6eIFE=; b=eP8kRIG0zWcu9GK4UrpiLffP8cOOEI4L7/2yc16Yl6DE8oQVgtwZVUsKe3rI5cImqa9mh2 MYiPkMZjBtY6ZpcHwaOg7mbAT16BtvDwIShzhYqQ4tI8KzwTwzshMXN+WzrQSf9YwvtDIn Tw4XvFrAcvwjUSoz1EvR1SnwJz2oHUSE6DJDcUq6aSc3kvJik5BJUX6VzaBjBBNSwdS5/f deg7ONn1lyGHpWkVlXto4C857jX4YszGMxAMpzP710li0jFhp4SdHh3EGxaBIzfbjfsBkM OIX5swyeGPJzRDhOC/pFV2ps7qQJ28mrpEhzq4Zg/nBTAimF3xHFmLq125tsdA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qKF6X-0002f2-9V; Fri, 14 Jul 2023 05:28:50 -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 1qKF6U-0002ef-Co for emacs-orgmode@gnu.org; Fri, 14 Jul 2023 05:28:46 -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 1qKF6S-0004iQ-L8 for emacs-orgmode@gnu.org; Fri, 14 Jul 2023 05:28:46 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 503DB320046F; Fri, 14 Jul 2023 05:28:40 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 14 Jul 2023 05:28:40 -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=1689326919; x=1689413319; bh=7Z CxplkXuAyj9szUzj0n1vKmY+EcfT/I7hAGYv6eIFE=; b=dGIGn/5zqAYfRbqeLF 6xvICbLXCp2vVcpCKvLC7XwR/Z9GrzS8cvxrUzS623eVz+nslPcYgeuAQ6eAR/jw QWaZfRfqiKwF5mMXxdo2wFcvZjSlgQHR/gIQ8JUTL8uveawCmJq8ZqJjEhMbiaS3 hECNs1iL90fYPQCIvBD4yS5N2xRQL04LNOAbjM66kqbdU4NKtOiJNWfNyUJ3ndv+ SNtyoOb29D2q6z9ELH4MH45G2WnAwFtOfspFv2n9jhaTWXBfu+J0BQS05iHHE82D XLQ6W9kn3eKWA8sKQr1ll9i5MSDCptYPDnvwcdrcVg6NDGQFEtWDFGQanDdANHJQ OmsA== 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=1689326919; x=1689413319; bh=7ZCxplkXuAyj9 szUzj0n1vKmY+EcfT/I7hAGYv6eIFE=; b=UEvrlckujixw+UzNBcuaDs3U4R6PK rQXNl5K4ogl3MU6qQ0ww9BPaQ/8yiBdZmfLsUtSuN5BWmbhLWrAhP4JStHlR93yn WdFjW0oacnmFrN+bKHZ/5lW+MlDNHyiLd62T9tjnRQbmkkIuuR6FBuMcYpzOZf26 x5A8RsFzLiR4MzmASLIdOhpL21B/+FU/tPF4G/q3OsYslsOP5oBjQLsWs6RVyRDj 197UbD5ALBZvfnuFiVrt9NRtX357l1a894tFpCVIrAtwbroAgKoHxJPVAxxa/QAi D+Hw/shiXqJaYBuzn2YIqrHC5+BAPlEVAM+BPzikKO9kC3cgc+qdgR+/A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrfeeigdduhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvvefuffhffggjkfggtgesmhdtre ertderjeenucfhrhhomhepvfhimhhothhhhicuoehorhhgmhhouggvsehtvggtrdhtvggt ohhsrghurhdrnhgvtheqnecuggftrfgrthhtvghrnhepieduvdefkeeffeefgeeiuefhke dvkeffjeejtdfffedtgeelveetffdvtdduheffnecuffhomhgrihhnpehorhhgmhhouggv rdhorhhgpdhlihgsvghrrghprgihrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepohhrghhmohguvgesthgvtgdrthgvtghoshgruhhr rdhnvght X-ME-Proxy: Feedback-ID: iecf94634:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 14 Jul 2023 05:28:38 -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: Fri, 14 Jul 2023 17:23:45 +0800 References: <874jm7d5ou.fsf@lipklim.org> <87351rd58c.fsf@localhost> <87zg3zbegv.fsf@lipklim.org> <87jzv2j1m3.fsf@localhost> User-agent: mu4e 1.10.5; emacs 28.3 In-reply-to: <87jzv2j1m3.fsf@localhost> Message-ID: <87y1jic05b.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: -4.03 X-Spam-Score: -4.03 X-Migadu-Queue-Id: C8BE153347 X-TUID: vxkyLgIds9gE --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Ihor, > 2. More importantly, we are adding ob-emacs-lisp-specific handling into > generic ob-tangle. > > What about generalizing the idea and providing a way to set Emacs > buffer-local variables in the tangled files? Looking at this patch earlier, I had the same concern. I think it=E2=80=99s= worth being paranoid about a proliferation of overly-specialised ob-tangle arguments. It occurs to me that this use case could also perhaps be satisfied by file-= local variables? If we presume that mixing tangling to lexically-bound and non-lexically bound elisp files is a corner case we don=E2=80=99t care that= much about, a `org-babel-elisp-lexical' variable could be used to set the behaviour, and modified using file-local variable forms as usual. 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 . --=-=-=--