Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I found it a bit jarring that it was possible to edit past output in the slime repl, so I messed around a bit & made the output read-only.
I should note that I don't know why
rear-nonsticky
was set asface
, and therefore the new value oft
is suspect: it doesn't seem to have changed anything visible & the tests all pass (except for one which fails even on the currentmaster
). However, I found that unless I changed the value forrear-nonsticky
, formatting withread-only t
would complain about some sort of "timer error" and never display the input prompt or cursor after any output had been written to the repl.I was also hoping to do the same for the results returned by functions instead of just printed output: after trying to make analogous changes to
slime-repl.el/slime-repl-emit-result
, I figured out that this function wasn't actually involved in emitting results. The function actually responsible isslime-presentations.el/slime-presentation-write-result
. Unfortunately trying the same trick makes the repl very slow to display evaluation results & seems to reset the font color.Anyways. I thought I'd submit what I had. Perhaps someone who knows what they're doing could finish the job for evaluation results?