<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>Il giorno 17/feb/2011, alle ore 16.14, andrea crotti ha scritto:</div><br class="Apple-interchange-newline"><blockquote type="cite">Not ready yet but the structure of the python and elisp files is more or less there:<br>git://<a href="http://github.com/AndreaCrotti/empathy.git">github.com/AndreaCrotti/empathy.git</a><br><br>Feel welcome for any comments/hints.<br>
<br>About the communication between the processes I think I'll use stdin/out too, since it comes quite natural using emacs sub-processes.<br><br>At the moment I'm only reading a line at a time, but probably I should send an EOF somehow from the emacs side, and then I could simply use read() every time on stdin.</blockquote><br></div><div>Changed name due to a clash (and before I didn't give the right url)</div><div><a href="https://github.com/AndreaCrotti/empity">https://github.com/AndreaCrotti/empity</a></div><div><br></div><div>I'll update news here whenever it's really testable.</div><div>Quick question, is it correct to load dynamically modules like this?</div><div><br></div><div><div>    def handle_load(self, mod):</div><div>        try:</div><div>            info = imp.find_module(mod)</div><div>        except ImportError:</div><div>            self.send("module not found")</div><div>        else:</div><div>            imp.load_module(mod, *info)</div><div><br></div><div><br></div><div>And in the "imp" module it says</div><div>"    This module provides the components needed to build your own</div><div><div>    __import__ function.  Undocumented functions are obsolete."</div></div><div><br></div><div>Isn't there a better way (a warning when called) to inform that something is obsolete?</div><div><br></div></div></body></html>