On Fri, Apr 16, 2010 at 7:00 AM, Aaron Cohen <remled...@gmail.com> wrote:
> This is actually a fairly good bug report, I think.
>
> If you look in clojure.main, the "eval-opt" fuction uses
> "with-in-str", which unnecessarily interferes with using *in* within
> the expression you are trying to evaluate. I was actually running into
> this while trying to make a "lein repl" in clojure rather than in the
> shell script.
>
> One way to fix it would be to replace it like in this gist:
> http://gist.github.com/368018.

I tested out this fix and it seems to work great.

We've actually had a bug in Leiningen with a fairly tacky workaround
that was caused by this bug, so I'd love to see it fixed in Clojure.
I've created a ticket and patch:

http://www.assembla.com/spaces/clojure/tickets/299-clojure-main--e-disables-stdin

thanks,
Phil

-- 
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

Reply via email to