Geoffrey Furnish <furnish(a)actel.com> writes:
Could you suggest how I can learn more about loadable modules? This
is something I'm very interested in. I would like to know how to make
a package which can be somehow added into XEmacs, providing
lisp-callable functions.
I think 21.2 (I am running 21.0 here) comes with some documentation
how to do this and some example modules. However that already assumes
you know how to code normal XEmacs C code. The goal is to be able to
just write it as if you were writing it for XEmacs in the normal way
and then instead of compiling it at build time you compile it using
'elcc' (sp?).
I would also like for this thing to be able
to draw into a region in an XEmacs buffer--an embeddable widget if you
will. I'm thinking maybe XEmacs gives me a subwindow or something.
Anyway, I'd like to learn about the mechanics of this stuff. What
should I start with?
This is a lot harder I think. You used to be able to do this but it
had a lot of bit rot. Recently Andy Piper redid it for the windows
port. Somebody still needs to do the X side. If you know Xt then coding
it yourself is of course _the_ way of learning it :-)
Jan