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
0
votes
1 answer

boot-clj: browser repl after cider-jack-in

My workflow for starting a "boot dev" process within emacs for using it with cider afterwards was something like this: go to a shell buffer. enter "boot dev" wait until the message "Time Elapsed..." cider-connect (Enter, Enter) In the case it is a…
Anton Harald
  • 5,772
  • 4
  • 27
  • 61
0
votes
1 answer

Why I keep receiving "Unable to resolve symbol: -main..."?

Here's my core code (sorry, some parts are in Portuguese) (ns prova1-ed.core (:gen-class)) (use 'clojure.java.io) (defn getFile [] (let [filename (read-line)] (if (.exists (java.io.File. filename)) filename (do …
Tiago Dall'Oca
  • 329
  • 3
  • 15
0
votes
1 answer

any disadvantages when opening XAML with XML Text Editor instead of Cider XAML Editor

I have made the experience that editing large XAML files is extremly faster when doing it in the standard XML text editor instead of the the split-screen cider XAML editor with the design view. This is also true when I have the "Always open…
bitbonk
  • 48,890
  • 37
  • 186
  • 278
0
votes
1 answer

How to use Cider's overlay

I want to try Cider’s overlay option. I understand it looks like Lighttable’s InstaRepl, without the instant evaluation. I cannot get it to work, though, for example M-x cider-use-overlays returns no match. I am using cider/cider-nrepl 0.11.0 and…
user619882
  • 350
  • 3
  • 13
0
votes
1 answer

How to jump from cider-error buffer to the repl buffer?

In clojure cider repl, when some code goes wrong, I have to C-b k, kill the cider-error buffer, C-x o switch back to the repl buffer. Is there a shortcut/function to jump back to the repl buffer directly?
Nick
  • 8,451
  • 13
  • 57
  • 106
0
votes
2 answers

Indent clojure on Emacs

I am trying to set up the emacs to have auto-Indentation for clojure code. Until now unsuccessful. What is the command to set into the config file for that?
user4813927
0
votes
1 answer

Weird error in cider-jack-in

I created a clojure project using lein new, started GNU Emacs, opened the file core.clj and when I tried to jack-in with cider-jack-in It blows off: Making nrepl-create-client-buffer-function local to *nrepl-server clojure-noob* while…
nanounanue
  • 7,942
  • 7
  • 41
  • 73
0
votes
1 answer

Midje autotest not reloading files in Emacs Cider on Windows

I'm currently working through the Midje tutorial: https://github.com/marick/Midje/wiki/A-tutorial-introduction I load the repl using cider-jack-in and can successfully run (autotest) which runs the tests. However, when I change either the source or…
David Genn
  • 709
  • 4
  • 11
0
votes
1 answer

On Using clojure.tools.namespace

In emacs cider repl, now I know how to use clojure.tools.namespace in a leiningen project. However, when I use it on a single clj file which doesn't belong to any project, it seems clojure.tools.namespace doesn't work on the file: =>…
Daniel Wu
  • 371
  • 3
  • 9
0
votes
1 answer

Default namespace is not evaluated when stating lein repl?

I have troubles getting my default namespace invoked when I start lein repl :headless from emacs cider. My project.clj has :repl entry defined: :repl-options { :init-ns dev.core } When I cider-jack-in from project.clj file, I indeed end up in…
alexy2k
  • 560
  • 1
  • 6
  • 10
0
votes
1 answer

How can I upgrade CIDER to 0.8?

The latest version of CIDER on MELPA is 0.7. The latest on Github is 0.8, which hasn't been pushed MELPA. What is the best way for me to upgrade CIDER given these circumstances? I'm relatively new to emacs, so please be detailed in your description…
Chris
  • 1,090
  • 2
  • 11
  • 22
0
votes
1 answer

How to debug cider on emacs?

I have an issue using cider: emacs freezes after nREPL server started on 54308 is written. C-g helps, but I have cider not working. My question is: how can I debug cider and get some usefull output to find the source of this problem? P.S. After a…
Jaŭhien Piatlicki
  • 843
  • 10
  • 18
0
votes
2 answers

Clojure server-socket ClassNotFoundException error

I'm trying to test mire. When I execute this code (ns mire (:use [clojure.contrib server-socket duck-streams])) I have java.io.FileNotFoundException error. Googling to find that clojure.contrib is deprecated, I added server-socket as…
prosseek
  • 182,215
  • 215
  • 566
  • 871
0
votes
1 answer

emacs-cider mode not connecting to cider-jack-in repl

I am using emacs for learning clojure. I have leiningen installed. This is how my general workflow goes : Open eshell in emacs run lein new myapp cd myapp\src\myapp\core.clj write some code. M-x cider-jack-in to open the repl Now when i try C-c C-k…
Ashish Negi
  • 5,193
  • 8
  • 51
  • 95
0
votes
1 answer

cider-eval-buffer breaks when a function definition is void

I have this issue in Emacs - I run cider-eval-buffer and one of my function definitions are void which results in an error (or multiple). I correct the error and run the command again only to get Lisp nesting exceeds 'max-lisp-eval-depth'. I can…
xificurC
  • 1,168
  • 1
  • 9
  • 17
1 2 3
12
13