spacemacs

Drew Verlee 2022-01-01T02:43:52.196600Z

,ep; should eval the last experession to a comment instead i get nothing... nothing my message buffer either.

practicalli-johnny 2022-01-01T12:22:58.198Z

If , e e is returning a result and , e p ; is not returning a result, then it sounds like there is a bug in Cider.

👀 1
Drew Verlee 2022-01-01T17:08:56.198500Z

i'll restart things on my end first then file a bug report. thanks john.

practicalli-johnny 2022-01-01T18:55:51.198700Z

I just added a .cljc file along side a .clj fie and can evaluate the last sexp to a comment. Is the issue with .cljc file from within a ClojureScript project? That might be more likely to have a bug.

Drew Verlee 2022-01-01T18:57:47.198900Z

> Is the issue with .cljc file from within a ClojureScript project? > That might be more likely to have a bug. that is the context of the issue yes.

Drew Verlee 2022-01-01T18:58:12.199100Z

or wait, i'm not sure how i started the repl.

Drew Verlee 2022-01-01T19:00:18.199300Z

it doesn't matter. it's not happening now. This is why i don't report bugs, because they seem to float away on the wind half the time.

practicalli-johnny 2022-01-01T19:30:02.199600Z

If you are using shadow-cljs then I think its still a bug. Pretty Print with a ClojureScript repl was an issue with cider, but was fixed in the latest piggeback library apparently https://github.com/clojure-emacs/cider/issues/2667

practicalli-johnny 2022-01-01T19:32:18.200Z

Ah,, it does seem to have been fixed in shadow-cljs too https://github.com/thheller/shadow-cljs/issues/716

practicalli-johnny 2022-01-01T19:33:04.200400Z

Although I am using cider, cljs, figwheel and a fairly recent piggieback and its still not pretty printing 🤷

practicalli-johnny 2022-01-01T19:38:41.200600Z

I wonder if using the cider-inspect tool would work more consistently with ClojureScript. Seems to work with simple examples I have.