Fork me on GitHub
#spacemacs
<
2018-03-31
>
fedreg01:03:25

How do I prevent my logs from being truncated in the repl? For exmaple, logging out a list of 100 items would result in (1 2 3...85 ...) without the last elements being printed. Coworkers with regular Emacs don't have this. Thx!

spfeiffer07:03:56

@fedreg Isn't this controlled by *print-length* inside the REPL? But might me spcemacs sets this to 85?

spfeiffer07:03:08

be spacemacs

spfeiffer13:03:46

@fedreg I just tested using [email protected] and clojure 1.9.0: I can easily print out beyond 85 in the repl buffer.

spfeiffer13:03:39

But *print-length* is set to 100… So i can only guess $something sets it to 85 for you.

spfeiffer13:03:03

What is the value of *print-length* in your repl buffer?

spfeiffer14:03:34

There is a CIDER variable for setting it, too: cider-repl-print-length.

fedreg18:03:47

@spfeiffer Thanks! It wasn't cutting off at 85; that was just an arbitrary number I used. Looks like 100 was the cutoff. I will use the cider-repl-print-length var you suggested. Thanks for the help!!!

spfeiffer18:03:57

@fedreg Ah OK, i see. But still, it has nothing to do with spacemacs vs. emacs, it must be a configuration thing in cider.

spfeiffer18:03:32

But by using the variable, you can customize it to your liking.

fedreg18:03:34

@spfeiffer Yes, that did the trick. Appreciate it