From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.bugs Subject: bug#52063: 28.0.60; Confusing presentation of lambda Date: Wed, 24 Nov 2021 14:42:27 -0800 Message-ID: References: <83czmqaegb.fsf@gnu.org> <874k82vwe5.fsf@gnus.org> <831r35afde.fsf@gnu.org> <87v90hu36b.fsf@gnus.org> <83v90h8zjw.fsf@gnu.org> <87r1b5u1cl.fsf@gnus.org> <83pmqp8vps.fsf@gnu.org> <87sfvly160.fsf@gnus.org> <83ilwh8pf2.fsf@gnu.org> <83a6ht8n3p.fsf@gnu.org> <83v90h72ki.fsf@gnu.org> <83r1b571mc.fsf@gnu.org> <9a8c985a-7042-a81c-5bf0-5117982c9cdc@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28725"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 52063@debbugs.gnu.org To: Eli Zaretskii , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 24 23:43:10 2021 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 1mq0yr-0007GY-J0 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Nov 2021 23:43:09 +0100 Original-Received: from localhost ([::1]:50188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mq0yq-00076D-2G for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Nov 2021 17:43:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54444) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mq0yk-000764-1Z for bug-gnu-emacs@gnu.org; Wed, 24 Nov 2021 17:43:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43610) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mq0yj-0008JG-PM for bug-gnu-emacs@gnu.org; Wed, 24 Nov 2021 17:43:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mq0yj-0007rr-M2 for bug-gnu-emacs@gnu.org; Wed, 24 Nov 2021 17:43:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Nov 2021 22:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52063 X-GNU-PR-Package: emacs Original-Received: via spool by 52063-submit@debbugs.gnu.org id=B52063.163779375730213 (code B ref 52063); Wed, 24 Nov 2021 22:43:01 +0000 Original-Received: (at 52063) by debbugs.gnu.org; 24 Nov 2021 22:42:37 +0000 Original-Received: from localhost ([127.0.0.1]:55156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mq0yK-0007rD-OP for submit@debbugs.gnu.org; Wed, 24 Nov 2021 17:42:37 -0500 Original-Received: from mail-pj1-f41.google.com ([209.85.216.41]:42728) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mq0yI-0007qw-1L for 52063@debbugs.gnu.org; Wed, 24 Nov 2021 17:42:35 -0500 Original-Received: by mail-pj1-f41.google.com with SMTP id fv9-20020a17090b0e8900b001a6a5ab1392so4063408pjb.1 for <52063@debbugs.gnu.org>; Wed, 24 Nov 2021 14:42:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:from:to:cc:references:message-id:date:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=XOkH94W7Srvgl8a8c/jy6q2F2mPTVpIUBkA7EgQosSc=; b=N618CRXkmorVj0b1hpE0bCinGNjdb0wNSUqUajzdxmvJCSqsoujzhJ2dYWGXFXwL2x ZtDe1l/8+xYenWpNpBzNAmPTFDc4Nl4FOVuaOIbxYdJKTYDnJAkwyrBqUthEEuFdsja2 1mhRokLfO8wLQmub0nGtrplgH4c3bhKwHDo68KMRBRozbes7uecR2D32DsZjYTpFEObu XZ/Lyoq9iLtZtTw81GuDo1vUtwXsv5F0OjoPbe+zovpfIXi4gs5J0e78kUns9Yx+t0sP XP375l4LBIgNY1Oy7GRUQXHvcibPbaxEViT4CFR7ONvWgGLgqOvTGISbuIjBYEM4Wfzs yW4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=XOkH94W7Srvgl8a8c/jy6q2F2mPTVpIUBkA7EgQosSc=; b=k202w2v9HAwmajKsQJQvkMt84GbrFqUuKHDGm4bg3+ui5DEaS/seD0xE1JJ5S+b1cM nVRTfb8FietMAbLt9MVw+pOo+aYcSMDyJk3cWAGlmyJgzKujstslW0eKllIHwhgG8/Qs HBepUN9JFNSPF0hKRjV2fQg1iZOPc/DGfEpbKyn9AcGZ9zxwL27ySUjMW5+xzsTdMy1T f9jdYVFQ9srKg+RO8WBSFdKdMO6LShy0s3kPJbhzXQJ+/E1qcYrk5LPM9RehlmhB7Rni qlbZLVde0AS+kx+3VYlwKFfdutzwD3So91vb0gHc+Z81UUkv6ufMcpFOYNtMl1SjCNqk Zbmw== X-Gm-Message-State: AOAM532MgqE4RMS8J4AZqdUtA+ZWZaWhNyqz6+NRvfF8IGwBTlv+QVQj oXfujTL9mCmuKVYjPSv6/fWku34WTd0= X-Google-Smtp-Source: ABdhPJws7jFfwepr6cp3sUiEEZu8WXQX/17m5ue0NUEaxKNWqQEMvwx8AI62mLZN6ff30V3RPimNgw== X-Received: by 2002:a17:90a:be0c:: with SMTP id a12mr814838pjs.204.1637793747990; Wed, 24 Nov 2021 14:42:27 -0800 (PST) Original-Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id n71sm745714pfd.50.2021.11.24.14.42.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 24 Nov 2021 14:42:27 -0800 (PST) In-Reply-To: <9a8c985a-7042-a81c-5bf0-5117982c9cdc@gmail.com> Content-Language: en-US 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" Xref: news.gmane.io gmane.emacs.bugs:220784 Archived-At: On 11/24/2021 2:33 PM, Jim Porter wrote: > This is a contrived example, but similar sorts of things crop up in the > real world. If the above example were significantly more complex (e.g. > the `let' and the `add-hook' were in different functions), I might not > realize that `foo' was lexically-bound unless I looked at the value of > `prog-mode-hook' and saw the closure. Sorry, this part isn't correct (at least, I don't think it is): "(e.g. the `let' and the `add-hook' were in different functions)". So just ignore that bit. :) Nevertheless, it could be that the bound variables in a closure aren't what you'd expect, so I still think it's useful to see them somehow.