Greetings,

Wow, thank you all so much for the insightful responses to my inquiry!
I really appreciate the supportive community.
I developed a small web app in Clooj over the weekend and was very
impressed by it! A very cool idea to write the IDE for the language,
in the language, with the essential powerful and useful features and
no cruft at all. Nice tool!

@Michael Jaaka I like your attitude toward this - that when there is
an effective IDE tailored to the language, then the language will
flourish, and that Clooj in the future could play the same role for
Clojure as Eclipse and Netbeans did for Java (in making it accessible
and usable for a generation of programmers).

I haven't touched Clojure for about a year and I am so impressed with
all that has happened in it's development since then. It is a
technology with a bright future for sure!

I will keep battling with the Emacs setup, thanks again for the
support.

Best,
Curran

On Sep 11, 5:13 am, Sean Toner <placeofthe...@gmail.com> wrote:
> Hi Curran,
>
> I'm in the process of learning Clojure and emacs as well and have run
> into a bit of difficulty as well, though I have a slightly different
> problem.  I grabbed the 23.3 version of emacs from their ftp site and
> did NOT use the emacs starter kit.  I discovered that the version of
> package.el that came with the emacs starter kit (at least the non git
> pulled one) was not playing nice with a few things.  So instead, I
> just copied the package.el from the marmalade website and followed the
> instructions there (http://marmalade-repo.org).
>
> Once package.el and marmalade were set up (package.el in my ~/.emacs.d
> folder, and the appropriate load code in my ~/.emacs file), I was
> ready to load clojure-mode.  Just do:
>
> M-x package-refresh-contents
> M-x package-install
>
> And when prompted, type in clojure-mode and hit enter.  That should
> install clojure-mode for you.  And then finally, if you want to use
> clojure-jack-in, make sure you have both leiningen and the swank-
> clojure plugin installed.  Leiningen was pretty easy to install, just
> go tohttps://github.com/technomancy/leiningen and follow the
> instructions.  Once leiningen is installed and set in your $PATH, then
> you can install the swank-clojure plugin.
>
> lein plugin install swank-clojure "1.3.2"
>
> Now that you have leiningen, you can create a simple project with
> 'lein new my_clj_project', and it will generate a skeleton project for
> you.  Since leiningen uses some Maven under the covers, it uses the
> maven-style convention of putting your source code under the src
> folder, and your namespaces are named starting from that path
> directory.
>
> Once you have a simple clojure file, you can try out the swank
> server.  In emacs, you "visit" a file:
>
> C-x C-f
>
> And in the minibuffer, you can type the path to your file (it has some
> nifty code completion).  Or if you prefer, you can hit C-F10 to open
> the menu bar (if it's not there already), and just click Open and
> browse to your file.  Once the file is open in a buffer in emacs, now
> you can try to connect to swank.
>
> M-x clojure-jack-in
>
> If all goes well, you should see the swank server start up on port
> 4005 and you will have a REPL to play in.  There should be a buffer
> called *swank* with messages from the swank server if it connected or
> not.
>
> My problem however is that I can't seem to load my namespace(s) into
> the swank REPL.  I tried C-c C-l, but that only seemed to load some
> definitions from my namespace (it didn't load any of my
> (defrecords ...) I noticed).  I tried in the REPL to do a (use
> 'my_project.myfile), but that still didn't appear to load anything
> from my namespace.  Not being able to load namespaces from my
> leiningen project makes the swank REPL nearly useless to me.  I can
> easily start a REPL through the command line with just the clojure jar
> or with the clojure plugin for jEdit.  I suppose I could highlight all
> my code and eval it, but that seems silly.
>
> But anyway, hope that helps some.  And, now a shameless plug....feel
> free to drop by my little blog sitehttp://underaboddhitree.blogspot.com.
> It's a little of everything, but mostly geared towards python and my
> learning experience with clojure.  I think that most blogs you see
> come from the Clojure masters...but sometimes I think they may have
> lost sight of a new clojurian's experience.  I have no lisp
> background, except a 3 week crash course on lisp in my AI class in
> college several years ago.  I also have zero experience with emacs
> except the last 2 weeks or so.  Nor am I a functional master in any
> regard, and Clojure is the first functional language I have started to
> learn.
>
> But for me, the reward is worth the challenge.
>
> On Sep 10, 11:29 am, Curran <curran.kelle...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Greetings,
>
> > I would greatly appreciate any guidance on where to find a working and
> > complete set of instructions for how to set up Emacs with swank-
> > clojure. I am in Ubuntu.
>
> > I have followed exactly every step of the instructions on this 
> > pagehttp://dev.clojure.org/display/doc/Getting+Started+with+Emacs, and
> > also (with a fresh install of Emacs) the version using Git in the
> > comment on that page by Martin Blais. With both methods, when I
> > execute "M-x clojure-jack-in", the message "Starting swank server"
> > appears and hangs. Swank never starts, the message never changes, and
> > I don't see any error messages anywhere (not sure where to look, maybe
> > I'm missing them?).
>
> > I really would like to use Clojure for a significant project, but if I
> > can't get the dev environment working I'm hosed.
>
> > Also, if I can't get Emacs going, would anyone suggest an alternative
> > development tool? (I know there are lots, but I don't know which to
> > try first).
>
> > Thank you very much.
>
> > Best regards,
> > Curran

-- 
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

Reply via email to