Fork me on GitHub
#cider
<
2019-04-11
>
mikerod00:04:38

@rob704 fill-paragraph works for me.

Robert Nikander07:04:02

@mikerod Are you setting a buffer-local fill-column to something different from the default? And is it using that value? I have it at 100, but it's using the original value of 70.

mikerod13:04:38

Yes. I have it set to 100 as well

yuhan11:04:56

hmm, I read that post and tried playing around with the variables, however the cider debugger doesn't seem to take any of it into account

yuhan11:04:41

(setq cider-repl-init-code "(set! *print-length* 10)")
(setq cider-print-quota 10) ;; bytes

yuhan11:04:17

and evaluating normal forms does indeed cut off at 10 elements / 10 bytes

yuhan11:04:47

(let [n 100]
  #dbg
  (range n))
but the debugger still prints out the full 100 elements

zlrth14:04:23

same for me

yuhan11:04:00

(setq cider-print-options '(("length" 10)))
and changing the print-fn to fipp didn't change anything either

bozhidar14:04:44

Guess we messed something up then. File a ticket, please.

yuhan16:04:38

doesn't this fall under the same issue I previously filed? https://github.com/clojure-emacs/cider/issues/2621