Fork me on GitHub
#cider
<
2017-07-31
>
richiardiandrea08:07:51

I am analyzing with the goal of importing it in inf-clojure at some point. I was wondering if some cider guru can explain me briefly what is the goal of __prefix__ here: https://github.com/clojure-emacs/cider/blob/ea6aa352f7e5b97e00ac2057c2d7579a9e6f411f/cider-interaction.el#L497

richiardiandrea08:07:47

cool thanks, I could not find it in the cider code base, I should have thought about compliment

dominicm08:07:14

I wonder if it works with the whole file instead of just top level form, it's very slow to find the top level form in some cases. With parinfer it's faster to send the whole file rather than parse.

richiardiandrea08:07:06

Uhm, not sure, but cider is pretty quick in finding it, never noticed any slow down

dominicm09:07:51

I mean, you have to search the whole file if there's an unbalanced paren whilst someone is inserting a form, no?

richiardiandrea09:07:42

ah ok got it, well yeah, but paredit or parinfer are there for you to keep things balanced as you said