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


Message #17 received at 70137 <at> debbugs.gnu.org (full text, mbox):

From: Augusto Stoffel <arstoffel <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 70137 <at> debbugs.gnu.org
Subject: Re: bug#70137: 30.0.50; pp-macroexpand-last-sexp buffers should
 turn lexical binding on
Date: Sun, 14 Apr 2024 09:42:12 +0200
[Message part 1 (text/plain, inline)]
On Wed, 10 Apr 2024 at 17:39, Stefan Monnier wrote:

> Do you happen to have a patch to propagate the value of
> `lexical-binding` to the new buffer?

This would be the patch to propagate the lexical binding value.  (A less
magical alternative I guess would be to just always set it to t.  Who
needs to debug non-lexical code these days anyway?)

It doesn't cover the new `pp-insert-short-sexp'.  Here again setting
lexical-binding=t by default might be okay.

[0001-Propagate-lexical-binding-value-to-pp-buffers.patch (text/x-patch, attachment)]

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.