GNU bug report logs - #52063
28.0.60; Confusing presentation of lambda

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Tue, 23 Nov 2021 18:57:02 UTC

Severity: normal

Found in version 28.0.60

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 52063 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca
Subject: bug#52063: 28.0.60; Confusing presentation of lambda
Date: Wed, 24 Nov 2021 14:31:22 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

>> (lambda () 1)
>> => (closure (t) nil 1)
>
> Where do you see something like the above in my recipe?  The recipe
> was:

If you put

(lambda () 1)

into *scratch* and then `C-u C-x C-e' it'll spit put

(closure (t) nil 1)

Because that's what that form evaluates to in lexically bound buffers.
`lambda' is no longer self-evaluating, and hasn't been for a few years.

(But I guess it's pretty recent that *scratch* defaults to lexical.)

And it's the same with

(lambda ()
  (setq flyspell-generic-check-word-p
	'mail-mode-flyspell-verify))

of course.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 255 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.