by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 23 09:08
    stale[bot] labeled #2867
  • Sep 23 09:08
    stale[bot] commented #2867
  • Sep 20 23:53
    stale[bot] closed #2745
  • Sep 20 23:53
    stale[bot] commented #2745
  • Sep 20 05:52
    bbatsov labeled #2884
  • Sep 20 05:52
    bbatsov labeled #2884
  • Sep 19 19:40
    ericdallo opened #2901
  • Sep 17 09:19
    bbatsov unlabeled #2819
  • Sep 17 09:19
    bbatsov labeled #2819
  • Sep 17 09:19
    bbatsov labeled #2819
  • Sep 17 08:02
    jimka2001 edited #2856
  • Sep 17 08:02
    jimka2001 edited #2856
  • Sep 17 07:36
    stale[bot] unlabeled #2856
  • Sep 17 07:36
    jimka2001 commented #2856
  • Sep 17 04:33
    stale[bot] labeled #2819
  • Sep 17 04:33
    stale[bot] labeled #2856
  • Sep 17 04:33
    stale[bot] commented #2819
  • Sep 17 04:33
    stale[bot] commented #2856
  • Sep 16 11:52

    bbatsov on master

    Bump the injected nREPL version (compare)

  • Sep 15 22:04
    jfacoustic commented #2900
John Stevenson
@jr0cket
@matthewharwood I'm writing a Spacemacs for Clojure tutorial that may help https://practicalli.github.io/spacemacs/
@mccraigmccraig I used Spacemacs in holy (Emacs) mode for 6 months and found the docs easy to follow, but yes you need to remember that the Spacemacs menu is under M-x and not the space bar
John Stevenson
@jr0cket
@bbatsov the Emacs keybindings from are available in Spacemacs, even when you are in Evil / Vi mode. I still sometimes use C-x C-s to save instead of SPC f s
Alexander Yakushev
@alexander-yakushev
@bbatsov Hey, do you think we can deprecate ac-cider now?
matthew harwood
@matthewharwood
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
@matthewharwood
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
@expez
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
@benedekfazekas
@jr0cket syl20bnr/spacemacs#8259
fyi
Никола
@NikolaMandic
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
@ASRagab
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
@vermiculus
@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
@brianfay

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
@mccraigmccraig
@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
@benedekfazekas
@hugoduncan any chance you can have a look on this: pallet/alembic#16 ?
hiredgunhouse
@hiredgunhouse
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
@jr0cket
Is there any function to insert / remove a #_ in front of an expression, so I can quickly comment / uncomment a complete expression?
Tommy Roberson
@swlabrtyr
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
@jr0cket
@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
Bost
@Bost
@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
@benedekfazekas
oi @expez assume this is deployed by accident? https://clojars.org/refactor-nrepl/versions/2.3.0
Lars Andersen
@expez
@benedekfazekas Yeah, didn't even release :(
Sorry about that!
Benedek Fazekas
@benedekfazekas
no worries. things might be inmutable on clojars so i might release 2.3.1 after all...
Lars Andersen
@expez
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
@benedekfazekas
ah lein release does the whole bumping versions etc dance i think
John Stevenson
@jr0cket
@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
@xiongtx
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
@expez
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