2

When using Emacs with the Cider plug-in, moving inside the REPL buffer gets incredibly slow, when there was accidently printed a huge amount of output to the REPL buffer.

  • Is there a way to configure Leiningen (or nrepl?) to limit the number of lines that are allowed to be printed by one evaluation in the repl?
  • Is there maybe a way to let Emacs clear the buffer after the output happened?

Thanks in advance!

Anton Harald
  • 5,772
  • 4
  • 27
  • 61

1 Answers1

3

Have you tried setting *print-length*? See this documentation and search for 'Limiting output in the REPL'.

Iain
  • 300
  • 2
  • 13
Michiel Borkent
  • 34,228
  • 15
  • 86
  • 149