[plt-scheme] Can subclasses of editor-snips% be saved?
> The danger here is that the user-space program may end up with instances
> of the `my-editor-snip%' class as created in DrScheme's space.
Yes, I'm seeing this behavior. Ugh.
> In the past, we've hacked DrScheme by explicitly attaching modules like
> "my-editor-snip.ss" from the DrScheme space to the user space; see
> `to-be-copied-module-specs' in `drscheme/private/eval'. As far as I
> know, that's still the only solution.
Is there an prefered extension mechanism from the tool's end that lets me
attach more modules to this to-be-copied-module-specs list? I believe I
should be looking at drscheme:language:extend-language-interface and do
the same sort of hackery that the lang/htdp-langs.ss module does with
on-execute. I just want to make sure that this is an acceptable place to
do the namespace-attach-module stuff.