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

How Do I Alias Alembic Provided Dependencies?

If I evaluate the following in Emacs Cider: (use 'alembic.still) (alembic.still/distill '[enlive "1.1.5"]) (require '[net.cgrand.enlive-html :as html]) (html) ... evaluation of the (html) to see if it's a recognized symbol produces an 'Unable to…
THX1137
  • 903
  • 6
  • 15
0
votes
2 answers

lazy-sequence with recursion: stack-overflow on certain cases with repl

I play with clojure, more precisely with lazyness. I tried this chunk of code: (defn even-numbers ([] (even-numbers 0)) ([n] (cons n (lazy-seq (even-numbers (+ n 2)))))) (take 1 (even-numbers 0)) It's quite idiomatic, I don't think there is…
Momh
  • 732
  • 5
  • 17
0
votes
1 answer

Evaluate expression and display results in spacemacs

Recently started playing with Clojurescript in Spacemacs(emacs 26.1). I am using figwheel, I usually make a change in the *.cljs file and then test the results in the function in the REPL. I recently watched a video where someone evaluated the…
kiran6
  • 1,247
  • 2
  • 13
  • 19
0
votes
3 answers

Clojure program works fine when debugged, fails in repl

I'm learning core.async and have written a simple producer consumer code: (ns webcrawler.parallel (:require [clojure.core.async :as async :refer [>! !!
radious
  • 812
  • 6
  • 21
0
votes
1 answer

What's a simple ParentAdapter implementation look like?

I'm trying to write a ParentAdapter implementation; I'm interested in providing design-time support for some WPF controls I'm writing and this is how you manage custom logic for reparenting items to different container controls. I started small,…
OwenP
  • 24,950
  • 13
  • 65
  • 102
0
votes
2 answers

Why does melpa-stable cider break cider?

I have used Emacs for almost 40 years and little has been as frustrating as the repeatedly broken cider packages in melpa-stable. I have only two entries in my package list package-archives is a variable defined in ‘package.el’. Its value is …
0
votes
1 answer

Can't switch to repl in spacemacs cider (Clojure)

In spacemacs, I am able to start a cider repl with cider-jack-in: it says 'Connected.' followed by a quote, as expected. But then cider-switch-to-repl-buffer does not open a repl buffer, and just produces the following message: Invalid function:…
andycraig
  • 710
  • 5
  • 18
0
votes
1 answer

Cider repl throws java.lang.IllegalAccessError: with-safe-transport does not exist

cider seems to be throwing a weird exception when trying to eval anything (for example "(+ 1 2)" ). see below: The project is nothing special, just 'lein new test-cider' that i made just to try this out. my profiles.cljs only contains…
boogie666
  • 650
  • 10
  • 24
0
votes
1 answer

How can I close the Cider stack trace buffer

When evaluating an expression in the Cider REPL buffer a stack trace buffer appears in one of the other windows when an exception is thrown. Is there a way to dismiss the stack trace buffer other than killing the buffer? When I navigate to a line…
user229487
  • 1,387
  • 10
  • 14
0
votes
1 answer

Running a test and REPL work differently

I found quite strange behavior in Clojure/Cider. When I try to execute the same expression in two ways (to run a test and run in REPL), I have different results. Here is an expression: (with-chrome {} driver (start) (doto driver (go…
Ivan Grishaev
  • 1,583
  • 10
  • 15
0
votes
3 answers

Running cider-jack-in in emacs

I would like to learn some Clojure, and I'm trying to run REPL from Emacs, but I cannot get it to work. I have created a basic project with lein. I open the generated file core.clj in Emacs, and when I try to run the REPL from it (by running the…
Stanislav
  • 110
  • 10
0
votes
1 answer

Nrepl middleware not loading correctly with maven project

I am trying to use CIDER's debugger in my project which is setup in maven (can't switch to Leiningen). I've configured clojure-maven-plugin as stated in their github README: com.theoryinpractise
Setzer22
  • 1,589
  • 2
  • 13
  • 29
0
votes
2 answers

Halting a program at a debug point?

I am using emacs for clojure development. So after using: C-u M-x cider-jack-in (in my test file). Followed by lein repl followed by M-x cider-connect I get a strange, partially working repl at the root of my project where I have to provide the…
Abraham P
  • 15,029
  • 13
  • 58
  • 126
0
votes
0 answers

boot-refresh inside cider-connect

After following the suggested steps at https://github.com/samestep/boot-refresh the intended hot-reloading behavior works when using cider-jack-in from inside a boot project. However, in the following scenario it does not work. consider this boot…
Anton Harald
  • 5,772
  • 4
  • 27
  • 61
0
votes
1 answer

start boot task after cider-jack-in

After starting a boot project via cider-jack-in, how can I start a specific boot task? In the repl (dir boot.user) reveals the tasks defined in build.boot. However, invoking one by e.g. (dev) has no effect, at least the ring server defined in that…
Anton Harald
  • 5,772
  • 4
  • 27
  • 61
1 2 3
12
13