473,394 Members | 1,854 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

pymacs + dbus

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

Sep 7 '05 #1
0 1010

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Alexandre Fayolle | last post by:
Hi there, I'm not an emacs power user at all, just getting started with pymacs to try to get BicycleRepairMan to run. I have pymacs 0.21 installed, and on init, I get an emacs error. The...
0
by: François Pinard | last post by:
Hello to everybody, and Emacs users in the Python community. The Pymacs project (described below) now has new maintainer: Syver Enstad <syver@inout.no>. I'm inviting Pymacs users to collaborate...
2
by: Skip Montanaro | last post by:
I'm trying to use the Pymacs bridge to add a symbol completion facility to Emacs's python-mode. Neither the Python nor Emacs Lisp portions are all that complex, but I'm having trouble passing a...
0
by: Neil Woolford | last post by:
I'd like to be able to pop up a notification bubble like the ones used by Ubuntu for 'updates available' etc. In particular I'd like to be able to use them to warn users of other machines that I...
0
by: jerry.levan | last post by:
I am trying to learn a bit about dbus on my Fedora Core 5 laptop. All of the python examples I find on google fail to "compile" for one reason or another, I guess the interface is still in...
1
by: bob | last post by:
Hello, First of all, does anyone know whether dbus will allow be to do 3 things: 1. query whether or not there is a dvd drive. 2. query whether or not there is a blank disc in it. 3. query...
1
by: bob | last post by:
Hi, I have this sample python script from the hal sources, but it doesn't work for me. This is despite other example python scripts I have to help me are working fine. The problem is that this...
4
by: est | last post by:
Hi all I am trying to port Scribes to Windows, but I could not find a package named dbus-python for windows. There is a windbus <http:// sourceforge.net/projects/windbus/but it not for Python,...
0
by: huisan.wang | last post by:
Hello everyone, I am writing a program with twisted and dbus and got a such problem. If i run the code as $python local_proxy.py There is an error like this: Traceback (most recent call...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.