Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > pymacs + dbus

Reply
Thread Tools

pymacs + dbus

 
 
pber
Guest
Posts: n/a
 
      09-07-2005
Hi all,
I'm on trouble with pymacs and python binding of DBus 0.23.

Emacs/Xemacs have their gnuclient(s) to make remote calls to,
but I wanted to (try to) make some xemacs functions callable
via dbus.

Shortly:
- pymacs loads some python classes that publish the method
"pop_to_window" into a SessionBus (plus a threaded mailoop that
enables receiving messages from python sub-process)
- when activated, the method "pop_to_buffer" calls the "real"
lisp pop_to_buffer using Pymacs.lisp
- it works if called from inside xemacs: the current buffer switches
to the specified one.
- if called from DBus: my object "hears" the request and proceeds
to activate xemacs as usually, but in this case pymacs seems to ignore
the request. In buffer *Pymacs*, the last message I read is this:

<31 (progn (pop-to-buffer "sdbg"))

and nothing more: pymacs does not reply.

Any idea?

Best regards
Paolo Bernardi

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
pymacs Grant Python 0 05-08-2007 03:14 PM
Pymacs problem Skip Montanaro Python 2 10-21-2004 09:00 PM
Re: NEW MAINTAINER for Pymacs [corrected] =?iso-8859-1?Q?Fran=E7ois?= Pinard Python 2 09-24-2004 10:07 PM
NEW MAINTAINER for Pymacs =?iso-8859-1?Q?Fran=E7ois?= Pinard Python 0 09-17-2004 12:23 AM
pymacs problem on load Alexandre Fayolle Python 1 06-27-2003 05:16 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57