Skip to content

HTTPS clone URL

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.
lisp
web
.hgignore
README.rtf
clojure-box-setup.iss
default.el
make-test.sh
post-install.txt
refresh-sources.bat
test.clj

README.rtf

{\rtf1\ansi\ansicpg1252\deff0\deflang1033\deflangfe1033{\fonttbl{\f0\fmodern\fprq1\fcharset0 Courier New;}}
{\colortbl ;\red0\green0\blue255;}
{\*\generator Msftedit 5.41.21.2509;}\viewkind4\uc1\pard\nowidctlpar\b\f0\fs20 Clojure Box\par
\b0 An all-in-one Clojure environment built on Emacs and Slime\par
\par
\ul Requirements\par
\ulnone\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
\par
\ul Components\par
\ulnone\par
Clojure Box consists of these components:\par
\par
- Clojure\par
\pard   {\field{\*\fldinst{HYPERLINK "http://clojure.org"}}{\fldrslt{\ul\cf1 http://clojure.org}}}\f0\fs20\par
- Clojure Contrib\par
  {\field{\*\fldinst{HYPERLINK "http://clojure.org"}}{\fldrslt{\ul\cf1 http://clojure.org}}}\f0\fs20\par
- Emacs, via EmacsW32\par
  {\field{\*\fldinst{HYPERLINK "http://ourcomments.org/Emacs/EmacsW32.html"}}{\fldrslt{\ul\cf1 http://ourcomments.org/Emacs/EmacsW32.html}}}\f0\fs20\par
- clojure-mode\par
  {\field{\*\fldinst{HYPERLINK "http://github.com/technomancy/clojure-mode"}}{\fldrslt{\ul\cf1 http://github.com/technomancy/clojure-mode}}}\f0\fs20\par
- swank-clojure\par
  {\field{\*\fldinst{HYPERLINK "http://github.com/technomancy/swank-clojure"}}{\fldrslt{\ul\cf1 http://github.com/technomancy/swank-clojure}}}\f0\fs20\par
- Slime\par
  {\field{\*\fldinst{HYPERLINK "http://common-lisp.net/project/slime/"}}{\fldrslt{\ul\cf1 http://common-lisp.net/project/slime/}}}\f0\fs20\par
- Paredit\par
  {\field{\*\fldinst{HYPERLINK "http://mumble.net/~campbell/emacs/paredit.el"}}{\fldrslt{\ul\cf1 http://mumble.net/~campbell/emacs/paredit.el}}}\f0\fs20\par
\pard\li245 Paredit is included for your convenience, but you\rquote ll have to activate   it in ~/.emacs. (require 'paredit)\par
\pard\nowidctlpar\par
Thanks to all the developers of these excellent packages!\par
\par
\ul Customization\par
\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
\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
\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
\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
    "c:/dev/my-lib-c/src")\par
\par
You'll have to restart the REPL to make new jars available.\par
\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
\par
\ul Inno Setup Source\ulnone\par
\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 "http://bitbucket.org/shoover/clojure-box-setup"}}{\fldrslt{\ul\cf1 http://bitbucket.org/shoover/clojure-box-setup}}}\f0\fs20 .\par
\par
}
Something went wrong with that request. Please try again.