While I don't *think* this is the right answer, it does make it clear
what's wrong -- the module isn't in globals() (or locals(), or some
module-specific dict) for the "argument = eval(text)" in
Protocol.loop -- and this does show that fixing that problem makes
things (somewhat) work...

--- pymacs.py   2003-05-16 14:03:07.000000000 -0400
+++ /usr/lib/python2.3/site-packages/Pymacs/pymacs.py   2005-04-26 
15:09:33.000000000 -0400
@@ -185,6 +185,7 @@
                if directory:
                    sys.path.insert(0, directory)
                object = __import__(module_name)
+                globals()[module_name] = sys.modules[module_name]
            finally:
                if directory:
                    del sys.path[0]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to