GNU bug report logs - #70137
30.0.50; pp-macroexpand-last-sexp buffers should turn lexical binding on

Previous Next

Package: emacs;

Reported by: Augusto Stoffel <arstoffel <at> gmail.com>

Date: Tue, 2 Apr 2024 06:02:02 UTC

Severity: normal

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: Augusto Stoffel <arstoffel <at> gmail.com>
Cc: 70137 <at> debbugs.gnu.org
Subject: bug#70137: 30.0.50; pp-macroexpand-last-sexp buffers should turn lexical binding on
Date: Tue, 02 Apr 2024 22:56:07 +0200
Augusto Stoffel <arstoffel <at> gmail.com> writes:

> If you call pp-macroexpand-last-sexp in a buffer with lexical binding,
> the resulting *Pp Macroexpand Output* buffer has lexical binding turned
> off.

Same as with any other displayed pp output buffer btw, or any temp
buffer.  All inherit the global lexical-binding -> nil binding.  Not
ideal indeed.

Michael.




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

Previous Next


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