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: Tue, 23 Nov 2021 20:56:20 +0200 Message-ID: <83czmqaegb.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8869"; mail-complaints-to="usenet@ciao.gmane.io" To: 52063@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 23 19:57:19 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 1mpayl-00026i-1I for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Nov 2021 19:57:19 +0100 Original-Received: from localhost ([::1]:47970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpayj-0001R5-M0 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Nov 2021 13:57:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpayU-0001Pa-RL for bug-gnu-emacs@gnu.org; Tue, 23 Nov 2021 13:57:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40726) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpayU-0007EC-Je for bug-gnu-emacs@gnu.org; Tue, 23 Nov 2021 13:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mpayU-0000A1-Hk for bug-gnu-emacs@gnu.org; Tue, 23 Nov 2021 13:57: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: Tue, 23 Nov 2021 18:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52063 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.1637693800582 (code B ref -1); Tue, 23 Nov 2021 18:57:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Nov 2021 18:56:40 +0000 Original-Received: from localhost ([127.0.0.1]:52272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpay7-00009K-Ny for submit@debbugs.gnu.org; Tue, 23 Nov 2021 13:56:40 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:49608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpay4-00009B-FO for submit@debbugs.gnu.org; Tue, 23 Nov 2021 13:56:38 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpay4-0001MX-80 for bug-gnu-emacs@gnu.org; Tue, 23 Nov 2021 13:56:36 -0500 Original-Received: from [2001:470:142:3::e] (port=58552 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 1mpay3-00077j-Vo for bug-gnu-emacs@gnu.org; Tue, 23 Nov 2021 13:56:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Subject:To:From:Date:mime-version:in-reply-to: references; bh=yslAJauxGzCbYcFTuIdV9+QcgHMu7Pb8NtLZnnUKMmU=; b=DRY/vOH97FcOvS eUlMCZHGJ4Oh6JnqKq0jhLhuIDjUilOuL3jy7fvVnRz5osMAZEU0D1uwJOqwKCnBSSPNTnKjPPknf 5ccIl2qcAZekElGKjHReSC0Zn4pk9S5F9Ip0RD06akB7wG6cno6WUrfMGGBd++ImzeU4s2aDEfBm4 VBv5GxT4/V3XVwvC8xhJE7wZc9Hn6w0rxvMjjhECK9IdfwzvPq/IWgYul/+t6iA6yA5vkq14mdmbh PRbHpmUwkcgkAWxxdFlgMZjREUogg3bb7lW4lunHUAr0BNuOHomNJr9bvzw1PziPJ2F/midY8qi3S KgwWJK1nmPJZtRQr+1iQ==; Original-Received: from [87.69.77.57] (port=3403 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 1mpay3-0000OR-LC for bug-gnu-emacs@gnu.org; Tue, 23 Nov 2021 13:56:35 -0500 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:220687 Archived-At: To reproduce: . emacs -Q . Type into *scratch: (add-hook 'mail-mode-hook #'(lambda () (setq flyspell-generic-check-word-p 'mail-mode-flyspell-verify))) . Evaluate the above expression with "C-x C-e" . Type into *scratch*: mail-mode-hook C-j . 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? In GNU Emacs 28.0.60 (build 156, i686-pc-mingw32) of 2021-11-23 built on HOME-C4E4A596F7 Repository revision: d791cd556d622accb935e4dd230023c485d1e07a Repository branch: emacs-28 Windowing system distributor 'Microsoft Corp.', version 5.1.2600 System Description: Microsoft Windows XP Service Pack 3 (v5.1.0.2600) Configured using: 'configure -C --prefix=/d/usr --with-wide-int --with-modules --enable-checking=yes,glyphs 'CFLAGS=-O0 -gdwarf-4 -g3'' Configured features: ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS XPM ZLIB Important settings: value of $LANG: ENU locale-coding-system: cp1255 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr warnings emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils dabbrev iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 57044 6934) (symbols 48 7874 2) (strings 16 21867 2892) (string-bytes 1 643712) (vectors 16 12975) (vector-slots 8 175379 9690) (floats 8 28 53) (intervals 40 316 141) (buffers 888 12))