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: Sean Whitton <spwhitton <at> spwhitton.name>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#77550: closed (Regression in macroexpand from a4ec9ca (April 1))
Date: Sat, 05 Apr 2025 23:33:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 06 Apr 2025 07:32:15 +0800
with message-id <878qoeqj5s.fsf <at> melete.silentflame.com>
and subject line Re: bug#77550: Regression in macroexpand from a4ec9ca (April 1)
has caused the debbugs.gnu.org bug report #77550,
regarding Regression in macroexpand from a4ec9ca (April 1)
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> 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: 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 3 (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 4 (text/html, inline)]
[Message part 5 (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


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.