Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
An all-in-one installer for Clojure on Windows. Includes syntax highlighting and the REPL, plus enhanced editing with Slime and all of Emacs.
Emacs Lisp Other
tree: 8682c360b1

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


{\rtf1\ansi\ansicpg1252\deff0\deflang1033\deflangfe1033{\fonttbl{\f0\fmodern\fprq1\fcharset0 Courier New;}}
{\colortbl ;\red0\green0\blue255;}
{\*\generator Msftedit;}\viewkind4\uc1\pard\nowidctlpar\b\f0\fs20 Clojure Box\par
\b0 An all-in-one Clojure environment built on Emacs and Slime\par
\ul Requirements\par
All you need is Java 1.5 or later. If Clojure Box can find java.exe on your system (usually it's in c:\\windows\\system32), it provides the rest.\par
\ul Components\par
Clojure Box consists of these components:\par
- Clojure\par
\pard   {\field{\*\fldinst{HYPERLINK ""}}{\fldrslt{\ul\cf1}}}\f0\fs20\par
- Clojure Contrib\par
  {\field{\*\fldinst{HYPERLINK ""}}{\fldrslt{\ul\cf1}}}\f0\fs20\par
- Emacs, via EmacsW32\par
  {\field{\*\fldinst{HYPERLINK ""}}{\fldrslt{\ul\cf1}}}\f0\fs20\par
- clojure-mode\par
  {\field{\*\fldinst{HYPERLINK ""}}{\fldrslt{\ul\cf1}}}\f0\fs20\par
- swank-clojure\par
  {\field{\*\fldinst{HYPERLINK ""}}{\fldrslt{\ul\cf1}}}\f0\fs20\par
- Slime\par
  {\field{\*\fldinst{HYPERLINK ""}}{\fldrslt{\ul\cf1}}}\f0\fs20\par
- Paredit\par
  {\field{\*\fldinst{HYPERLINK ""}}{\fldrslt{\ul\cf1}}}\f0\fs20\par
\pard\li245 Paredit is included for your convenience, but you\rquote ll have to activate   it in ~/.emacs. (require 'paredit)\par
Thanks to all the developers of these excellent packages!\par
\ul Customization\par
\ulnone Clojure Box's startup is controlled by default.el in the emacs\\site-lisp directory under the installation. You can put your own customizations in your .emacs file (these customizations will not be overwritten by future Clojure Box or Emacs installations). Type C-x C-f and enter ~/.emacs. Edit the file and save it with C-x C-s. ~ is the same as your HOME environment variable, or the application data directory under your user profile if you have no HOME.\par
To make your own code available to Clojure's import function, the easiest way is to put your source files under src and jars under lib in your project directory. Then run M-x swank-clojure-project and tell the prompt your directory.\par
Another way is to add jars or source directories to the classpath in your .emacs. To make c:/dev/project/src/a.clj and everything in c:/dev/my-lib.jar available, put this:\par
  (setq swank-clojure-classpath\par
     (list "c:/dev/project/src" "c:/dev/my-lib.jar"))\par
To add more, put them in the same list as above or add to that list:\par
  (add-to-list 'swank-clojure-classpath\par
You'll have to restart the REPL to make new jars available.\par
Emacs may not respect custom JAVA_HOME settings on Windows Vista 64-bit. If you\rquote re having trouble running the right Java, try specifying an absolute java.exe in ~/.emacs:\par
  (setq swank-clojure-java-path\par
    "\\"c:/program files/java/XXXXX/java.exe\\"")\par
\ul Inno Setup Source\ulnone\par
The installer is built with Inno Setup v5.3.10. The installer source file is included with Clojure Box. You can also get it from {\field{\*\fldinst{HYPERLINK ""}}{\fldrslt{\ul\cf1}}}\f0\fs20 .\par
Something went wrong with that request. Please try again.