In reference to this thread on the clojure-dev group:
http://groups.google.com/group/clojure-dev/browse_thread/thread/369734ff42cbb06a/cc9e30534c78b6b3?lnk=gst&q=sql+println#cc9e30534c78b6b3

Has there been any resolution?

I'm using clojure.contrib.sql and Emacs with clojure-swank.  When an
error is thrown in clojure.contrib.sql, it calls .println on *err*,
which is assumed to be a PrintWriter.  However, the documentation on
core states that *err* is merely a Writer, and indeed, clojure-swank
binds *err* as a StringWriter to pass to Emacs.  StringWriter doesn't
have .println, so it breaks.

The above thread suggests defining *err* as a PrintWriter instead of
as a Writer.  Has this been patched, and is it official?  If so, I'll
patch clojure-swank to use PrintWriter.  If not, I'll patch
clojure.contrib.sql to not use println.

Yes, this probably belongs in clojure-dev, but I wanted to make sure I
actually have something to contribute to Clojure before signing up.

Thanks,
Johnny

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