Pretty-printing is very slow
When evaluating something that returns a huge object (e.g. a Guix operating system declaration), the REPL grinds to a halt, possibly because Emacs has issues with long lines.
To make matters worse, C-c C-k
(geiser-repl-interrupt
) is not very responsive in those cases.
I believe that SLIME / SLY don't suffer from this issue so badly, so there must be a way around it. For starter, maybe have a pretty-printer that breaks lines? Maybe better: since it's not very useful to pretty-print huge structures on a single line, why not print out an ellipsis after some character threshold and leave the user call the inspector (see #293 (moved)) to properly navigate the structure?