SublimeREPL icon indicating copy to clipboard operation
SublimeREPL copied to clipboard

clojure evaluation

Open romainonweb opened this issue 13 years ago • 1 comments

Hello,

When I evaluate the line (+ 2 4 ), I obtain: user=> (binding ns (or (find-ns 'myproject.core) (find-ns 'user))) 6

What I would like to obtain is user=> (+ 2 4) (+ 2 4) 6 user=>

I can send the text with transfer to repl, but it does not auto evaluate nor the focus is not on repl window.

Is there an option to change the evaluation mode ?

romainonweb avatar Sep 11 '13 22:09 romainonweb

Hi, @Nollo.

Your issue was discussed thoroughly in the two-part issue #212. I agree with you, this behavior should be optional, not forced on everyone trying to eval Clojure every time. While the functionality is helpful, it's not everyone's cup of tea.

@lionandoil, per our discussion in #212, would you be willing to make you namespace wrapping optional based on a user preference? This is would be separate from the notion of "hiding" the namespace wrapping, and would just simply eval only what the user has sent to the REPL.

mason-stewart avatar Sep 12 '13 15:09 mason-stewart