From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#66867: lexical binding? Date: Thu, 02 Nov 2023 15:35:10 -0400 Message-ID: References: <15949.1698806098@archlinux> <39969.1698815795@archlinux> <87v8algdkr.fsf@web.de> <161636.1698946888@archlinux> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15492"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Greg Minshall , Michael Heerdegen , 66867@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 02 20:35:51 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qydTr-0003c1-Jl for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Nov 2023 20:35:51 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qydTZ-00052F-P6; Thu, 02 Nov 2023 15:35:33 -0400 Original-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 1qydTT-0004tp-CC for bug-gnu-emacs@gnu.org; Thu, 02 Nov 2023 15:35:27 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qydTT-0001cv-3L for bug-gnu-emacs@gnu.org; Thu, 02 Nov 2023 15:35:27 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qydU2-0005Bp-5G for bug-gnu-emacs@gnu.org; Thu, 02 Nov 2023 15:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Nov 2023 19:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66867 X-GNU-PR-Package: emacs Original-Received: via spool by 66867-submit@debbugs.gnu.org id=B66867.169895375519935 (code B ref 66867); Thu, 02 Nov 2023 19:36:02 +0000 Original-Received: (at 66867) by debbugs.gnu.org; 2 Nov 2023 19:35:55 +0000 Original-Received: from localhost ([127.0.0.1]:56158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qydTu-0005BT-TZ for submit@debbugs.gnu.org; Thu, 02 Nov 2023 15:35:55 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:12238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qydTt-0005BG-6F for 66867@debbugs.gnu.org; Thu, 02 Nov 2023 15:35:54 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 11FEF8076B; Thu, 2 Nov 2023 15:35:12 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1698953711; bh=RuuPTe29eIdk4txkM3BJHXQpLGkSAgIdZ7gSmSf+H2I=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=GRIMzFVfFCXdykVtRvkvXWTl1RGPBDsw8uPKu5gUGvohK0KVcJd7MtO0XJd/ICItV SqgPVzP6GYTGibD9w1o8VTCkDGzQk9sq6YkQJQAzFp6a2ds/hZT2mq/HrJsFX3DisZ 87j02mIqZXdcFR2vI4WLmTmMUZi+4tNnT28mc3NzIgvLyF/Aw0Rn9/Zgpk07n2JMIU oR5erzlQRNluWR4hXp2Lj8vP3Y+pMTIoNftUO434wFRRjso7h1Ds+10Kw0nRZm1EBJ 5SVJLEnjEzNYnWDhR6BnSQbxDkJ6Xpn3CY+LRPgWIKxunjVAMNZPPyv2wtE5s2CxPN /YMLM2xRHIpkQ== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 47C318001F; Thu, 2 Nov 2023 15:35:11 -0400 (EDT) Original-Received: from pastel (unknown [45.72.195.71]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 16DD81202A7; Thu, 2 Nov 2023 15:35:11 -0400 (EDT) In-Reply-To: (Stefan Kangas's message of "Thu, 2 Nov 2023 12:21:37 -0700") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:273670 Archived-At: >> maybe the Oclosure code should enforce lexical-binding, if it can, or >> throw an informative error in the case it can't so enforce? > Stefan M, what do you think? A (cl-assert lexical-binding) in something like `oclosure--lambda` sounds good, yes. Stefan