[asdf-devel] clear-output-translations and saved cores

Robert Goldman rpgoldman at sift.info
Fri Jun 10 14:18:22 UTC 2011

On 6/10/11 Jun 10 -8:55 AM, Raymond Toy wrote:
> Xach brought this to my attention wrt to maxima, but it's not really
> about maxima and asdf2.  My question is if clear-output-translations
> should always be called before saving a core.  Is there a case where
> you would not want to run c-o-t before saving a core?
> If c-o-t should always be run, wouldn't it make sense for asdf2 to
> arrange for that?  I'm not familar with how other lisps do this, but
> cmucl does have *before-save-initializations* which is a list of
> functions that are run before a core is saved.  Perhaps asdf2 should
> push #'c-o-t onto *before-save-initializations*?

I confess to not fully understanding the ramifications here.

1.  What would it mean for ASDF2 to arrange for the clearing of output
translations when saving a core?  Is there some way to achieve that
without ASDF2 having to incorporate code that would infiltrate every
lisp implementation's core-dumping process?  Wouldn't it be better for
the lisp implementations themselves to handle that?

2.  On the flip side, are we guaranteed that every lisp implementation's
core-resuming facilities would cause the output translations to be
reinitialized appropriately?


More information about the asdf-devel mailing list