Hello,

As detailed in Bradford Cross' blog, (http://
measuringmeasures.blogspot.com/2010/01/agony-of-clojurehadoop-logging-
and-how.html) the rebinding of *out* done in the swank/slime repl can
be very confusing to folk who don't already know slime. This is
because so many java libraries output to stdout. And within Clojure it
is very easy to have output happening on a different threads where
*out* is still bound stdout which all goes to the *inferior-lisp*
buffer (usually hidden) not the repl.

The helpful advice given in comments on the blog post is to use "slime-
redirect-inferior-output". With that all stdout ends up in the repl
buffer.

A direct result of all the effort to make it very easy to get up and
running with emacs/slime/swank/clojure is that many folk inexperienced
with slime will be encountering it for the first time using clojure
(like me for instance).

Might I suggest that "slime-redirect-inferior-output" be the default
for swank-clojure-project?  That is much less surprising to newbies
who don't yet know about *out*, thread bindings, and swank/slime's
rebinding of *out* in the clojure repl.

Thanks,
Alex  Stoddard
-- 
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