Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to redirect program output to the *nrepl* buffer #217

Closed
dkincaid opened this issue Jan 12, 2013 · 4 comments
Closed

Unable to redirect program output to the *nrepl* buffer #217

dkincaid opened this issue Jan 12, 2013 · 4 comments

Comments

@dkincaid
Copy link

When working with Cascalog (and I'm sure other libraries as well) it is necessary to be able to redirect the output into the nrepl buffer that you're working in. The following code was used in slime/swank to do this:

(-> (Logger/getRootLogger)
      (.addAppender (WriterAppender. (SimpleLayout.) *out*)))
  (System/setOut (PrintStream. (WriterOutputStream. *out*)))

This isn't working with nREPL.el. The output (most of it anyway) is going into nrepl-server buffer instead.

@sorenmacbeth
Copy link

Here's a link to a detailed discussion of this issue:

https://groups.google.com/d/topic/nrepl-el/CSFOY27te6Q/discussion

@sorenmacbeth
Copy link

FYI, This works for me now with lein 2.0.0 final and nrepl.el 0.1.6

@kingtim
Copy link
Member

kingtim commented Feb 2, 2013

👍

@dkincaid
Copy link
Author

dkincaid commented Feb 2, 2013

Very nice! Working here too. Awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants