Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • 11:15
    maacl commented #2891
  • 10:56
    bbatsov commented #2891
  • 10:30
    maacl opened #2891
  • 06:41
    bbatsov commented #2890
  • 06:13
    Glademist commented #2890
  • 05:41
    bbatsov commented #2890
  • 05:30
    Glademist opened #2890
  • 04:51
    andreyorst commented #2887
  • 04:44
    bbatsov commented #2887
  • 04:41
    bbatsov commented #2888
  • 04:39
    bbatsov labeled #2888
  • Aug 13 21:12
    bbatsov commented #2889
  • Aug 13 21:12

    bbatsov on master

    Fix a typo in cider-info-form … (compare)

  • Aug 13 21:12
    bbatsov closed #2889
  • Aug 13 21:00
    j-cr opened #2889
  • Aug 13 07:38

    bbatsov on master

    Add Emacs 27 to the build matrix (compare)

  • Aug 13 06:44

    bbatsov on master

    Bump the clojure-mode dep (compare)

  • Aug 13 06:32

    bbatsov on master

    Bump the development version (compare)

  • Aug 13 06:31

    bbatsov on master

    Bump the piggieback version (compare)

  • Aug 12 10:26
    bbatsov commented #2808
matthew harwood
but it fails
WARNING: Use of undeclared Var clojure.set/union at line 1 <cljs repl>
org.mozilla.javascript.EcmaError: TypeError: Cannot read property "union" from undefined (rhino.clj#41)
matthew harwood
I can add it manually to the repl
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 Stevenson
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 Stevenson
@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?
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 Stevenson
@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: