From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#66867: lexical binding? Date: Thu, 2 Nov 2023 12:39:15 -0700 Message-ID: References: <15949.1698806098@archlinux> <39969.1698815795@archlinux> <87v8algdkr.fsf@web.de> <161636.1698946888@archlinux> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36887"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Greg Minshall , Michael Heerdegen , 66867@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 02 20:39:59 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 1qydXq-0009Mf-RN for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Nov 2023 20:39:58 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qydXM-0006sg-NF; Thu, 02 Nov 2023 15:39:28 -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 1qydXL-0006sG-HD for bug-gnu-emacs@gnu.org; Thu, 02 Nov 2023 15:39: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 1qydXL-0003CD-9U for bug-gnu-emacs@gnu.org; Thu, 02 Nov 2023 15:39:27 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qydXu-0005If-Av for bug-gnu-emacs@gnu.org; Thu, 02 Nov 2023 15:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Nov 2023 19:40: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.169895399920361 (code B ref 66867); Thu, 02 Nov 2023 19:40:02 +0000 Original-Received: (at 66867) by debbugs.gnu.org; 2 Nov 2023 19:39:59 +0000 Original-Received: from localhost ([127.0.0.1]:56180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qydXr-0005IK-3t for submit@debbugs.gnu.org; Thu, 02 Nov 2023 15:39:59 -0400 Original-Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]:42458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qydXp-0005I7-CO for 66867@debbugs.gnu.org; Thu, 02 Nov 2023 15:39:57 -0400 Original-Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2c6cb4a79deso14477111fa.1 for <66867@debbugs.gnu.org>; Thu, 02 Nov 2023 12:39:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698953956; x=1699558756; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=1369id8hGsO4KiHMcomIsUzyKEfybei7qGe1UMO5/m8=; b=NW5btesY0WSiWxkeCB94uAQIy+AeT/c7N1KEuNjcbpBMUjd6YbBX5lEjmfpHg8liQb CxbH73CZKyEbRIUAdiF58qpvHqp9gjbScb0wKKfpLPBbEKYPplV6fqnya2argU+1XV3W HoR0rr2HmZJxYS2OxrwGE3sL4lKzMSpa6TJEIA3PNSefvTebaWjUTtGMIDUgdH3jJtOf JFS6jnOLEzAUqtQlT8Z5tu0sWK326SLk19EC6KoIjzhvbOoyIKSxDebM25GpXrbnkKjz WDAsXYMmzpn2CrfJKAL5+7PaQNh0aQ+fdQTehgm2/66U17x6kV8SH0PEdtiuv2HHb72J PW8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698953956; x=1699558756; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1369id8hGsO4KiHMcomIsUzyKEfybei7qGe1UMO5/m8=; b=XhuQwwCNLzpbUx+5wq4r7xnJfUbanskcpFZPMk7ylwbjtzqK2pKWTzNjt44SL3N4zi SWi9ZsY8A5/7c4TQpXrbUt9nhSZliWFNq4OriQHiSMkViCLCwQOmigucfe4rhNjOcwHJ ZyI+3bRQUCBPGATQC5jJTLkzxZ2KWh/Ghej/s0G875ax4kO2O+roi/tFtSyNS+oWAWd4 z9vdTs1EWDLApA1KzYvdH4ez/QXVb5uY/MJTYjo+bjoRb8HYCwmleq5kZTLGLpXDn5Cv OBxbnI8cg2+fQG/AU+xruXHzTqmRQhJ0AFi3uyQl+61pJckL54ScY4i1LdskZ13kOqCe 8Gtw== X-Gm-Message-State: AOJu0YzZdZSX2NJ4JF9SOWHvo2Xijnr65eYuiuDbwH1Ytp2aWndfWI/B pjIWcALK0ujAKdvDcRYFqk5WR/D7SQ4bJwQtUak= X-Google-Smtp-Source: AGHT+IFnw1EoeInQE4jsXiV4cq81BjPXuIMMkYYS57UkEksjWXMpuJrls3qLBDyN5rXrUpTp9gOztvnuYD9gEE5fWnI= X-Received: by 2002:a2e:a0d2:0:b0:2c5:332:f18d with SMTP id f18-20020a2ea0d2000000b002c50332f18dmr168133ljm.2.1698953956216; Thu, 02 Nov 2023 12:39:16 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 2 Nov 2023 12:39:15 -0700 In-Reply-To: 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:273672 Archived-At: severity 66867 wishlist tags 66867 + confirmed thanks Stefan Monnier writes: >>> 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. Thanks, so patches welcome.