From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#52063: 28.0.60; Confusing presentation of lambda Date: Wed, 24 Nov 2021 14:48:45 +0200 Message-ID: <831r35afde.fsf@gnu.org> References: <83czmqaegb.fsf@gnu.org> <874k82vwe5.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10885"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52063@debbugs.gnu.org, monnier@iro.umontreal.ca To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 24 13:50:24 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 1mprjC-0002aA-Rc for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Nov 2021 13:50:23 +0100 Original-Received: from localhost ([::1]:36062 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mprjB-0001xg-Ld for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Nov 2021 07:50:21 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpris-0001xJ-LK for bug-gnu-emacs@gnu.org; Wed, 24 Nov 2021 07:50:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41896) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpris-0000S9-CD for bug-gnu-emacs@gnu.org; Wed, 24 Nov 2021 07:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mpris-0006v1-4u for bug-gnu-emacs@gnu.org; Wed, 24 Nov 2021 07:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Nov 2021 12:50:02 +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.163775814326505 (code B ref 52063); Wed, 24 Nov 2021 12:50:02 +0000 Original-Received: (at 52063) by debbugs.gnu.org; 24 Nov 2021 12:49:03 +0000 Original-Received: from localhost ([127.0.0.1]:53442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mprhu-0006tQ-Sa for submit@debbugs.gnu.org; Wed, 24 Nov 2021 07:49:03 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mprht-0006sx-73 for 52063@debbugs.gnu.org; Wed, 24 Nov 2021 07:49:01 -0500 Original-Received: from [2001:470:142:3::e] (port=56414 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mprhn-0008Pn-RP; Wed, 24 Nov 2021 07:48:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=MwuA1FgVKcV2DCUNyNWpKDO/8P3Ps8V1/MoN/VjBAeM=; b=YJebWoxwWy3l uSwiQ1o+h23MWNtSNQRYLwgkowf4yAvlyqyfkBisnovwx8FcGp5i0lwjBWh/bn/7UqVVg/40s0E2C CKRM9h12bH+Dj7hbP+OPmcZ5yEidDg4BFmCs2fipnRnYCkYaZsAObDfjUQKxoAkNovBtz4pM6qzgE HxB1FumYaxKn2DtDkXxiCsy8y+lFPlXSgHfKBh8tHrBTlAM079f1LEfi7DuxWI8C0iT+G/hj8bV5J E3x7wS1Lh9M5j5ODnrLQlYyyGx//o0Bz5jxjDHvkcsOvtwBMxatAILqS1a5GYNqvP6bVK+nHsxhAm NgjpArdtQToK7y/DQv91EA==; Original-Received: from [87.69.77.57] (port=2081 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mprhf-0001wg-EL; Wed, 24 Nov 2021 07:48:55 -0500 In-Reply-To: <874k82vwe5.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 24 Nov 2021 08:35:30 +0100) 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:220729 Archived-At: > From: Lars Ingebrigtsen > Cc: 52063@debbugs.gnu.org, Stefan Monnier > Date: Wed, 24 Nov 2021 08:35:30 +0100 > > Eli Zaretskii writes: > > > . The result: > > > > ((closure (t) nil (setq flyspell-generic-check-word-p 'mail-mode-flyspell-verify))) > > > > Why are we present a simple lambda as a closure? why confuse users > > with something tricky instead of showing the lambda-form the user > > typed? > > I'm not sure what you're suggesting here. The key is bound to a > closure Which key? I evaluated an add-hook expression. What I want to see is my lambda, the one I put in the hook. > (If you switch lexical-binding off in *scratch* it won't be.) I doubt that we want to tell users to switch off lexical-binding to see reasonably-formatted results from evaluation.