Fork me on GitHub
#cider
<
2015-06-19
>
borkdude09:06:24

Why does CIDER say my cider-nrepl version is 0.8.2 (which it used to be), while 0.9.0 is in my profiles.clj: https://www.dropbox.com/s/j24d9i2q4ajlkc0/Screenshot%202015-06-19%2011.03.31.png?dl=0

rickmoynihan09:06:05

borkdude: no chance that its being overriden by either the project.clj or a project local profile?

borkdude09:06:52

@rickmoynihan: it is coming from somewhere, but I can't see from 'lein deps :tree' from where

borkdude09:06:56

maybe some other dep is pulling in cider-nrepl... but I don't understand which one

borkdude09:06:24

I don't have it in my project.clj, only in my profiles.clj

rickmoynihan09:06:35

are you sure its not accidentally listed as both a plugin and a dependency

borkdude09:06:32

only listed as a plugin

borkdude09:06:29

found it. when I leave out the figwheel plugin I see 0.9.0

borkdude09:06:24

not clear why though

bozhidar09:06:32

yeah, figwheel bundles cider-nrepl

bozhidar09:06:39

it has to be updated I guess

bozhidar09:06:52

guess you can report it there

mateusz-fiolka09:06:43

@borkdude: This worked for me: :plugins [[lein-cljsbuild "1.0.6"] [lein-figwheel "0.3.3" :exclusions [cider/cider-nrepl]]]

borkdude09:06:52

my wife just said: why are you even using that editor, it looks old fashioned

ska13:06:43

That probably classifies as a valid reason for divorce 😛

nullptr15:06:07

i've not been able to get cider-jack-in to work since 0.9? i get a Connected/Success message but cider never seems to activate

Lambda/Sierra16:06:07

Is it reasonable to have both (require 'cl-lib) and (require 'cl) in your Emacs startup? I seem to need both for everything to work correctly.

nullptr16:06:41

stuartsierra: i've never needed cl-lib, but your use cases might be more advanced than mine https://github.com/derekslager/dotfiles/search?utf8=%E2%9C%93&amp;q=require

Lambda/Sierra16:06:35

I was just going by http://emacswiki.org/emacs/CommonLispForEmacs which claims that 'cl is deprecated.

nullptr16:06:49

re: cider-jack-in failure, behavior is identical on windows/os x

nullptr16:06:50

have cleared out all unnecessary packages (deleted/disabled cljr, etc etc) in both envs

nullptr16:06:26

same behavior w/ cider-connect and cider-jack-in

arrdem17:06:51

nullptr: YAAAAS I'm not the only one rocking nyan-mode 😄

nullptr17:06:20

pretty essential really, if unrelated to the issue at hand :)

arrdem17:06:50

It's silly but has brightened my day on more than one occasion

aengelberg18:06:02

Oh man, there's even an ascii version for -nw mode

bozhidar18:06:06

@stuartsierra: it’s fine to have them both, although normally they should not be mixed

bozhidar18:06:20

cl is deprecated indeed

bozhidar18:06:04

the reason why you need both of them for CIDER 0.9 to work is that someone included a macro from cl (`assert`) and we didn’t notice this until after the release

bozhidar18:06:22

this is corrected in the latest snapshot

bozhidar18:06:28

and will be fixed in 0.9.1

Lambda/Sierra18:06:31

@bozhidar: I see. That's exactly the error I encountered. Thanks.

bozhidar18:06:24

seems that a ton of people get cl automatically included by one library or another and this is why the problem went unnoticed until the release

bozhidar18:06:24

@nullptr: See the troubleshooting section in the README

bozhidar18:06:14

Did you try a clean install (removing the cider & clojure-mode folders from .emacs.d/elpa/ and installing it again?

bozhidar18:06:43

unfortunately package.el upgrades are not super reliable and some times a manual intervention is required

alejandro20:06:01

new cider debugging is so awesome!

nullptr20:06:07

bozhidar: thanks, clean install resolved the issue