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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#70137: closed (30.0.50; pp-macroexpand-last-sexp buffers
 should turn lexical binding on)
Date: Wed, 17 Apr 2024 21:07:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 17 Apr 2024 17:03:08 -0400
with message-id <jwvedb3zoqt.fsf-monnier+emacs <at> gnu.org>
and subject line Re: bug#70137: 30.0.50; pp-macroexpand-last-sexp buffers should turn lexical binding on
has caused the debbugs.gnu.org bug report #70137,
regarding 30.0.50; pp-macroexpand-last-sexp buffers should turn lexical binding on
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
70137: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70137
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Augusto Stoffel <arstoffel <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; pp-macroexpand-last-sexp buffers should turn lexical
 binding on
Date: Tue, 02 Apr 2024 08:01:18 +0200
If you call pp-macroexpand-last-sexp in a buffer with lexical binding,
the resulting *Pp Macroexpand Output* buffer has lexical binding turned
off.

The problem with this is that if you now go the *Pp Macroexpand Output*
buffer and call pp-macroexpand-last-sexp again, this second macro
expansion step may not reflect what would happen in the original buffer;
I don't recall an example, but some macros expand differently in the two
variable scoping modes.


[Message part 3 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Augusto Stoffel <arstoffel <at> gmail.com>
Cc: 70137-done <at> debbugs.gnu.org
Subject: Re: bug#70137: 30.0.50; pp-macroexpand-last-sexp buffers should
 turn lexical binding on
Date: Wed, 17 Apr 2024 17:03:08 -0400
Thanks, pushed to `master`, closing,


        Stefan



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.