From: Neil Jerram <neil@ossau.uklinux.net>
Cc: guile-user@gnu.org
Subject: Re: Module unloading
Date: Thu, 26 May 2005 19:33:40 +0100 [thread overview]
Message-ID: <42961684.3000802@ossau.uklinux.net> (raw)
In-Reply-To: <38294b7405052605163f3505df@mail.gmail.com>
Zeeshan Ali wrote:
> Hello Neil,
> I must remind you that i am anxiously waiting for more input on
> this mater from you. Moreover, i tried to implement what you
> recommended but i think i am in a problem: Since the loaded module
> doesn't have access to binding of it's parent module (the module that
> 'uses' it), it is unable to access the 'xchat-register-plugin'
> procedure that is defined in the parent module. Do you have a solution
> for this in mind as well, or i took you all wrong.
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.
Hope this makes sense ...
Neil
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
next prev parent reply other threads:[~2005-05-26 18:33 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-23 14:03 Module unloading Zeeshan Ali
2005-05-23 18:18 ` Neil Jerram
2005-05-23 20:55 ` Zeeshan Ali
2005-05-23 21:23 ` Neil Jerram
2005-05-24 13:02 ` Zeeshan Ali
2005-05-24 18:15 ` Neil Jerram
2005-05-24 21:06 ` Zeeshan Ali
2005-05-24 21:26 ` Zeeshan Ali
2005-05-26 12:16 ` Zeeshan Ali
2005-05-26 18:33 ` Neil Jerram [this message]
2005-05-26 20:00 ` Zeeshan Ali
2005-05-26 18:25 ` Neil Jerram
2005-05-26 19:45 ` Zeeshan Ali
2005-05-24 21:14 ` Rob Browning
2005-05-26 18:43 ` Neil Jerram
2005-05-26 18:57 ` Rob Browning
2005-05-26 19:05 ` Neil Jerram
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42961684.3000802@ossau.uklinux.net \
--to=neil@ossau.uklinux.net \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).