Hy everyone, I've successfully installed clojure-mode, slime, slime-repl within Emacs. I start a swank server with "lein swank" and hang slime to it with "slime-connect". I can use the SLIME REPL to evaluating Clojure expression within the REPL. How can I eval a single s-exp or a whole file (a.k.a I want to run a Clojure file withing Emacs and see the output in a dedicated frame or in the repl) showing the answer in the SLIME REPL?
For example I define a simple binding in a .clj file within my project directory:
(def my-bind [1 2 3])
Now I want SLIME to eval this expression in the repl, so if in the repl I write:
(first my-bind)
I want to obtain 1. How can I do?
Thanks A.