Fork me on GitHub
#cider
<
2019-07-30
>
bozhidar06:07:55

@cfleming Do you use the ack functionality in Cursive?

bozhidar06:07:35

(so far I’ve seen it used only in Lein and I was curious what other tools are doing)

bozhidar06:07:51

> I assume it doesn’t use the nREPL ack functionality since that requires an nREPL server, and I’m assuming (but prepared to be surprised) that no-one has ported that to elisp yet

bozhidar06:07:01

There’s time for everything. 😉

cfleming10:07:09

@bozhidar Yes, I do. Previously I had an nREPL REPL running in the IDE, so I just used that. I’ve just switched that over to a socket REPL, so now what I do is whenever I start a REPL I start an nREPL server and use that for the ack, and then shut it down once I have the port. It actually works better that way since there’s no race condition for multiple REPLs, which was sometimes an issue if the REPL startup took a long time.

dmaiocchi18:07:46

is there a way to remove paraedit from cider?

dmaiocchi18:07:45

I mean currenlty I'm mostly disabling the mode manually, but I have seen that cider depends/use paraedit. Is there a way perhaps to disable it? :thinking_face:

dmaiocchi18:07:56

I mean disabling it globally

dpsutton18:07:19

i don't think that clojure-mode or CIDER enable paredit automatically. Can you search your init.el for (add-hook 'clojure-mode-hook #'paredit-mode) or something similar?

dmaiocchi20:07:35

Thx I will search

dmaiocchi20:07:58

Nope I don't have ir

dmaiocchi20:07:12

But I have rainbow delimiter

dmaiocchi20:07:37

It might pick up paraedit'. Let me check.. Thx anyways ❤️ clj

dmaiocchi20:07:21

@dpsutton ok found the hook it was in `$HOME/.emacs/customizations/elisp-editing.el

dpsutton20:07:42

that being said i can't think of a reason why anyone should turn off paredit

dmaiocchi20:07:46

it comes from the clojure and brave and true.

dmaiocchi20:07:12

I'm quite annoyed when I need to delete a parenthesis

dpsutton20:07:32

you shouldn't need to delete a paren because you shouldn't have unbalanced

dmaiocchi20:07:33

I have found the button for shifiting the paren

dmaiocchi20:07:49

to me copy and pasting the text because of unbalanced parent, is more unhandy then have paredit

dmaiocchi20:07:20

so i will turn it off, i might come back later on it dunno 😁 for moment I have tried both, and I find mysefl more productive in term of typing without paredit

dpsutton20:07:48

fair enough. everyone should evaluate advice in light of their own needs 🙂

clj 4
dmaiocchi20:07:00

thx for the tip..

bozhidar20:07:09

Neither cider, nor clojure-mode enabled paredit automatically. Are you using some custom Emacs distribution?

👍 4
bozhidar20:07:14

(e.g. Spacemacs)

dpsutton20:07:43

we ended up finding it

❤️ 4
chepprey20:07:47

regarding paredit -- fwiw, I really like parinfer in Emacs... and @darioszr I had a lot of problems with the .emacs.d setup in Clojure for the Brave and True (possibly because I knew I wanted parinfer instead of paredit)

chepprey20:07:36

I ended up putting my emacs setup together from scratch with an assist from an old unix neckbeard friend 🙂

clj 4
dmaiocchi21:07:40

Yep that completely true I will also endup to do the same

dmaiocchi21:07:42

For moment I'm just lazy to do it but I have removed already what I didn't need. I just need cider and some music at the end 😁 clj