[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

emacs21 and dynamic loading



Does anybody know if there are plans for emacs21-dl?  Or does stock
emacs21 already support dynamic loading of input modules?

Motivation - some time ago, I wrote my gpm replacement, gim.  I
integrated it with emacs20 the same way gpm was - through a subprocess
and a lisp module which parsed the subprocess' output and created
"lispy events" for the rest of emacs.

Now, for unrelated reasons, I at last broke down and upgraded to
emacs21.  Not so surprisingly, the event reading internals changed,
and my mouse interface is broken.   I feel that the subprocess+lisp
module way is hopelessly fragile to maintain, and the only hope is to
have Emacs get the gim events in its C code.  But OTOH I am not
optimistic about getting my code into Emacs proper.

Hence my interest in packaging this as a dlopened object.

-- 
Ian Zimmerman, Oakland, California, U.S.A. 
if (sizeof(signed) > sizeof(unsigned) + 4) { delete this; }
GPG: 433BA087  9C0F 194F 203A 63F7 B1B8  6E5A 8CA3 27DB 433B A087



Reply to: