GNU bug report logs - #66867
30.0.50; oclosure problem

Previous Next

Package: emacs;

Reported by: Greg Minshall <minshall <at> umich.edu>

Date: Wed, 1 Nov 2023 02:37:01 UTC

Severity: wishlist

Tags: confirmed

Found in version 30.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Greg Minshall <minshall <at> umich.edu>
Cc: 66867 <at> debbugs.gnu.org
Subject: bug#66867: lexical binding?
Date: Thu, 02 Nov 2023 02:15:48 +0100
Greg Minshall <minshall <at> umich.edu> writes:

> hi.  maybe this has something to do with not having lexical binding
> enabled (when the =(eval)= is being done)?

Yes, creating oclosures requires lexical-binding, and this is not
directly enforced in the code.  Your backtrace looks like if the code
was interpreted using the dynamically binding dialect.

--eval uses lexical-binding since Emacs 27.1.

Michael.




This bug report was last modified 1 year and 198 days ago.

Previous Next


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