cider icon indicating copy to clipboard operation
cider copied to clipboard

Use lower nREPL print quotas for interactive evaluation

Open vemv opened this issue 5 months ago • 5 comments

Fixes https://github.com/clojure-emacs/cider/issues/3633

Seems to work nicely (per the nrepl logs, and evaluating some huge objects).

Marking the PR as draft as I'll want to test out the defuns one by one.

Although many are affected, a good variety of defuns are unchanged - we still use the larger quota for repls, stacktraces, logs, tests, etc - basically whenever the nREPL output is printed to a buffer (vs. to an overlay).

I based the quota size on the frame, as definitionally one cannot display an overlay larger than the current frame.

Cheers - V

vemv avatar Mar 14 '24 17:03 vemv