[ANN] CIDER 0.9

494 views
Skip to first unread message

Bozhidar Batsov

unread,
Jun 16, 2015, 10:33:48 AM6/16/15
to clo...@googlegroups.com
Hey everyone,

CIDER 0.9 is finally out! You can read more about the release here http://batsov.com/articles/2015/06/16/cider-0-dot-9/

Enjoy (responsibly)! :-)

Shahrdad Shadab

unread,
Jun 16, 2015, 12:19:34 PM6/16/15
to clo...@googlegroups.com
Hi Bozhidar

Thanks for the awesome work however when I upgraded to version 0.9 I get the following error when starting cider in emacs:

Starting nREPL server via lein repl :headless...
nREPL server started on 55266
nREPL: Establishing direct connection to localhost:55266 ...
nREPL: Direct connection established
error in process filter: cider-repl-mode: Symbol's function definition is void: clojure-mode-variables
error in process filter: Symbol's function definition is void: clojure-mode-variables


Will you please help me out here?

Best regards
Shahrdad

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Software Architect & Computer Scientist

Shahrdad Shadab

unread,
Jun 16, 2015, 1:59:35 PM6/16/15
to clo...@googlegroups.com
Don't bother please, after I upgraded the clojure-mode issue got fixed.
Again thanks for your magnificent tool.

Best regards
Shahrdad

Avi Avicenna

unread,
Jun 16, 2015, 10:38:34 PM6/16/15
to clo...@googlegroups.com, bozh...@batsov.com
Wow!! Many thanks to all CIDER contributors.

I didn't get it to work at first, but deleting all previous *.elc files and restarting emacs solves the problem.

Congratulations!

Yours,
Avicenna

Bozhidar Batsov

unread,
Jun 17, 2015, 2:30:30 AM6/17/15
to Avi Avicenna, clo...@googlegroups.com
Yeah, that's an unfortunate problem with package.el. See https://github.com/clojure-emacs/cider/issues/1050#issuecomment-112595451

Isaac Zeng

unread,
Jun 17, 2015, 3:04:29 AM6/17/15
to clo...@googlegroups.com
leiningen use org.clojure/tools.nrepl 0.2.6 cider-nrepl throw warning

Fluid Dynamics

unread,
Jun 17, 2015, 4:09:01 AM6/17/15
to clo...@googlegroups.com, bozh...@batsov.com

I upgraded to version 0.9 I get the following error when starting cider in emacs:

Starting nREPL server via lein repl :headless...
nREPL server started on 55266
nREPL: Establishing direct connection to localhost:55266 ...
nREPL: Direct connection established
error in process filter: cider-repl-mode: Symbol's function definition is void: clojure-mode-variables
error in process filter: Symbol's function definition is void: clojure-mode-variables
 
...

I didn't get it to work at first, but deleting all previous *.elc files and restarting emacs solves the problem.

Welcome to the wonderful world of emacs, where when you upgrade a module you have to hunt down all of the dependencies manually to upgrade them all separately *and* lift the hood to perform additional arcane rituals in place of simply download, install, run or even download, configure, make, make install, run. We hope you enjoy your stay. And that you are, or know, a good mechanic. :)

(OK, OK, it is aimed at an audience of mainly computer programmers, so it can be forgiven I guess for assuming every user is one, but even so, I prefer my tools to download, install, and then get out of the way and let me program *my* project rather than needing me to program parts of *them* first...)

Leon Grapenthin

unread,
Jun 17, 2015, 9:01:47 AM6/17/15
to clo...@googlegroups.com, bozh...@batsov.com
I think I managed to get almost everything to work.

The only thing that doesn't work is the nrepl history. When I hit M-p or M-n, I get

Symbol's function definition is void: assert

When I run (require 'cl) it changes to Invalid function: assert

Am I the only one with this problem? Because I found no reports of it.

Leon Grapenthin

unread,
Jun 17, 2015, 9:06:58 AM6/17/15
to clo...@googlegroups.com, bozh...@batsov.com
Nevermind, I found the solution. (require 'cl) manually before compiling cider.

Fluid Dynamics

unread,
Jun 17, 2015, 9:56:47 AM6/17/15
to clo...@googlegroups.com, bozh...@batsov.com
On Wednesday, June 17, 2015 at 9:06:58 AM UTC-4, Leon Grapenthin wrote:
Nevermind, I found the solution. (require 'cl) manually before compiling cider.


On Wednesday, June 17, 2015 at 3:01:47 PM UTC+2, Leon Grapenthin wrote:
I think I managed to get almost everything to work.

The only thing that doesn't work is the nrepl history. When I hit M-p or M-n, I get

Symbol's function definition is void: assert

When I run (require 'cl) it changes to Invalid function: assert

Am I the only one with this problem? Because I found no reports of it.

I must say, though, that every time something is upgraded it *is* quite amusing watching you emacs users running around chasing your tails for several hours afterwards while the rest of us are already getting useful work done. :)

maverickavi

unread,
Jun 17, 2015, 10:09:02 AM6/17/15
to clo...@googlegroups.com, bozh...@batsov.com
Yeah, that's one of emacs's powers: provide amusement for people. I am happy that you are entertained :)

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "Clojure" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clojure/Qv77aUTWbOo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clojure+u...@googlegroups.com.

Bozhidar Batsov

unread,
Jun 17, 2015, 10:46:29 AM6/17/15
to Fluid Dynamics, clo...@googlegroups.com
Go do something useful with your IDE (or whatever) for a change and stop trolling on this thread...

Bozhidar Batsov

unread,
Jun 17, 2015, 10:48:04 AM6/17/15
to Leon Grapenthin, clo...@googlegroups.com
Ouch. That's an oversight on my part. Seems we've used a few functions straight from `cl` instead of the newer `cl-lib`. Thought I had all those usages fixed, but I guess I haven't. 

Bozhidar Batsov

unread,
Jun 17, 2015, 10:51:26 AM6/17/15
to clo...@googlegroups.com
nREPL 0.2.6 is pretty old and has some serious bugs in it (alas there hasn't been a lein release for a while). You'll have to pull in a newer nREPL manually to get rid of this.

{:user {:dependencies [[org.clojure/tools.nrepl "0.2.10”]]}}


--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.

Alexis

unread,
Jun 18, 2015, 12:51:47 AM6/18/15
to clo...@googlegroups.com

Bozhidar Batsov <bozh...@batsov.com> writes:

> nREPL 0.2.6 is pretty old and has some serious bugs in it (alas
> there hasn't been a lein release for a while). You'll have to
> pull in a newer nREPL manually to get rid of this.
>
> {:user {:dependencies [[org.clojure/tools.nrepl "0.2.10”]]}}

Unfortunately this doesn't necessarily work - it certainly doesn't
work for me! - as per the following:

https://github.com/technomancy/leiningen/issues/1900

https://github.com/technomancy/leiningen/issues/1901


Alexis.

Bozhidar Batsov

unread,
Jun 18, 2015, 1:42:38 AM6/18/15
to clo...@googlegroups.com
Yeah, I'm aware of those problems, but as you already know they have to fixed in leiningen. At least these days leiningen has an alternative (https://github.com/boot-clj/boot).

Alexis

unread,
Jun 18, 2015, 1:58:58 AM6/18/15
to clo...@googlegroups.com

Bozhidar Batsov <bozh...@batsov.com> writes:

> Yeah, I'm aware of those problems, but as you already know they
> have to fixed in leiningen. At least these days leiningen has an
> alternative ( https://github.com/boot-clj/boot).

Good point - this is an opportunity for me to try out boot. :-)


Alexis.

Stefan Kamphausen

unread,
Jun 18, 2015, 7:36:46 AM6/18/15
to clo...@googlegroups.com, bozh...@batsov.com
Dear CIDER Devs,



On Tuesday, June 16, 2015 at 4:33:48 PM UTC+2, Bozhidar Batsov wrote:

CIDER 0.9 is finally out! You can read more about the release here http://batsov.com/articles/2015/06/16/cider-0-dot-9/


thanks for the time and effort you've put into this!  Works fine for me.  Update issues were totally minor so far.  Fixing them probably took less time than Eclipse needs to download the update information, let alone calculating dependencies. :-P


Cheers,
stefan

Bozhidar Batsov

unread,
Jun 18, 2015, 7:56:47 AM6/18/15
to Stefan Kamphausen, clo...@googlegroups.com
Happy to hear this! :-)

Baishampayan Ghose

unread,
Jun 18, 2015, 8:56:12 AM6/18/15
to Clojure Group
By the way, I just tried connecting to two different repls from the
same project (the regular one + one started by fighweel) and it made
my Emacs hang :-\

Connecting to multiple repls on different projects works fine.

Thanks,
BG
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@googlegroups.com
> Note that posts from new members are moderated - please be patient with your
> first post.
> To unsubscribe from this group, send email to
> clojure+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+u...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Baishampayan Ghose
b.ghose at gmail.com

Bozhidar Batsov

unread,
Jun 18, 2015, 9:09:09 AM6/18/15
to clo...@googlegroups.com
Submit a ticket + some repro steps and we'll have a look at it.

Ed Maphis

unread,
Jun 18, 2015, 10:20:44 AM6/18/15
to clo...@googlegroups.com
On that note,  the nrepl 0.2.6 problem is a pretty old issue by now. Does anyone know if there are any plans to update leiningen.

Leon Grapenthin

unread,
Jun 18, 2015, 10:31:25 AM6/18/15
to clo...@googlegroups.com
Yeah, it usually happens when you start the second REPL while having the REPL buffer open. It doesn't happen if you open the second REPL e. g. on the project.clj...

Leon Grapenthin

unread,
Jun 18, 2015, 10:32:02 AM6/18/15
to clo...@googlegroups.com
Oh and you can also C-g and kill the unusubal REPL buffer if this happens.

Bozhidar Batsov

unread,
Jun 18, 2015, 11:29:38 AM6/18/15
to clo...@googlegroups.com, Leon Grapenthin
You should definitely collect all this information in a bug report and we'll track this issue down.
Reply all
Reply to author
Forward
0 new messages