Thanks, that's a good idea and best of all, it's working for me! I didn't
know the Mx cd command to change default directory.
On Sep 3, 2011 9:40pm, Benny Tsai <benny.t...@gmail.com> wrote:
Sorry, what I meant to say in the last line is:
And as long as you start emacs somewhere in your lein project directory
(or "Mx cd" to it), you'll automatically be dropped into the main
namespace (if you have one defined via :main in project.clj), and the
other project namespaces will be available to (require ...) in your REPL
buffer.
On Saturday, September 3, 2011 7:32:28 PM UTC-6, Benny Tsai wrote:You can
set "lein repl" as your inferior lisp program via:
Mx describe-variableinferior-lisp-program
And as long as you start emacs somewhere in your lein project directory
(or "Mx cd" to it), you'll have all the libraries loaded in your REPL
buffer.
On Thursday, September 1, 2011 11:03:13 AM UTC-6, melipone wrote:I do
like "lein repl" on the command line. How can I have that in emacs?
Basically, if I have a project in Lein, how can I do a
(require 'projectname) and have all the libraries loaded in emacs?
I'm just using Mx inferior-lisp at this point. I find swank-clojure too
complex for right now. Maybe later.
TIA
melipone
--
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