Connecting the Gnu to the Fox

For some time now various packages have been available to directly evaluate JS code written in Emacs in Mozilla -- without any reloading.

The newest approach is from Massimiliano Mirra called MozRepl. It promises to break us free from the write/save/restart/test cycle. What it currently does is this: You load/write a piece of Javascript code in Emacs, copy it into a Emacs buffer, send this buffer to the so-called JS shell server on the Mozilla end where the JS code is evaluated in a specific Mozilla window.

Further resources include:

JS Shell Server
Intro to JS Shell Server

Now, what from I can tell this just evaluates a piece of JS in some arbitrary Mozilla window. You cannot edit a specific JS source file in a running XUL application just yet. Now, would not that be cool? We really need a remote debugging protocol for Mozilla which includes manipulating JS objects and thus functions. I'd love to hear your comments on why this has not happened yet.

Trackbacks

    No Trackbacks

Comments

Display comments as (Linear | Threaded)

    No comments


Add Comment


Standard emoticons like :-) and ;-) are converted to images.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA 1CAPTCHA 2CAPTCHA 3CAPTCHA 4CAPTCHA 5