This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-11-20
Channels
- # admin-announcements (28)
- # aws (16)
- # beginners (70)
- # boot (54)
- # cider (86)
- # cljsrn (8)
- # clojure (14)
- # clojure-art (12)
- # clojure-conj (2)
- # clojure-hk (45)
- # clojure-nl (2)
- # clojure-poland (2)
- # clojure-russia (32)
- # clojurescript (60)
- # cursive (27)
- # datomic (12)
- # devcards (46)
- # editors (2)
- # emacs (37)
- # immutant (72)
- # jobs (6)
- # ldnclj (7)
- # leiningen (1)
- # off-topic (1)
- # om (205)
- # onyx (16)
- # re-frame (21)
- # reagent (52)
- # slack-help (2)
- # spacemacs (11)
Is there an nrepl entry point for plain old indentation level? I saw the format-clj message.
11 people attended my CIDER presentation at http://buildstuff.lt
I suppose one thing you can do in that situation is just sit down and have a chat with the audience. But that's pretty hard when you're frustrated and disappointed... :-/
@bozhidar looks awesome. I’d watch the recording if there was one. If I lived nearby I would have attended.
hey dudes, this is kind of cider related- I’m trying to get cider-jack-in
running on a boot project but I’m getting the famous instaparse Wrong number of args (4) passed to: StringReader, compiling:(abnf.clj:186:28)
error when I add clj-refactor to my profile.boot
has anyone else run into the same thing, and is there a fix?
Here’s my profile.boot:
(require 'boot.repl)
(swap! boot.repl/*default-dependencies* conj
'[cider/cider-nrepl "0.9.1"]
'[refactor-nrepl "1.1.0"])
(swap! boot.repl/*default-middleware* conj
'cider.nrepl/cider-middleware
'refactor-nrepl.middleware/wrap-refactor)
and my build.boot:
(set-env!
:source-paths #{"src"}
:resource-paths #{"resources"}
:dependencies '[[org.clojure/clojure "1.7.0"]])
@nonrecursive: looks like this was an issue in boot? https://github.com/boot-clj/boot/issues/210
thanks @jcsims! I think it’s complicated a little because refactor-nrepl uses mranderson
hmm maybe refactor-nrepl is requiring a different dep or a different version of one
it’s weird because if I use boot repl
and then cider-connect
then it works fine
one of those mr. anderson’d deps must be requiring instaparse 1.3.6, and I think it’s impossible to exclude it
i can just keep starting boot repl seperately, was just hoping that someone had run into the same issue and knew of a workaround
yeah that’s what I would expect
yeah that is strange - sorry, I’m not a boot user, so that’s about the extent of my help =/
thanks anyhow
@bozhider: By entry point, I mean, when you press enter on a line, emacs will indent you to the correct position. Does it ask nrepl-middleware anything here? If so, what is the nrepl message? I suspect though that it works differently than I think because people keep not knowing what I’m talking about 😄 (I’m not an emacs user… so I might have an interesting misconception.)
the track-state middleware pushes some data to Emacs about namespace state (which includes indentation metadata if available)
done!
is there a default Clojure emacs setup guide out there?? I'm writing a figwheel nREPL tutorial (just in time for Socket REPL, better late than never)
Pretty sure there's no default one. I started with the recommendations on http://braveclojure.com
Let's say I have a run cider-jack-in
and then in the REPL did
user> (use 'figwheel-sidecar.repl-api)
user> (start-figwheel!)
user> (cljs-repl)
@bhauman: Since you're writing a book and you mentioned doing that in the repl, I found this somewhere the other day and it's been great! https://github.com/px0/dotfiles/blob/master/emacs.d/user.el#L454
@roberto: only if you want it too, I've got figwheel running in lein repl now no problem
I’m used to just using figwheel on the terminal, will put some time aside for testing it on cider this weekend