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
Chris Wang
@sound2gd
in terminal I can get that output ,but in cider buffer I got nothing,is that something I set wrong?
Lars Andersen
@expez
It might not be your fault, but a bug or a bad interaction between 'stuff'
Does this happen in a project including various logging libraries?
Chris Wang
@sound2gd
I didn't use logging libraries
just learning clojure basics about how to interact with java classes
and confused about my output
Lars Andersen
@expez
Aight, I think you'll have to open a bug against cider-nrepl if you want this problem solved. It sounds like a bug to me.
Chris Wang
@sound2gd
@expez thank u :)
matthew harwood
@matthewharwood
lol anyone help me with dumb question? Learning a lot at once I don't really know clojure or emacs
but how do you open up the clojure repl from spacemacs?
To open the repl just push SPC m s I
Lars Andersen
@expez
@matthewharwood hit those keys on your keyboard
SPCmeans space, the big button down in the middle of your keyboard
Bozhidar Batsov
@bbatsov
@matthewharwood maybe starting out with spacemacs wasn't the best idea then - they overrride pretty much every default keybinding with vi-style keybindings; if you're not familiar with vim it makes everything extra confusing...
mccraigmccraig of the clan mccraig
@mccraigmccraig
and if you chose to run spacemacs in 'emacs (holy) mode rather than vi (evil) mode then you have the added confusion of translating every occurence of SPC in the docs to meta-m (which will be either alt-m or cmd-m if you are on osx)
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)