conjure

James Amberger 2024-09-18T00:58:48.362999Z

Hello #conjure; I am coming over from fireplace and I have a question: if I eval a namespace, maybe eval some stuff in it, then switch buffers and eval again, which namespace will I be in in the persistent log buffer? i.e. suppose I type an expr into the log buffer and eval; which set of unqualified symbols will work?

practicalli-johnny 2024-09-18T08:09:35.917249Z

Seems to follow the evaluated namespace forms

James Amberger 2024-09-18T12:02:48.215139Z

ok, so basically manually/in my control. I shall play around with it.

James Amberger 2024-09-18T00:59:50.180819Z

Also, when using shadow-cljs, fireplace would just figure out, I guess from the extension of the file loaded in the current buffer, whether it should eval in the clojure nrepl or the cljs nrepl; some way to get this working in conjure?

jamesleonis 2024-09-19T23:32:39.970639Z

I don't think there is an automated way, but the quickstart guide has an example script that has some of this functionality. I have found in practice it's easier to have two Conjure 'sessions' for each environment (clj/cljs) and swapping between them manually as needed. https://github.com/Olical/conjure/wiki/Quick-start:-ClojureScript-(shadow-cljs) https://github.com/Olical/conjure/blob/master/doc/conjure-client-clojure-nrepl.txt See: :ConjureShadowSelect and the <leader>s mappings

James Amberger 2024-09-18T00:59:55.956929Z

Thanks, having fun w conjure so far.