Re: Proposal: remove auto-load of user.clj

2009-03-09 Thread Raffael Cavallaro
On Mar 9, 3:16 pm, MikeM wrote: > From the original post: "A command line option for loading user.clj > could be added for > repl usage." The whole discussion is about what the default should be since obviously one could make either behavior optional via command line switches. Since a majori

Re: Proposal: remove auto-load of user.clj

2009-03-09 Thread Cosmin Stejerean
On Mon, Mar 9, 2009 at 2:16 PM, MikeM wrote: > > > > On Mar 9, 2:18 pm, Raffael Cavallaro > wrote: > > On Mar 9, 10:58 am, MikeM wrote: > > > > > Could you share what benefits you get by the auto-load of user.clj > > > early in the launch process? > > > > It allows the automatic loading of devel

Re: Proposal: remove auto-load of user.clj

2009-03-09 Thread MikeM
On Mar 9, 2:18 pm, Raffael Cavallaro wrote: > On Mar 9, 10:58 am, MikeM wrote: > > > Could you share what benefits you get by the auto-load of user.clj > > early in the launch process? > > It allows the automatic loading of development utilities with each > repl launch. > > It gets tiresome ha

Re: Proposal: remove auto-load of user.clj

2009-03-09 Thread Raffael Cavallaro
On Mar 9, 10:58 am, MikeM wrote: > Could you share what benefits you get by the auto-load of user.clj > early in the launch process? It allows the automatic loading of development utilities with each repl launch. It gets tiresome having to always do: (load "my-uils") (or, equivalently, (lo

Re: Proposal: remove auto-load of user.clj

2009-03-09 Thread MikeM
> Every launch of Clojure has the opportunity to specify a classpath to   > use. Since user.clj is loaded from classpath, it seems to me that's a   > sufficient mechanism to avoid loading a given user.clj for a given   > launch of Clojure. Sure, I can definitely control the loading of user.clj

Re: Proposal: remove auto-load of user.clj

2009-03-06 Thread Stephen C. Gilardi
On Mar 6, 2009, at 8:08 AM, MikeM wrote: I know I can avoid the problem by either not having a user.clj, or not having defmethods in user.clj, but it seems more straightforward to have a command-line option rather than have such restrictions. Every launch of Clojure has the opportunity to spe

Re: Proposal: remove auto-load of user.clj

2009-03-06 Thread MikeM
> How about removing it from the RT static init and into the REPL function? > I think that would work and it would be transparent for repl users. A command line option to not load user.clj might be nice to have in this case. --~--~-~--~~~---~--~~ You received thi

Re: Proposal: remove auto-load of user.clj

2009-03-06 Thread Paul Stadig
How about removing it from the RT static init and into the REPL function? Paul On 3/6/09, MikeM wrote: > > Currently, user.clj is loaded automatically during Clojure boot (in RT > static init). I think this is done as a convenience for repl usage, > since other apps could easily include a 'l

Proposal: remove auto-load of user.clj

2009-03-06 Thread MikeM
Currently, user.clj is loaded automatically during Clojure boot (in RT static init). I think this is done as a convenience for repl usage, since other apps could easily include a 'load' 'require' or 'use' of whatever is needed. I am proposing that auto-loading of user.clj be removed. A command li