Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • May 19 15:43
    IGJoshua commented #2181
  • May 19 13:47
    bbatsov commented #3195
  • May 19 11:06
    niquola commented #3195
  • May 19 11:05
    niquola commented #3195
  • May 19 10:59
    niquola commented #3195
  • May 19 10:09
    jonpither commented #3195
  • May 19 09:55
    vemv commented #3161
  • May 19 09:42
    bitti commented #3161
  • May 19 09:36
    niquola commented #3195
  • May 18 20:38
    ikappaki commented #3204
  • May 18 20:35
    ikappaki commented #3204
  • May 18 20:33
    ikappaki commented #3204
  • May 18 20:18
    vemv commented #3204
  • May 18 20:00
    jumarko commented #3194
  • May 18 19:11
    ikappaki edited #3204
  • May 18 19:10
    ikappaki edited #3204
  • May 18 19:09
    ikappaki edited #3204
  • May 18 19:01
    ikappaki opened #3204
  • May 18 13:31
    vemv synchronize #3203
  • May 18 13:31

    vemv on cider-0284

    Fix cider-client.el indentation… (compare)

matthew harwood
wondering if I can trigger the one fuction and bring it with it
as one unit
for repl driven development
Lars Andersen
WARNING: CIDER's version (0.15.0-snapshot) does not match cider-nrepl's version (nil). Things will break!
I get this in the REPL after upgrading CIDER, but everything seems to work fine :/
Benedek Fazekas
@jr0cket syl20bnr/spacemacs#8259
does anyone know more about cider-find-or-create-repl-buffer
I had some config and it worked before
now it stopped
so I was wondering did cider got updated
Ahmad Ragab
Hello how can I de-instrument a function call for the debugger i.e. how do I undo SPC m d b
Ah okay I think I found it C-c C-c any other ways, just curious?
Sean Allred
@ASRagab That looks like a spacemacs key sequence, but under a normal keymap I think you'd just C-M-x (cider-eval-defun-at-point)
Brian Fay

I'm crossposting from the cider slack channel, does anybody else see an issue when trying to eval
(keyword "\"|")

in cider? I'm personally using spacemacs, and seeing an error kinda like this with a big regex:

error in process filter: Search failed: "\(\s-\|^\|#\|(\|\[\|{\)\(\"\)"

mccraigmccraig of the clan mccraig
@brianfay also in spacemacs, i see the same error
evals fine in a plain repl, so i guess it's a cider issue
Benedek Fazekas
@hugoduncan any chance you can have a look on this: pallet/alembic#16 ?
hi, I'm trying CIDER's enlighten mode and I'm wondering if there's a way to expand the list of intermediate values displayed by it, i.e. i can see (8 6 4 ...) and I want to see the full list of values
John Practicalli
Is there any function to insert / remove a #_ in front of an expression, so I can quickly comment / uncomment a complete expression?
Tommy Roberson
I am having trouble running nrepl from spacemacs using spacemacs spc m ‘… I can’t read the error msg because when I click on it it disappears. Running lein repl from zsh works however. Anyone else have this issue?
John Practicalli
@swlabrtyr I've been running the repl in spacemacs without any issues. If your code is in a public repo I would be happy to try it
@jr0cket I use (defun clj-cmt-uncmt-line-sexp () (interactive) (let* ((point-pos1 (point))) (evil-insert-line 0) (let* ((point-pos2 (point)) (cmtstr "#_") (cmtstr-len (length cmtstr)) (line-start (buffer-substring-no-properties point-pos2 (+ point-pos2 cmtstr-len)))) (if (string= cmtstr line-start) (delete-char cmtstr-len) (insert cmtstr)) (goto-char point-pos1))))
@jr0cket bound to "s-\" (s is the windows super-key)
@jr0cket sorry for the formatting.
@jr0cket Ok, I admit the clj-cmt-uncmt-line-sexp is not optimal but it works in most of the situations.
Benedek Fazekas
oi @expez assume this is deployed by accident? https://clojars.org/refactor-nrepl/versions/2.3.0
Lars Andersen
@benedekfazekas Yeah, didn't even release :(
Sorry about that!
Benedek Fazekas
no worries. things might be inmutable on clojars so i might release 2.3.1 after all...
Lars Andersen
Yeah, they are
Think I did a proper release when I wanted to upload a new snapshot :(
actually not sure how it happened. If I did lein release clojars it shoud use the version in project.clj, right?
And since that is a snapshot it should've released a snapshot?
Benedek Fazekas
ah lein release does the whole bumping versions etc dance i think
John Practicalli
@Bost thank for the code, it seems to work very well. I renamed the function to clojure-toggle-reader-comment-sexpand gave it different keybindinds though :) I use C-# as a short cut and put it under the major mode as #
Tianxiang Xiong
Strangely, cider-find-var only seems to work in a Cljs buffer for some vars (e.g. om/root), while others (e.g. om/component) work in all buffers (e.g. *scratch*). What's the issue here?
Lars Andersen
No issue, it's only supposed to work on clj(s) buffers
Specifically, if you're making the query in the scratch buffer, how can find-var know if you want it to look for a clj or cljs var?
Stuff also has to be loaded into the repl for the queries to work
Tianxiang Xiong
OK, so why does it work for some vars?
Glauber Alex Dias Prado
hi is there some way to take refactor-nrepl out of the boot process for cider-jack-in?
i couldnt figure it out, it is bugging me with this issue puniverse/pulsar#43
hmm it seems expez answered my question already :D
Tassilo Horn
Hi. Is there a way to start a cider repl with some jars in the classpath without having a leiningen project? I just want it in a Java project to be able to play with some static methods.
Tassilo Horn
I know I can start a standalone repl with M-x cider-jack-in outside of a project, but how would I put some jars in the classpath of such a repl?
James Elliott
I think the way to do that is to create the Leiningen project! :smile: A major purpose of the project is to tell tools what needs to be on the class path. If the jars are not from Maven you may need to look into setting them up as local artifacts, using one of the approaches outlined here: https://stackoverflow.com/questions/2404426/leiningen-how-to-add-dependencies-for-local-jars
Petra Jaros
Yesterday, cider-jack-in-clojurescript was starting a Figwheel repl for me; today, after restarting Emacs, it will only start a Rhino repl. My cider-cljs-lein-repl should still be correct, though…
(setq cider-cljs-lein-repl
        "(do (require 'figwheel-sidecar.repl-api)
             (figwheel-sidecar.repl-api/start-figwheel! \"dev\" \"devcards\")
             (figwheel-sidecar.repl-api/cljs-repl \"dev\"))")
Is there more to this that I'm forgetting I did yesterday to make it work? :)
Oh, I did upgrade ClojureScript; could it care about that for some reason?