Ok, here's the next part. My dynamic module needs to define new LRECORD
types. In XEmacs 21.2, someone went and changed how this works so that I
have to go into the XEmacs source code (lrecord.h) and modify an enum
(lrecord_type) to add my types in there. That's lame, and certainly not what
I was expecting when writing a dynamic module (that XEmacs shouldn't be
required to know about it when i compile Xemacs).
In addition, the docs should be updated to note that not only do you have to
DECLARE_LRECORD and DEFINE_LRECORD_IMPLEMENTATION, but you also have to now
init your new types in syms_of_<module> by INIT_LRECORD_IMPLEMENTATION
before you call any DEFSUBR's.
Whoever owns the lrecord.h type stuff, will this be changed to enable
dynamic modules to declare new LRECORD types?
Andrew Begel
UC Berkeley