Can anyone point me to settings to tweak so that printing large lines in the REPL doesn't lock up emacs? My M1 Mac seems very prone to this, hardly ever happens to me on in WSL2.
i’ve been using https://github.com/railwaycat/homebrew-emacsmacport on an m1, and haven’t had any performance issues. I can’t say specifically about large lines specifically though.
Setting the repl buffer size may help with the issue
(setq cider-repl-buffer-size-limit 100)
You may want to experiment with the right number for you. I dont use the REPL for meaningful output so I have it quite low
If you are using the REPL to browse evaluation results, suggest using the cider-inspector instead as it can handle very large amounts of data, e.g.
https://practicalli.github.io/spacemacs/evaluating-clojure/inspect.htmlThanks @jr0cket, setting size limit seems to work.