Questions tagged [cider]

CIDER is an Emacs package for interactive Clojure development.

From its GitHub README.md:

CIDER (formerly nrepl.el) is the Clojure Interactive Development Environment that Rocks for Emacs, built on top of nREPL, the Clojure networked REPL server.

References

195 questions
2
votes
1 answer

Cider nREPL using virtualbox error: connection broken by remote peer

Starting repl using: lein repl :headless :port 4242 When I try to connect VIA cider connect I get the following error: Connection closed unexpectedly (connection broken by remote peer) When I try to connect VIA: lein repl :connect 4242 I get the…
kkruit
  • 31
  • 4
2
votes
1 answer

Get 'Attempting to call unbound fn' in clojure command line app

I have the following code and it works when I go through and step through it in Cider, but when I run it straight through on the command line I get the following error: Exception in thread "main" java.lang.IllegalStateException: Attempting to call…
whatoncewaslost
  • 2,216
  • 2
  • 17
  • 25
2
votes
1 answer

How to properly bind cider-switch-to-repl-buffer to ?

I tried (eval-after-load 'cider '(progn (define-key cider-mode-map (kbd "") 'cider-switch-to-repl-buffer) (define-key cider-repl-mode-map (kbd "") 'cider-switch-to-repl-buffer))) But it only works in the buffer, i.e. I can…
damonh
  • 515
  • 2
  • 10
2
votes
1 answer

Org-Babel Clojure Cider NRepl broken?

I followed the instructions here and wrote the following org-mode file: #+BEGIN_SRC emacs-lisp (princ (concat (format "Emacs version:\n%s\n" (emacs-version)) (format "\norg version: %s\n" (org-version)))) #+END_SRC #+RESULTS: :…
Reb.Cabin
  • 5,426
  • 3
  • 35
  • 64
2
votes
2 answers

Cider debug -- how to evaluate stuff while debugging

Cider debug instructions tell me I can press e to evaluate something while debugging. This gives me a little one-line space in Emacs mini-buffer at the bottom. Is there a way to switch to the full REPL while in the middle of debugging a function,…
Sonicsmooth
  • 2,673
  • 2
  • 22
  • 35
2
votes
2 answers

Spawning child processes returns invalid argument

I have a class this semester that requires a lisp dialect so I'm trying to get started with Clojure but I'm running into a lot of problems setting up my environment. I'm on a Windows machine and am following the tutorial at…
Sturla
  • 29
  • 2
2
votes
1 answer

error in process sentinel: Could not start nREPL server

attempting to start cider with M-x cider-jack-in with clojure project file in current buffer on Emacs 24.4.1. I get error in process sentinel: Could not start nREPL server does nREPL need separate installation...is this an error anyone else is…
sjt003
  • 2,407
  • 5
  • 24
  • 39
2
votes
1 answer

Long Outputs Inside Emacs Cider Repl Buffers

When using Emacs with the Cider plug-in, moving inside the REPL buffer gets incredibly slow, when there was accidently printed a huge amount of output to the REPL buffer. Is there a way to configure Leiningen (or nrepl?) to limit the number of…
Anton Harald
  • 5,772
  • 4
  • 27
  • 61
2
votes
1 answer

How to properly configure CIDER's code completion in Emacs?

I've installed CIDER into my bare-bones Emacs and when I am in cider-mode (also in clojure-mode) and I try to use M-TAB to do code completion I get Not an nREPL dict object: % where % is an arbitrary function. For example if I try to do code…
Adam Arold
  • 29,285
  • 22
  • 112
  • 207
2
votes
1 answer

In CIDER is it possible to use M-. to jump to definition without the REPL running?

This CIDER feature only seems to work after executing cider-jack-in: M-. Jump to the definition of a symbol. If invoked with a prefix argument, or no symbol is found at point, prompt for a symbol. When I open a new clj file and it just says…
kevincasey
  • 249
  • 2
  • 12
2
votes
2 answers

Ring with reload-wrap in Emacs Cider REPL

When starting a Ring server from within an Emacs Cider REPL via reload-wrap, the REPL blocks. What can I do in order to have this code-reloading feature during development and being able to keep on working with the Cider REPL at the same…
Anton Harald
  • 5,772
  • 4
  • 27
  • 61
2
votes
1 answer

cider-nrepl error when running project

I try running lein project with cider/cider-nrepl. I write [cider/cider-nrepl "0.10.1"] in plugins section of project.clj After running cider-jack-in i have error - Caused by: java.lang.RuntimeException: Unable to resolve var: …
Amigo
  • 109
  • 7
2
votes
1 answer

Emacs/CIDER Error

I'm trying to do some Clojure development using Emacs and cider, and following this tutorial. I've gotten to the point where I need to do M-x cider-jack-in, which is supposed to start a *cider-repl* buffer, but instead gives me the error error in…
Inaimathi
  • 13,853
  • 9
  • 49
  • 93
2
votes
1 answer

Cider's nREPL is messing up my Set literals

When I try to type in a Clojure Set literal in the nREPL something is adding a space between the '#' and the '{' such that nREPL stacktraces when hit return at the end of the line. ; CIDER 0.8.2 (Java 1.7.0_71, Clojure 1.6.0, nREPL 0.2.6) user> ;;…
Bob Kuhar
  • 10,838
  • 11
  • 62
  • 115
2
votes
0 answers

keep *nrepl* buffer in cider when jvm terminates

I am running a remote nrepl server (mvn clojure:nrepl) and connecting via emacs M-x cider-connect. When the JVM exists for any reason or I call (System/exit 0) in my repl the *nrepl* buffer is immediately closed. How do I prevent that behavior? How…
DrLivingston
  • 788
  • 6
  • 15