From: Eli Zaretskii <eliz@gnu.org>
To: Augusto Stoffel <arstoffel@gmail.com>,
Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 70137@debbugs.gnu.org
Subject: bug#70137: 30.0.50; pp-macroexpand-last-sexp buffers should turn lexical binding on
Date: Tue, 02 Apr 2024 14:59:21 +0300 [thread overview]
Message-ID: <86le5w9dra.fsf@gnu.org> (raw)
In-Reply-To: <87v8504829.fsf@gmail.com> (message from Augusto Stoffel on Tue, 02 Apr 2024 08:01:18 +0200)
> From: Augusto Stoffel <arstoffel@gmail.com>
> 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.
Adding Stefan.
next prev parent reply other threads:[~2024-04-02 11:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-02 6:01 bug#70137: 30.0.50; pp-macroexpand-last-sexp buffers should turn lexical binding on Augusto Stoffel
2024-04-02 11:59 ` Eli Zaretskii [this message]
2024-04-02 20:56 ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-10 21:39 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-14 7:42 ` Augusto Stoffel
2024-04-17 17:43 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-17 18:55 ` Augusto Stoffel
2024-04-17 21:03 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86le5w9dra.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=70137@debbugs.gnu.org \
--cc=arstoffel@gmail.com \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.