emacs

Consider also joining #cider, #lsp and #inf-clojure, where most of the tool-specific discussions are happening.
naomarik 2021-05-11T17:45:35.230Z

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.

2021-05-11T17:54:47.231100Z

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.

practicalli-john 2021-05-11T18:07:01.231400Z

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.html

naomarik 2021-05-11T18:10:36.231600Z

Thanks @jr0cket, setting size limit seems to work.

👍 1