From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MMKDKkl/V2AjFwAA0tVLHw (envelope-from ) for ; Sun, 21 Mar 2021 17:15:53 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id gGVOJkl/V2DZUAAAB5/wlQ (envelope-from ) for ; Sun, 21 Mar 2021 17:15:53 +0000 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 A963D29A8D for ; Sun, 21 Mar 2021 18:15:52 +0100 (CET) Received: from localhost ([::1]:35236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lO1g7-0005YM-1t for larch@yhetil.org; Sun, 21 Mar 2021 13:15:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lO1eu-0005Xi-GZ for emacs-orgmode@gnu.org; Sun, 21 Mar 2021 13:14:36 -0400 Received: from hiwela.pair.com ([209.68.5.201]:63236) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lO1es-0003ep-M0 for emacs-orgmode@gnu.org; Sun, 21 Mar 2021 13:14:36 -0400 Received: from hiwela.pair.com (localhost [127.0.0.1]) by hiwela.pair.com (Postfix) with ESMTP id 0103B9805A2; Sun, 21 Mar 2021 13:14:31 -0400 (EDT) Received: from minshall-entroware-apollo.cliq.com (unknown [88.253.115.125]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hiwela.pair.com (Postfix) with ESMTPSA id BD0508F095A; Sun, 21 Mar 2021 13:14:30 -0400 (EDT) Received: from apollo2.minshall.org (localhost [IPv6:::1]) by minshall-entroware-apollo.cliq.com (Postfix) with ESMTP id 3F58C62AA6; Sun, 21 Mar 2021 20:14:28 +0300 (+03) From: Greg Minshall To: Kyle Meyer Subject: Re: Using lexical-binding In-reply-to: Your message of "Sun, 21 Mar 2021 12:04:10 -0400." <87czvsv6h1.fsf@kyleam.com> X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 27.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <702306.1616346868.1@apollo2.minshall.org> Date: Sun, 21 Mar 2021 20:14:28 +0300 Message-ID: <702307.1616346868@apollo2.minshall.org> Received-SPF: softfail client-ip=209.68.5.201; envelope-from=minshall@umich.edu; helo=hiwela.pair.com X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marco Wahl , emacs-orgmode@gnu.org, Stefan Monnier Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616346953; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=FitUc6lt1LwxQuIAUe4gLRvuvKat8EoxjQ6Xe5R9Dys=; b=HCYklO/8GczH4vPwJ0Q3hgntsl94umIRSzAqyFcxkyn3RNApHY/LLED9iB07eLlwIyDCv5 u3VgcVq19LZ29Y8Ja/M/sY/vOrV1xpg51XyzNoZNASV00leRagG3TUrkEFi3qUYXuyU+2c GRue/s+7ZrbsntVQ4Mihw1trOCt1xPP0NJ1VT7YhihZYWujMy/xTT7aIULdQwfEmLWC29c vk05CXgBcnU0qr4nLR59f+dzIU9OO0GDbIeua56ZM0VNsgvntjNnU7lpIchmAEWovEGJM8 0DxdaBFfJKeC2Zdvw5MI6EAVBRbZJO6BEJMyYCl3VfJlXKjwdh1qy3yTs1PRTA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616346953; a=rsa-sha256; cv=none; b=Z3dqHnuzuGSkgTkEzjuGcTnGIuKX1/2CSCaArMjWifausOg8D9uqEnHIUiymYM08hU+gRs THA39N5lBASkNkZCRxePnDdsyiUrom+yBV2Ol48t3aZaD45WoJ3zfiu3FnRa+miyhfVV/t iRBNg2w2a9aUaZhhkutvDhMWDy42hEx0/BX31oxTR1kCgy2O6oXAQgwpK+rnMuDX8UWZ4p UCQlGmd0IY+WNXFnRxrk7nUdH0ieK4gKRvj6T3MkN2WIzsH1xBYcSzy7zIQQ40+RuL0ScQ ywg/u26t0jbK0e8aOvC9Aty6AX5DFNNXN08wvlVdwIbFVJ0bvvRjVdSubIS4zA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=umich.edu (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.32 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=umich.edu (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: A963D29A8D X-Spam-Score: -2.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: iix1aPSwZmGg Kyle, > Hmm, given that the lexical-binding change to ob-core was back in Org > 9.0 (November 2016), it seems like dynamic scoping wasn't really being > relied on (or, if it was, downstream code has already been adjusted). > In my view it'd be better to stick with lexical scoping for these > variables, with callers explicitly passing the subset of needed > variables to the underlying function(s). yes, that makes sense. thanks. cheers, Greg