GNU bug report logs - #77550
Regression in macroexpand from a4ec9ca (April 1)

Previous Next

Package: emacs;

Reported by: Ship Mints <shipmints <at> gmail.com>

Date: Sat, 5 Apr 2025 13:25:02 UTC

Severity: normal

Done: Sean Whitton <spwhitton <at> spwhitton.name>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ship Mints <shipmints <at> gmail.com>
Subject: bug#77550: closed (Re: bug#77550: Regression in macroexpand from
 a4ec9ca (April 1))
Date: Sat, 05 Apr 2025 23:33:02 +0000
[Message part 1 (text/plain, inline)]
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 77550 <at> debbugs.gnu.org.

-- 
77550: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77550
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Sean Whitton <spwhitton <at> spwhitton.name>
To: Ship Mints <shipmints <at> gmail.com>, Alan Mackenzie <acm <at> muc.de>
Cc: Daniel Mendler <mail <at> daniel-mendler.de>, 77550-done <at> debbugs.gnu.org
Subject: Re: bug#77550: Regression in macroexpand from a4ec9ca (April 1)
Date: Sun, 06 Apr 2025 07:32:15 +0800
Hello,

Thanks to Alan for the fix -- installed.

-- 
Sean Whitton

[Message part 3 (message/rfc822, inline)]
From: Ship Mints <shipmints <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Cc: Daniel Mendler <mail <at> daniel-mendler.de>
Subject: Regression in macroexpand from a4ec9ca (April 1)
Date: Sat, 5 Apr 2025 09:23:41 -0400
[Message part 4 (text/plain, inline)]
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)
[Message part 5 (text/html, inline)]

This bug report was last modified 44 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.