spacemacs

Spacemacs docs: http://develop.spacemacs.org/doc/DOCUMENTATION.html http://develop.spacemacs.org/layers/+lang/clojure/README.html https://practicalli.github.io/spacemacs/
2021-04-24T16:43:18.094400Z

Any ideas how or why pretty print is putting the first line of output on the same line as the last line of the expression rather then below it (the desired behavior). Getting:

(for [x (range 10)]
  [x x x ]);; => ([0 0 0]
;;     [1 1 1]
;;      ....
want
(for [x (range 10)]
  [x x x ])
;; => ([0 0 0]
;;     [1 1 1]
;;      ....

practicalli-john 2021-04-24T17:04:12.095100Z

@drewverlee I get what you want when using cider-pprint-eval-defun-at-point

practicalli-john 2021-04-24T17:09:23.096400Z

I get the comment starting on the same line as the code when using cider-pprint-eval-last-sexp-to-comment which is not what you were looking for..

practicalli-john 2021-04-24T17:10:21.097200Z

So in Spacemacs, use the , e p ; rather than the , e p : key binding

2021-04-24T17:44:11.097300Z

I'll give that a try thanks.

2021-04-24T18:20:16.098600Z

yea that works well enough for now. thanks.

practicalli-john 2021-04-24T18:35:26.098700Z

I assume they are different as the last-sexp would be used with expressions inside other expressions