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
SwankR and multiple values #2
Comments
Good question. How exactly are you evaluating that? (Sorry for the late response -- Happy New Year!) |
Well, I write the lines
in vim, and then mark and send them to swank: 000040(:emacs-rex (swank:listener-eval "1
2
3
") "R" :repl-thread 10) I get a result 000024(:write-string "[1] 1" :repl-result)000024(:write-string "[1] 2" :repl-result)000024(:write-string "[1] 3" :repl-result)000015(:return (:ok ()) 10) The "typical" swank in a CL puts a The output in the REPL looks like that:
Oh yes, happy new year to you, too! |
phmarek notifications@github.com writes:
Ah. In the analogous case I would use slime-eval-region, which wouldn't If I absolutely force a listener-eval, by typing ("1 2 3" -- or the same but with newlines -- isn't actually very legal Cheers, Christophe
|
Using swankr to evaluate
1\n2\n3\n
results is 3 times(:write-string...)
which will result in a REPL output of[1] 1[1] 2[1] 3
.Should swankr ignore intermediate values and only output the last, or should it do a newline inbetween?
The text was updated successfully, but these errors were encountered: