Closed lsgrep closed 9 years ago
maybe this is caused by cnREPL version 0.2.6. I am checking my deps tree.
nREPL 0.2.6 will be pulled in by your lein version - there shouldn't be a problem with it even though CIDER snapshot does currently warn for < 0.2.7.
So just to clarify: cider-eval-last-sexp
works, but cider-pprint-eval-last-sexp
does not? Please will you see if evaluating the same expression at the REPL works, with cider-repl-use-pretty-printing
set to both nil
and t
?
cider-eval-last-sexp works, but cider-pprint-eval-last-sexp does not. Yes. This is my problem.
scholar.main> (sh "ls" "-aul")
CompilerException java.lang.RuntimeException: Unable to resolve symbol: sh in this context, compiling:(/private/var/folders/z9/tyv17gbs1cj8p0tp7d2y_fph0000gn/T/form-init6708467975754434630.clj:1:1)
2.Setting "cider-repl-use-pretty-printing" t or nil didnot make any difference. Nothing changed, including REPL.
it's 11:50 here. I have to sleep. Thanks for your response. @cichli If anything else required for this issue, please leave a comment. I will reply in the morning.
You should load the buffer (C-c C-b
or C-c C-k
) and then switch to its namespace in the REPL (C-c M-n
) first :-).
This is not an issue then .Got it. Thanks for you help.
Problem solved. It is merely my own misunderstanding of loading process.
Glad to be of help!