17 Jul 2009 21:30
dbusbind.el
Michael Albinus <michael.albinus <at> gmx.de>
2009-07-17 19:30:02 GMT
2009-07-17 19:30:02 GMT
Zajcev Evgeny <lg.zevlg <at> gmail.com> writes: > Michael Albinus <michael.albinus <at> gmx.de> writes: > >> Sebastian Freundt <hroptatyr <at> sxemacs.org> writes: >> >>> I wouldn't call our dbus support an API yet. It is the product of 1 hour >>> of work with a very specific goal, getting empathy to work. We haven't >>> considered anything yet, let alone thought about a possible collaboration. >>> Consider our dbus support a design study, more or less a proof that our >>> FFI concept is flexible enough to furtherly support it. >> >> I see. I do not understand whether you support also receiving signals >> and method calls. This would require a kind of mainloop integration; is >> this possible with FFI? > > yes, we have an ability to integrate glib's event loop into SXEmacs, > thats how i've got sxempathy to work. This integration not yet in > ffi-dbus AFAIR Porting dbusbind.c to dbusbind.el has progressed last weeks. Arguments marshalling / unmarshallings works for arbitrary D-Bus types, I can call D-Bus methods and show the result, I can subscribe to signals, read them, and see them as misc-user events. What I don't know is how to integrate into the SXEmacs mainloop. I'm NOT speaking about dbus-glib , that is not used. There is a Lisp function (xd-read-queued-messages) which checks the system and session buses for new incoming messages, reads them, and transforms them into a misc-user event. This function must be called regularly in the SXEmacs main(Continue reading)






> itimers might be an option, I'll give them a try.


RSS Feed