Elnode works as an HTTP server. It shouldn't be too hard to build a handler that receives JSON or XML or whatever you like, unpacks it and does something interesting. Elnode includes an example handler called "insideout" that publishes the buffer list of the emacs instance via http.
If you browse to localhost:8028/ you get an HTML page that gives an itemized list of the active buffers. Starting with that you could do something interesting I suppose. For example, you could build a handler that slurps in and emits json, using Edward O'Connor's json.el.
Thanks I guess this combined with emacswiki. Org/emacs/UrlPackage for the client part will work... – Naveen May 12 at 13:01 I used elnode with json. El: github.Com/tinku99/elisp_rpc – Naveen Oct 10 at 4:42 it's great to see people recommending Elnode!
I hope to add an implementation of JSON-RPC to Elnode soon. – nic ferrier Nov 26 at 20:53.
One issue with using Emacs as an rpc server would be the lack of threading in Emacs. The Distel library "extends Emacs Lisp with Erlang-style processes and message passing"; so, you can use it to provide an rpc mechanism. A while back, I wrote a number of blog posts on Distel: Distel = Erlang-like Concurrency in Emacs Distel = Emacs erlang-mode++ Concurrent/Parallel Programming - The Next Generation - Part 2 (the bottom of that post) They will give you a bit of a "feel" for what it's like to use Distel in Emacs.
I found this stompl implementation also https://github. Com/jwhitlark/Stompem/blob/master/stompem. El I wonder how hard it would be to write a zeromq or rabbitmq implementation in emacs.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.