[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25088: 25.1; feature-unload and reload of cl-defstruct fails
From: |
Eli Zaretskii |
Subject: |
bug#25088: 25.1; feature-unload and reload of cl-defstruct fails |
Date: |
Fri, 09 Dec 2016 10:22:58 +0200 |
> From: npostavs@users.sourceforge.net
> Cc: 25088@debbugs.gnu.org
> Date: Fri, 09 Dec 2016 00:08:28 -0500
>
> > If this means there could be another, safer way of fixing this, please
> > show the details.
>
> Not sure how much safer this is, I think we would have to record the
> which symbol plists are being modified during `load' so that
> `unload-feature' could find them in `load-history' and reverse them
> along with functions definitions. This would get rid of the
> compiler-macro entries that were added to cl-defstruct accessor function
> symbols, and so they would load successfully the second time round just
> like the first (presumably).
It could be safer because it doesn't change cl-defstruct. But it's
hard to tell without seeing an implementation.
What do others think? Is the patch proposed by Noam safe enough for
the release branch? Stefan? Dmitry?
Thanks.
- bug#25088: 25.1; feature-unload and reload of cl-defstruct fails, npostavs, 2016/12/02
- bug#25088: 25.1; feature-unload and reload of cl-defstruct fails, Eli Zaretskii, 2016/12/02
- bug#25088: 25.1; feature-unload and reload of cl-defstruct fails, npostavs, 2016/12/03
- bug#25088: 25.1; feature-unload and reload of cl-defstruct fails, Eli Zaretskii, 2016/12/03
- bug#25088: 25.1; feature-unload and reload of cl-defstruct fails, npostavs, 2016/12/09
- bug#25088: 25.1; feature-unload and reload of cl-defstruct fails,
Eli Zaretskii <=
- bug#25088: 25.1; feature-unload and reload of cl-defstruct fails, Dmitry Gutov, 2016/12/09
- bug#25088: 25.1; feature-unload and reload of cl-defstruct fails, Eli Zaretskii, 2016/12/10
- bug#25088: 25.1; feature-unload and reload of cl-defstruct fails, Dmitry Gutov, 2016/12/10
- bug#25088: 25.1; feature-unload and reload of cl-defstruct fails, npostavs, 2016/12/10
- bug#25088: 25.1; feature-unload and reload of cl-defstruct fails, Stefan Monnier, 2016/12/09