[ Not sure about who I'm supposed to ask this to. Feel free to add/remove people from the To: and Cc: lists ]
Hi, I'm evaluating Pymacs to write an interface to bzr (a revision control system written in python) for Emacs. I'm a beginner in Python which makes it more difficult ;-). First, I have a problem installing Pymacs. See: $ python2.4 setup.py install running install error: invalid Python installation: unable to open /usr/lib/python2.4/config/Makefile (No such file or directory) (bzr requires python 2.4, but python 2.3 does the same). $ uname -a Linux chezmoi 2.6.11-1-686 #1 Mon Jun 20 22:00:38 MDT 2005 i686 GNU/Linux $ cat /etc/debian_version testing/unstable Well, I've installed the .deb package for python 2.3 to experiment a bit. It works, it's impressively simple ;-). I have one blocking problem: pymacs calls are synchronous, so, for long operations (calls to bzr functions will take a few seconds, or more when accessing remote branches), this freezes Emacs for some time. I suppose a workaround would be to launch a new thread on the python side, so that the lisp function returns immediately, and the new thread would call back the lisp side when finished. However, according to the manual[1], this is not supposed to work since Emacs will not be waiting from the python process at this time. I've tried it to be sure, and it actually doesn't work :-(. Do you think it is currently possible to make asynchronous calls with Pymacs ? Will this be supported in the future ? Thanks for your help, -- Matthieu
