[slime-devel] [PATCH] improvement to repl history

I noticed that when you scroll through the history in the slime REPL, when you reach the end it doesn't clear the commandline, as bash and other shells do. I think this is rather inconvenient, so I patched it up. I made it so there's a blank space at the beginning, too, just because. No reason not to. I added a customization setting under Repl, that defaults to NIL. When it's true, the history will wrap around when the end is reached and you keep going. Chris Capel

Chris Capel <pdf23ds@gmail.com> writes:
I noticed that when you scroll through the history in the slime REPL, when you reach the end it doesn't clear the commandline, as bash and other shells do. I think this is rather inconvenient, so I patched it up. I made it so there's a blank space at the beginning, too, just because. No reason not to.
Thank you for the patch. I applied this part.
I added a customization setting under Repl, that defaults to NIL. When it's true, the history will wrap around when the end is reached and you keep going.
I don't like wrap around, so I left this part out to keep the code simpler. We can re-add it if someone feels strong about this feature. BTW, I would appreciate if you could include a ChangeLog entry for your patches. Also, try to avoid "-do-" in function names which don't iterate. Helmut.
participants (2)
-
Chris Capel
-
Helmut Eller