GNU bug report logs - #53618
29.0.50; macroexp-warn-and-return incompatible change

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Sat, 29 Jan 2022 00:38:01 UTC

Severity: normal

Merged with 53526

Found in version 29.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

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: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#53526: closed (29.0.50; macroexp-warn-and-return API change)
Date: Sat, 19 Feb 2022 19:21:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 19 Feb 2022 14:20:25 -0500
with message-id <jwvtucuu0ib.fsf-monnier+emacs <at> gnu.org>
and subject line Re: bug#53618: 29.0.50; macroexp-warn-and-return incompatible change
has caused the debbugs.gnu.org bug report #53618,
regarding 29.0.50; macroexp-warn-and-return API change
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
53618: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=53618
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; macroexp-warn-and-return API change
Date: Tue, 25 Jan 2022 11:56:22 -0500
Package: Emacs
Version: 29.0.50


The following change in `macroexp.el` on `master` is not backward
compatible with the Emacs-28 API:

-(defun macroexp-warn-and-return (msg form &optional category compile-only)
+(defun macroexp-warn-and-return (arg msg form &optional category compile-only)

I suspect that the `arg` should be added at the end instead.  While I'm
here I also noticed that `byte-compile-form-stack` is a poor name for
a variable declared in `macroexp.el`.  It should either be renamed to
use the `macroexp-` prefix, or moved to `bytecomp.el` (and it probably
should have a double-hyphen, since I think it's not meant to be used by
anyone but us).


        Stefan



[Message part 3 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 53618-done <at> debbugs.gnu.org
Subject: Re: bug#53618: 29.0.50; macroexp-warn-and-return incompatible change
Date: Sat, 19 Feb 2022 14:20:25 -0500
> We can't break compatibility in this way, so please go ahead and push
> your patch.

Thanks, done,


        Stefan



This bug report was last modified 3 years and 90 days ago.

Previous Next


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