interfacing python with emacs

A

Andrea Crotti

I decided that I finally want to get auto-completion and other really cool things for my python/emacs environment.

Rope also looks really great and being able to refactor easily would really be a dream :) (no more excuses from java developers then)
http://rope.sourceforge.net/

Pymacs is already there and working, but it gives me many concerns, so I would like to rewrite something simple and small.

Should not be too hard, I just need a server on the python side and a small protocol.
So here it comes the first question, how would you make them communicate?

In Pymacs was just read and write from stdin/out, but maybe there are better ways.
Probably a pipe would be more suited, and maybe even sockets would be nice.

But considering how it should be used maybe it doesn't help so much.

And what about the protocol? What could be a minimal useful set of operations to do?
In the beginning I'll just evaluate python code and get the output, but eventually I want to be able to call python functions as they were elisp functions, which is the main goal.

As soon as there is something working I'll publish it on github, so that anyone interested can help/criticize...
Thanks,
Andrea
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top