Re: user.clj not working with lein 2.0

2012-06-05 Thread Jim - FooBar();
On 05/06/12 18:17, Phil Hagelberg wrote: On Tue, Jun 5, 2012 at 10:00 AM, Jim - FooBar(); wrote: Ok I see... then why can I not use my debug-repl, which is located in init.clj ? It only works when I'm in the 'user' namespace...I think this worked perfectly ok in lein1...at any given time I coul

Re: user.clj not working with lein 2.0

2012-06-05 Thread Phil Hagelberg
On Tue, Jun 5, 2012 at 10:00 AM, Jim - FooBar(); wrote: > Ok I see... > then why can I not use my debug-repl, which is located in init.clj ? It only > works when I'm in the 'user' namespace...I think this worked perfectly ok in > lein1...at any given time I could do "(debug-repl)" and I would get

Re: user.clj not working with lein 2.0

2012-06-05 Thread Jim - FooBar();
On 05/06/12 18:00, Jim - FooBar(); wrote: On 05/06/12 17:10, Phil Hagelberg wrote: On Tue, Jun 5, 2012 at 5:20 AM, Jim - FooBar(); wrote: Does the :injections key replace the init.clj found in /.lein/? If I understood correctly, I had roughly the same problem...my code in init.clj (some debug

Re: user.clj not working with lein 2.0

2012-06-05 Thread Jim - FooBar();
On 05/06/12 17:10, Phil Hagelberg wrote: On Tue, Jun 5, 2012 at 5:20 AM, Jim - FooBar(); wrote: Does the :injections key replace the init.clj found in /.lein/? If I understood correctly, I had roughly the same problem...my code in init.clj (some debugging functions I always need available) is n

Re: user.clj not working with lein 2.0

2012-06-05 Thread Phil Hagelberg
On Tue, Jun 5, 2012 at 5:20 AM, Jim - FooBar(); wrote: > Does the :injections key replace the init.clj found in /.lein/? If I > understood correctly, I had roughly the same problem...my code in init.clj > (some debugging functions I always need available) is no more being loaded > with lein2...sho

Re: user.clj not working with lein 2.0

2012-06-05 Thread Jim - FooBar();
Does the :injections key replace the init.clj found in /.lein/? If I understood correctly, I had roughly the same problem...my code in init.clj (some debugging functions I always need available) is no more being loaded with lein2...should I use the :injections key instead? Thanks in advance...

Re: user.clj not working with lein 2.0

2012-06-04 Thread Warren Lynn
:injections works! slime works too (with slime-describe-symbol for doc). Thank you! On Jun 4, 11:05 pm, Phil Hagelberg wrote: > On Mon, Jun 4, 2012 at 5:55 PM, Warren Lynn wrote: > > (use 'clojure.repl) > > (use 'clojure.java.javadoc) > > > But now in the REPL I don't have clojure.repl namespace

Re: user.clj not working with lein 2.0

2012-06-04 Thread Phil Hagelberg
On Mon, Jun 4, 2012 at 5:55 PM, Warren Lynn wrote: > (use 'clojure.repl) > (use 'clojure.java.javadoc) > > But now in the REPL I don't have clojure.repl namespace available > anymore. Can anyone tell me why user.clj does not take effect anymore? > Thank you. Everything in clojure.repl has a nicer

user.clj not working with lein 2.0

2012-06-04 Thread Warren Lynn
Hi, I just started using lein version 2. Before (with lein 1.7), after running "lein swank" and connect with "slime-connect" in emacs, in my REPL i have clojure.repl included in "user" automatically namespace, because I have a file user.clj under ~/.lein with the following content: (use 'clojure.