Hello, > Yes. This is covered in general terms by the comments in my earlier > email today, but for the specific problem you describe, all you need to > do is: > > - export `xchat-register-plugin' from your main infrastructure module, > which let's say is (xchat main) > > - document that plugin authors need to write `(use-modules (xchat > main))' at the start of their plugin code.
Yes, Rob suggested this method on IRC this evening, but it seems to further complicate the maters as i was trying to unref one module reference and this way i'll get two to worry about. One thing that i found out is that module can't really be unloaded. E.g if i load a module (either using use-modules or resolve-module), unload/unuse it (using the code you showed me), edit the module and then load it again, i don't get my changes; instead the same old version of module get's loaded, which means the module didn't get unloaded. Regards, Zeeshan Ali _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user