bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#60450: 30.0.50; Strange behavior of compiler macros in *scratch*


From: Gerd Möllmann
Subject: bug#60450: 30.0.50; Strange behavior of compiler macros in *scratch*
Date: Sun, 1 Jan 2023 07:34:31 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.5.1

On 31.12.22 15:42, Andreas Schwab wrote:
On Dez 31 2022, Gerd Möllmann wrote:

C-j is bound to eval-print-last-sexp, which I wouldn't expect to compile
anything, and its doc string doesn't mention anything AFAICS.  Not sure if
that's a bug in the code or something missing in the docs.

eval-print-last-sexp uses macroexpand-all.

(macroexpand-all '(foo)) => 1


Right. And macroexpand-all seems to be closely tied to the compiler, or the other way round, depending on one's perspective. I personally find that behavior a bit surprising, but that's just me. If someone wants to close this bug, please do.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]