* OPEN #9 help and ? to produce help buffers :WISHLIST:
Not like ESS, though: that works by looking at the user's input with
a regexp. Use slime-media?
-* OPEN #10 0 or more than 1 exprs at REPL :MINOR:
+* RESOLVED #10 0 or more than 1 exprs at REPL :MINOR:FIXED:
Entering 0 exprs (whitespace or the empty string) at the REPL gives
an error from `swank:listener-eval`, which subscripts the parse tree
with index 1. (Entering more than one simply ignores all after the
`swank:listener-eval` <- function(slimeConnection, sldbState, string) {
## O how ugly
string <- gsub("#\\.\\(swank:lookup-presented-object-or-lose([^)]*)\\)", ".(`swank:lookup-presented-object-or-lose`(slimeConnection, sldbState,\\1))", string)
- expr <- parse(text=string)[[1]]
- ## O maybe this is even uglier
- lookedup <- do.call("bquote", list(expr))
- tmp <- withVisible(eval(lookedup, envir = globalenv()))
- if(tmp$visible) {
- sendReplResultFunction(slimeConnection, tmp$value)
+ for(expr in parse(text=string)) {
+ expr <- expr
+ ## O maybe this is even uglier
+ lookedup <- do.call("bquote", list(expr))
+ tmp <- withVisible(eval(lookedup, envir = globalenv()))
+ if(tmp$visible) {
+ sendReplResultFunction(slimeConnection, tmp$value)
+ }
}
list()
}