Subject: bug#77550: closed (Re: bug#77550: Regression in macroexpand from a4ec9ca (April 1))

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 05 Apr 2025 23:33:02 +0000

Your bug report

#77550: Regression in macroexpand from a4ec9ca (April 1)

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
77550: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77550
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#77550: Regression in macroexpand from a4ec9ca (April 1)
From: Sean Whitton <[email-masked]>
To: Ship Mints <[email-masked]>, Alan Mackenzie <[email-masked]>
Cc: Daniel Mendler <[email-masked]>, [email-masked]
Date: Sun, 06 Apr 2025 07:32:15 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Thanks to Alan for the fix -- installed.

-- 
Sean Whitton

Subject: Regression in macroexpand from a4ec9ca (April 1)
From: Ship Mints <[email-masked]>
To: [email-masked]
Cc: Daniel Mendler <[email-masked]>
Date: Sat, 5 Apr 2025 09:23:41 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Below found in the wild expanding a macro from Daniel's marginalia package.

Emacs 30
(macroexpand-all '(foo bar)) -> (foo bar)
(macroexpand-all '((foo) bar)) -> ((foo) bar)

master
(macroexpand-all '(foo bar)) -> (foo bar)
(macroexpand-all '((foo) bar)) -> signals an error

Debugger entered--Lisp error: (wrong-type-argument symbolp (foo))
  signal(wrong-type-argument (symbolp (foo)))
  function-get((foo) compiler-macro)

Whether this is an intended or unintended consequence, I can't say, not
being a macro expert.

-Stephane (and Daniel)