Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • 07:57
    manuel-uberti closed #2975
  • 07:57
    manuel-uberti commented #2975
  • 07:49
    manuel-uberti commented #2975
  • 07:46
    manuel-uberti edited #2975
  • 07:42
    manuel-uberti opened #2975
  • Jan 27 12:50
    Bost commented #2970
  • Jan 27 09:03
    dakra commented #2946
  • Jan 27 07:05
    dpsutton commented #2972
  • Jan 27 06:40

    bbatsov on master

    Reintroduce main opts for jvm o… (compare)

  • Jan 27 06:40
    bbatsov closed #2974
  • Jan 27 06:40
    bbatsov commented #2974
  • Jan 27 06:28
    dpsutton synchronize #2974
  • Jan 27 06:27
    dpsutton commented #2970
  • Jan 27 06:27
    dpsutton commented #2970
  • Jan 27 06:26
    dpsutton opened #2974
  • Jan 27 02:26
    jmckitrick commented #2946
  • Jan 27 00:59
    dpsutton commented #2970
  • Jan 27 00:57
    dpsutton commented #2970
  • Jan 27 00:55
    dpsutton commented #2970
  • Jan 27 00:44
    pdbrown commented #2946
Alexander Yakushev
@bbatsov Hey, do you think we can deprecate ac-cider now?
matthew harwood
if I need to require a ns like (require 'clojure.set)
how do I run in cider repl
(= #{1 2 3 4 5} (clojure.set/union #{1 2 3} #{2 3 4})
currently running SPC m s f
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? 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 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