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 #20 received at 70137 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Augusto Stoffel <arstoffel <at> gmail.com>
Cc: 70137 <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 13:43:07 -0400
> This would be the patch to propagate the lexical binding value.

LGTM.  Can you install it, or do you want me to do it?

> (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?)

Not sure why you think it'd be less magical.  🙂

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

`pp-insert-short-sexp` should use `lisp-data-mode` rather than
`emacs-lisp-mode` anyway.


        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.