This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-06-17
Channels
- # admin-announcements (103)
- # beginners (4)
- # boot (101)
- # cider (64)
- # clojure (126)
- # clojure-australia (1)
- # clojure-berlin (21)
- # clojure-china (1)
- # clojure-dev (11)
- # clojure-germany (13)
- # clojure-india (1)
- # clojure-italy (20)
- # clojure-japan (43)
- # clojure-poland (7)
- # clojure-russia (9)
- # clojure-spain (4)
- # clojure-uk (10)
- # clojurescript (152)
- # core-async (2)
- # css (51)
- # editors (25)
- # events (2)
- # instaparse (17)
- # jobs (1)
- # ldnclj (50)
- # om (7)
- # reactive (7)
- # reading-clojure (1)
- # reagent (1)
- # remote-jobs (1)
congrats 0.9 š
Is there any info on which Emacs version is required for cider 0.9? Don't see anything in the relnotes
itās not in the changelog, but itās in the README https://github.com/clojure-emacs/cider#requirements
@bozhidar: Iāve started so Iāll finish..in this channel. Looking forward to trying debugger as, coming from IDEās in Java world, itās the thing Iāve missed most in Emacs.
@agile_geek: I hope youāll like it. Keep in mind this is the first version, so thereās definitely a room for improvement. Iām a bit surprised you opted for cider over cursive. Most IDE users tend to prefer sticking with an IDE.
yeah Iāve been reviewing https://github.com/clojure-emacs/clj-refactor.el/wiki this morning before work
I use the ns sorting and remove unused quite often, but am slowly expanding my muscle memory for others
Hello, Congrats on 0.9.0! I'm getting this:
; CIDER 0.9.0 (package: 20150616.1226) (Java 1.7.0_60-ea, Clojure 1.5.1, nREPL 0.2.10)
WARNING: CIDER's version (0.9.0-snapshot) does not match cider-nrepl's version (0.9.0)
What's causing the warning?@ballpark: youāve got the snapshot version installed in emacs, instead of the stable release
you might try installing the stable release from MELPA Stable, or upgrading the cider-nrepl dep to the snapshot version
@jcsims: ok. I'll look into getting on MELPA Stable
@ballpark: I tend to stick with stable releases for a few packages I use, and I do this by pinning packages (which I think requires Emacs 24?):
(when (boundp 'package-pinned-packages)
(setq package-pinned-packages
'((cider . "melpa-stable")
(clj-refactor . "melpa-stable")
(clojure-mode . "melpa-stable")
(paradox . "melpa-stable")
(smartparens . "melpa-stable"))))
and the melpa-stable bit is the specific melpa-stable archive at http://stable.melpa.org/packages/
@jcsims: That's helpful. I didn't know melpa-stable existed. It makes me wonder if all of my packages should point to the stable version as default instead of the reverse
a nice reference emacs setup: https://github.com/clojure-emacs/example-config
specially see this part: https://github.com/clojure-emacs/example-config/blob/master/init.el#L31-L47
the version of MELPA is 0.9.0 for the time being, therefore this warning; switch your middleware to 0.9.0 as well
the snapshot releases will appear soon again - Iām waiting to see if serious issues will be reported to warrant a 0.9.1 release right away
I can branch 0.9 for sure, but if I can away with less work Iāll definitely opt for this
i may have misunderstood @ballpark but i think he had the versions out of sync the other way around. cider-nrepl being 0.9.0 and cider client being 0.9.0-snapshot...
@benedek: I'm not sure I'm following you. Right now, I'm shaving the yak of getting packages pinned to package repos
you have cider, the emacs package and the nrepl middleware cider-nrepl (that is defined most likely in your lein profiles.clj
file). their version should match
the warning you are seeing is reporting that the versions of these two components of cider donāt match
i am saying that based on the warning you pasted it seems that the emacs package version is 0.9.0-snapshot
and the cider-nrepl middleware version is 0.9.0
ok, right. I've got them to match now
really appreciate the help!
@bozhidar: I foolishly tried to learn Clojure and Emacs at same time! I must like pain! Love emacs now but it took a while before the āvulcan nerve pinchesā involved became muscle memory
@agile_geek: Think of it as transferable skills. Emacs will stick with you long after you've switched programming language.
I forget - what was the workaround for leinās dependence on tools.nrepl 0.2.6? It seems a direct dependence in my project on 0.2.10 is not sufficient
@bozhidar: thanks. For some reason I was misremembering it as adding to the project dependencies.
The following output appears in *Messages*
:
Starting nREPL server via lein repl :headless...
nREPL server started on 57282
nREPL: Establishing direct connection to localhost:57282 ...
nREPL: Direct connection established
Connected. This REPL is yours to command!
But my familiar REPL buffer is never created. I tried removing all my CIDER and Clojure configurations from Emacs init.el
, and that didnāt help.
My .lein/profiles.clj
is already linked to 0.9:
{:user
{:plugins [[cider/cider-nrepl "0.9.0"]]}}
there's been a lot of breakages on the mailing list where people resolved it themselves by reinstalling cider and clojure-mode
Do cider and the figwheel repl play nicely, or do people tend to drop back to inf-clojure?
@phil: currently working OK for me. It can be finicky though