Fork me on GitHub
#cider
<
2019-02-22
>
hoppy03:02:27

@bozhidar, do you have a good clearing house for people to find ways to contribute to cider/orchard? I'd love to help, just need some guidance

kommen06:02:32

@hoppy for cider, a bunch of issues are tagged with “good first issue”: https://github.com/clojure-emacs/cider/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22

oskarkv09:02:16

I tried to debug the following function but got "Debugger entered--Lisp error: (scan-error "Containing expression ends prematurely" 2327 2328)"

(defn step345 [sets row]
  (->> (for [[s v] sets n s]
         {(disj s n) (+ v (row n))})
    (apply merge-with max)))
Anyone know why or how I can fix it?

oskarkv09:02:36

Should I create an issue?

oskarkv10:02:56

Btw, that was my mistake. I didn't remember that I was using an old local copy of CIDER instead of downloading it fresh.

soulflyer03:02:02

@oskarv Do you mean the emacs freeze on jack-in? I'm still seeing it and I just updated cider.

oskarkv10:02:53

Works for me now. 😛

ghadi14:02:40

does Clojure mode's indentation use indent-sexp under the hood?

ghadi14:02:13

and does CIDER extend that or use something else?

dpsutton14:02:19

it looks like it bottoms out into emacs with indent-region

dpsutton14:02:55

CIDER does have an option to change the notion of top level defun to be (comment (form) (form)) aware

dpsutton14:02:21

in this file: ;;; indent.el --- indentation commands for Emacs -*- lexical-binding:t -*- but i don't see an indent-sexp in there at all

cichli15:02:03

Not sure if it uses indent-sexp specifically but it builds on top of the built-in lisp-mode indentation

qythium23:02:54

Not sure if this is generally known, but the #1 killer feature with Lispy's clojure integration is being able to evaluate intermediate forms in a threading macro:

mitchell_clojure15:02:25

If you don't mind, what is the keybind/function for this?

qythium01:02:13

M-x lispy-eval or e at a special position (directly before opening paren / after closing paren)

mitchell_clojure03:02:01

Thanks I appreciate it

qythium23:02:47

It would be really great if this could be implemented natively in CIDER!

chase-lambert23:02:39

whoa, that is a cool feature! how interesting that it comes from this Lispy thing. I thought it was just an alternative to paredit and such.