GNU bug report logs - #76748
31.0.50; `unload-feature' unbinds NEW-ALIAS and BASE-VARIABLE of variable alias

Previous Next

Package: emacs;

Reported by: Jens Schmidt <jschmidt4gnu <at> vodafonemail.de>

Date: Tue, 4 Mar 2025 20:58:02 UTC

Severity: normal

Found in version 31.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: Jens Schmidt <jschmidt4gnu <at> vodafonemail.de>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 76748 <at> debbugs.gnu.org
Subject: bug#76748: 31.0.50; `unload-feature' unbinds NEW-ALIAS and BASE-VARIABLE of variable alias
Date: Sat, 15 Mar 2025 22:50:34 +0100
[Message part 1 (text/plain, inline)]
On 2025-03-15  20:13, Stefan Monnier wrote:

> That would be the poor man's choice, but given you already wrote the
> code to do it better, I wouldn't make that choice.

Ok, kept the other choice, implemented your and Eli's feedback,
added tests, both for the new function and for unloading a feature
that defines a variable alias.

Please see the attached patch.

Thanks
[0001-Correctly-unload-variable-aliases.patch (text/x-patch, attachment)]

This bug report was last modified 67 days ago.

Previous Next


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