biff

jf 2024-05-17T15:28:15.268139Z

is this warning from the nREPL something I should worry about, and if so, how do I fix it? I just tried connecting to the biff nREPL for the first time. I am on Doom Emacs, and doom doctor hasn't given me any warnings about clojure. Also: I was anticipating that upon connecting that I would end up in the application namespace, instead of user . Is user expected?

2024-05-17T16:10:38.796059Z

There might be problems if you use any clj-refactor features. If you're just using the repl to evaluate forms I doubt you'd run into any problems. It looks like the latest version of https://github.com/clojure-emacs/refactor-nrepl is 3.10.0 (Biff currently sets it to https://github.com/jacobobryant/biff/blob/146f2b1c8e0563bd288795851beae8b985cacac7/deps.edn#L22). You could try sticking refactor-nrepl/refactor-nrepl {:mvn/version "3.10.0"} in your project's deps.edn file and see if that makes the warning go away. If the warning is still there, there's probably a way to tell emacs what version of clj-refactor to use. I'm not familiar with emacs myself, so not sure exactly how to do that. As for starting out in user -- I think that's pretty typical for interactive prompts. Generally I'd recommend evaluating forms directly in your .clj files rather than typing stuff into the interactive prompt, and that way you shouldn't need to worry about what the current namespace is anyway.

jf 2024-05-18T08:28:03.996629Z

thank you Jacob! no go on removing the warning (it's the same message, just with an updated version number for refactor-nrepl), because the versions arent an exact match. I'll accept things as they are for now, since this is just restricted to a possible issue with refactoring. Thanks for clarifying! re namespace: I think starting with the application namespace would be great, but it's no loss. I can just do a (in-ns ...) and get into the namespace myself.

👍 1
👌 1