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 "M-x 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: > > M-x describe-variable > inferior-lisp-program > > And as long as you start emacs somewhere in your lein project directory (or > "M-x 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 M-x 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