Clojure Box, alpha

151 views
Skip to first unread message

Shawn Hoover

unread,
Nov 23, 2008, 7:39:11 PM11/23/08
to clo...@googlegroups.com
Here's a first pass at a Windows installer for a Clojure environment in Emacs: http://clojure.bighugh.com/clojure-box-r1109-setup.exe.

The general idea is that of the Lispbox: you simply install and run this one thing, and you get a REPL and all the syntax and editing goodies from clojure-mode and Slime.

Specifically this version of the installer packages the following components:
- Clojure source and jar from svn r1110
- Clojure Contrib source and jar from svn r253
- Compatible clojure-mode and swank-clojure from github.com/jochu
- Latest patched EmacsW32 from ourcomments.org
- A tiny bit of Emacs startup to set up clojure-mode and start a Slime REPL

It associates .clj files with Emacs. There are options for adding shortcuts in the standard locations.

The best I could do for now was 29MB in size.

I still would like to add icons, the javadoc elisp functions that have been floating around on the group lately, and other handy tools like a shortcut to launch a REPL or script in a shell. When Clojure is released, I will make a version based on that release.

Give it a whirl!

Shawn

Dmitry Neverov

unread,
Nov 24, 2008, 12:32:40 AM11/24/08
to clo...@googlegroups.com
Great work!
Thanks!

2008/11/24 Shawn Hoover <shawn....@gmail.com>:

mosi

unread,
Nov 24, 2008, 9:50:13 AM11/24/08
to Clojure
Hi,
thank you in the name of all noobz who, like me, just want to have a
quick ride with closure.
The installation worked almost perfectly.
The dialog window: outside Emacs, waiting for connection to server ...
(swank) didn`t finish.
The result: no response from server. What is the purpose of the
dialog?

Your clojurebox Emacs runs great with swank, slime and closure.

Thanx a lot!
Best regards,
mosi

Shawn Hoover

unread,
Nov 24, 2008, 11:36:32 AM11/24/08
to clo...@googlegroups.com
On Mon, Nov 24, 2008 at 9:50 AM, mosi <skaw...@gmail.com> wrote:

Hi,
thank you in the name of all noobz who, like me, just want to have a
quick ride with closure.
The installation worked almost perfectly.
The dialog window: outside Emacs, waiting for connection to server ...
(swank) didn`t finish.
The result: no response from server. What is the purpose of the
dialog?

Your clojurebox Emacs runs great with swank, slime and closure.

Thanx a lot!
Best regards,
mosi

Mosi, I'm not sure exactly what dialog you're seeing, but perhaps there is a problem launching Clojure Box at the end of the installer. I'll try a tweak in the next version. Either way, I'm glad to hear it works for you.

Shawn

Shawn

unread,
Nov 30, 2008, 10:54:25 AM11/30/08
to Clojure
On Nov 23, 7:39 pm, "Shawn Hoover" <shawn.hoo...@gmail.com> wrote:
> Here's a first pass at a Windows installer for a Clojure environment in
> Emacs:http://clojure.bighugh.com/clojure-box-r1109-setup.exe.

There's a new version up with a few tweaks. The most helpful change
was a fix to allow swank to pick up all your jars under ~/.clojure and
put them on the java classpath.

You can just get the newest from http://clojure.bighugh.com.

Shawn

bOR_

unread,
Jan 5, 2009, 4:24:20 PM1/5/09
to Clojure
Just downloaded clojurebox and it installs like a charm here (windows
vista business). It looks like I am stuck with windows at my new
workspace (just had my first day of work there), so to have clojurebox
was a nice thing. One question is how I would go about to setting up a
emacs --daemon and emacsclient combination in clojurebox? Being able
to detach and quit the emacs client and later on connect back to it
saves me from accidentally stopping a long simulation in windows
because I quitted the emacs program.

Currently if I try to C-x #, I get the message "No server editing
buffers exist"

Shawn Hoover

unread,
Jan 5, 2009, 5:43:30 PM1/5/09
to clo...@googlegroups.com
On Mon, Jan 5, 2009 at 4:24 PM, bOR_ <boris....@gmail.com> wrote:

Just downloaded clojurebox and it installs like a charm here (windows
vista business). It looks like I am stuck with windows at my new
workspace (just had my first day of work there), so to have clojurebox
was a nice thing. One question is how I would go about to setting up a
emacs --daemon and emacsclient combination in clojurebox? Being able
to detach and quit the emacs client and later on connect back to it
saves me from accidentally stopping a long simulation in windows
because I quitted the emacs program.

Currently if I try to C-x #, I get the message "No server editing
buffers exist"

The emacs that you start with the Clojure Box icon becomes a server, but it has no clients waiting on it. If you later run c:\Program Files\Clojure Box\emacs\emacs\bin\emacsclient.exe from the command line or as an editor for a program like subversion, the file to edit will pop up in the Clojure Box and you can use C-x #. Does that help?

Shawn

bOR_

unread,
Jan 15, 2009, 4:57:44 PM1/15/09
to Clojure
Sort of got distracted and stopped paying attention to getting that to
run. I'll report when I get to it and learn more :).

On Jan 5, 11:43 pm, "Shawn Hoover" <shawn.hoo...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages