I'm far from an expert, but clojurebox uses slime for the REPL. I believe that what you are going to want is to use:
lein swank to start a local swank server, then start emacs and M-x slime-connect typically, the default connection params (localhost, port 4005) should work to get you connected to your project. Please correct me if I'm wrong. -s On Fri, Jun 3, 2011 at 8:10 PM, Bhinderwala, Shoeb < sabhinderw...@wellington.com> wrote: > No I am using Windows. > > I guess the most pressing problem for me is how to synchronize clojurebox > with an existing leiningen project. I want the clojurebox REPL to behave > just like the lein REPL in terms of classpath and jars loaded, etc. How do I > configure the clojrurebox REPL for this? > > Thanks > Shoeb > > ------------------------------ > *From:* clojure@googlegroups.com [mailto:clojure@googlegroups.com] *On > Behalf Of *Vijay Kiran > *Sent:* Friday, June 03, 2011 4:43 PM > *To:* clojure@googlegroups.com > *Subject:* Re: Clojurebox/emacs setup > > Hi Shoeb, > > I'm not sure if you use mac, but here's the setup I've been using > successfully: > > 1. Installed emacs > 2. Installed the emacs-starter-kit ( > https://github.com/technomancy/emacs-starter-kit) > 3. And then followed the http://technomancy.us/149 > > The clojure-jack-in mode does all the necessary actions and even starts the > repl in another "window" of Emacs. > > For color modes I use a Mac, so on the Terminal I use the Solarized Dark > theme, so it is used for Emacs as well. > > Make sure that you either change to the directory in which you have the > lein project before you call clojure-jack-in. > > ./Vijay > > On Jun 3, 2011, at 9:26 PM, Bhinderwala, Shoeb wrote: > > I am extremely new to Emacs. Been a long time Vim user. > > I have installed Clojurebox and am able to get it running easily. Can > someone help me with the following: > > 1. I have a leningen project that I am working with. I usually do a lein > repl in the project directory and all the jars in the lib path are > automatically added to the classpath of the REPL. How can I do the same with > clojurebox? Everytime I load a clojure file, I get exceptions saying classes > not found on classpath. Basically, I want the REPL in clojurebox have the > exact load behaviour of the lein repl. > > 2. How do I load a clojure file, compile it and then launch a REPL that has > the file loaded? So that I can exercise my functions in the REPL? > > 3. How do I change color scheme to a dark color scheme? I googled and found > the website ColorTheme > (*http://www.nongnu.org/color-theme/*<http://www.nongnu.org/color-theme/>) > but the download link is broken: * > http://download.savannah.nongnu.org/releases/color-theme/*<http://download.savannah.nongnu.org/releases/color-theme/> > > In short I am looking for very straightforward clear instructions for > someone who is brand new to emacs with clojurebox running > swank-clojure/slime/paredit. > > > *-- Shoeb* > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en