From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aBEyO612O2HfNAAAgWs5BA (envelope-from ) for ; Fri, 10 Sep 2021 17:15:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id MKARN612O2E9SgAA1q6Kng (envelope-from ) for ; Fri, 10 Sep 2021 15:15:57 +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 4888F18642 for ; Fri, 10 Sep 2021 17:15:57 +0200 (CEST) Received: from localhost ([::1]:44642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOiFv-0008Ln-Db for larch@yhetil.org; Fri, 10 Sep 2021 11:15:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOiEk-0008JO-DU for emacs-orgmode@gnu.org; Fri, 10 Sep 2021 11:14:42 -0400 Received: from mail-qv1-xf2b.google.com ([2607:f8b0:4864:20::f2b]:45737) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mOiEi-0007Qh-O4 for emacs-orgmode@gnu.org; Fri, 10 Sep 2021 11:14:42 -0400 Received: by mail-qv1-xf2b.google.com with SMTP id w9so1433273qvs.12 for ; Fri, 10 Sep 2021 08:14:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=tvXpg0bbjGjcU2Fy5qw+i/HHa5IQetsl4vAqjSsb0Xk=; b=fgKQzQnZuF/E+v1mP8Gk2CcFoXp3Nhl7qOCLEYvar5NmNxttaO4VczW4ck3NoCHtec dG7p9ysvbTLsCfYDMofO/pARXuBYuGHdZLqp7mHnoifT+dbvkf09OhIem061/eJADeK1 5hPZ2/nxYuBMGIo+UCatuWN7CLnmlJ0MQH1NuEHTaSzE2uAuaJGI6PyCQZ/Tx1uDdcVy Wqy7G9Z6Rd7+bVaUMSCdMdz/Co0TSWBpu49vNn4TSyVHPyavq74KJCPeBLAMNi3/BWZU XmxPKlXrH7mVFaKi2aF5g+73RJm2vc+89yg33lA8uEsMN/BS34OkhOSMdu7JRP31sCJU NTHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=tvXpg0bbjGjcU2Fy5qw+i/HHa5IQetsl4vAqjSsb0Xk=; b=Ss5TgN7p5OFKeXtcGdZ5zMZROyRtQTV8ZQnu3kDmEMgW6tA0lc47/FjiGeeRUorU7H dteQffemee4g2EJ/e3/w+O90pqSL8HBR+5IHTKEluYcbS0Q3Pw4BnWxMJPlMzICgANDd rJZw9vX0JcaQ9BIoXswrzkU3A3IUTlHSsLB+0JLfgeTgmmEA8Mms9a4NkF5NXTpTYngo 3qxu389rHoNFnMUL2oGe5fF0OWVfnBo2ihsbGsQ07Tsh4UYh89BkDN+4Re4Y5QZ1r/3u R/snashtV3wZv2oPQztsw17AdErv/2hEn82+VWr86JUSGeDbtogWoYqfPBsc56zwSXk1 Rmwg== X-Gm-Message-State: AOAM5306TnaP3t1qgNVjUoxpduoszDMzgT8tBaNCVQT3E9Piq3hcCP5h nLj0oAcMjK4jsSc5VIn/Tmwo3ptg9wo= X-Google-Smtp-Source: ABdhPJxTkVx9GUni8qVeaTiAcNbyZj+wK7WJGTE3rn30iChyAltT2EdjO0ryinSW+RHoxcKi7g1YnA== X-Received: by 2002:a0c:aac3:: with SMTP id g3mr8790636qvb.14.1631286879384; Fri, 10 Sep 2021 08:14:39 -0700 (PDT) Received: from arch ([2601:82:c200:166d:afae:ebe6:a0e2:409e]) by smtp.gmail.com with ESMTPSA id p12sm3105968qtw.54.2021.09.10.08.14.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Sep 2021 08:14:38 -0700 (PDT) References: <87tuit73ij.fsf@gmail.com> <87v939c53a.fsf@gmail.com> User-agent: mu4e 1.5.14; emacs 28.0.50 From: No Wayman To: Timothy Subject: Re: [BUG?][PATCH] Should the `lexical-binding' variable be bound during src block with :lexical t? [9.4.6 (9.4.6-ga451f9 @ /home/n/.emacs.d/straight/build/org/)] Date: Fri, 10 Sep 2021 11:12:20 -0400 In-reply-to: <87v939c53a.fsf@gmail.com> Message-ID: <874kasea3m.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::f2b; envelope-from=iarchivedmywholelife@gmail.com; helo=mail-qv1-xf2b.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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org 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=1631286957; 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=tvXpg0bbjGjcU2Fy5qw+i/HHa5IQetsl4vAqjSsb0Xk=; b=c0qP+Gebf/WorZRmboRoPC1FADJoJh2AH+Uc2SOJZ4i3IH7kgvOYyad8y5is1nCC94Gc5/ o8uCeDNzQTsCIC9XaUPOHYkDf/cghJuADp8oT+MJMYKkkwBU/63IKrw/49sJQULtkr1dI4 bRmV59fd7F15xGXk86rc1JG4bBCtiAfROg0AusJaHqS9AhqS7z321CLMvHqj1pMGG8Dma3 K3vUkMGPsGTFpadxkGHtMSWRR2dP15x2PFERySG246eUY14yksH24sLtDNcGlpLRFkNjYT 78JoVJTop1OpV8aL8jr0oZX8JjkirnRc/lJW7b1dC6wqhiAYx3e/vdA5T2d/kg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631286957; a=rsa-sha256; cv=none; b=DXEe9OW/wMyhwHCdlliA+GktC6/t4WlLCoagy/ST5tkAK5EqCP/fATmCvRQC65W7OOITfN XXHQ0gjuHZ6oSO0ubZZJSbzluwewv586F7nb1LXYg9zf/+il5kdDRKciGCm5X6If/oXyUa Zwo1DRaXTcQD8goaudnBl6C/2NZ4FNWAlFYusw9fY6pzNKlkD+/h6mcVX88au1yysoVPpT 0Ut2ZWxXkjMMjavIDmu/+dyU8E7y1+KxKZf6lHgKKNOLIUjMdaOCHGbuE57eHm7lElD40Z Zb7rriGd2x6AIqc+7SPXhouTQ+SHeXNZMN3BTleEJJD+M+eST4lfuP4SLmbuuQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=fgKQzQnZ; dmarc=pass (policy=none) header.from=gmail.com; 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: -1.61 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=fgKQzQnZ; dmarc=pass (policy=none) header.from=gmail.com; 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: 4888F18642 X-Spam-Score: -1.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: ugxPNO/Ih+SZ Timothy writes: > Hi NoWayman, > >> I ran into this with some code I=E2=80=99m writing which checks against >> `lexical-binding=E2=80=99. >> Should the following result in =E2=80=9Clexical binding enabled=E2=80=9D= or >> =E2=80=9Clexical binding disabled=E2=80=9D?: > > Can you think of any examples where this results in different=20 > behaviour (without > explicitly checking `lexical-binding')? > > All the best, > Timothy The third case I outlined. Tangling a :lexical t src block sults in a dynamically scoped file=20 unless the user manually inserts the file-local variable line.