by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 05 11:42

    bbatsov on master

    [Docs] Update the FAQ section o… (compare)

  • Jul 05 10:36

    bbatsov on master

    [Docs] Tweak some wording (compare)

  • Jul 05 10:25

    bbatsov on master

    [Docs] Configure Test report ev… (compare)

  • Jul 05 10:25
    bbatsov closed #2851
  • Jul 04 15:10
    touxstone commented #2872
  • Jul 03 18:33
    saramsey commented #1945
  • Jul 02 21:32
    mikepjb commented #2854
  • Jul 02 12:14
    touxstone edited #2872
  • Jul 02 11:01
    bbatsov commented #2872
  • Jul 02 10:37
    touxstone edited #2872
  • Jul 02 10:36
    touxstone opened #2872
  • Jul 02 08:28
    bbatsov labeled #2871
  • Jul 02 08:28
    bbatsov labeled #2871
  • Jul 02 07:10
    dotemacs commented #2861
  • Jul 02 07:05
    bbatsov commented #2861
  • Jul 01 13:32
    stale[bot] labeled #2754
  • Jul 01 08:16

    bbatsov on master

    [Docs] Extend the interactive p… [Docs] Add a couple of xrefs (compare)

  • Jul 01 07:33

    bbatsov on master

    [Docs] Update a couple of versi… (compare)

  • Jul 01 04:27
    bbatsov commented #2871
  • Jul 01 00:43
    haoyuan80s opened #2871
mccraigmccraig of the clan mccraig
@mccraigmccraig
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
Tianxiang Xiong
@xiongtx
OK, so why does it work for some vars?
Glauber Alex Dias Prado
@greboide
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
@tsdh
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
@tsdh
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
@brunchboy
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
@Peeja
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?
Petra Jaros
@Peeja
Oh, drat, I see the problem. I made it buffer-local, and the global value is still the default rhino one.
Is it a bug that Cider doesn't respect the buffer-local value?
jmjoy
@jmjoy
Why not clojure has raw string? such as """ in pthon.
James Elliott
@brunchboy
It doesn’t need them, ordinary Clojure strings can already include newlines.
Patrik
@birdspider
hello, what is the correct way to add java sources/doc to a lein dependency vector so that cider-javadoc knows about them ? (... :classifier "sources" results in error: duplicate class)
Nicolas Almy
@almynic
Hi i'm trying to get ac-cider running but it doesn't work.
Nicolas Almy
@almynic
this is my init.el https://pastebin.com/gqvwAmhB
i added ac-cider but somehow I doesn't work when i'm editing clojure files
Bost
@Bost
Hi I've got a problem with cider--format-reindent: Wrong type argument: arrayp, nil. Does anyone experienced it before?
Bost
@Bost
@jr0cket I improved the comment function(s):
(defun clojure-toggle-reader-comment-fst-sexp-on-line ()
  (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)
          (progn
            (delete-char cmtstr-len)
            (goto-char point-pos1)
            (left-char cmtstr-len))
        (progn
          (insert cmtstr)
          (goto-char point-pos1)
          (right-char cmtstr-len))))))
;; Bound to "s-\" (s is the windows super-key)

(defun clojure-toggle-reader-comment-current-sexp ()
  (interactive)
  (newline-and-indent)
  (clojure-toggle-reader-comment-fst-sexp-on-line))
;; Bound to "C-s-\" (s is the windows super-key)
@jr0cket ... improved and renamed.
@jr0cket Oh yea. Giving good names is hard.
John Stevenson
@jr0cket
Thanknyou @Bost your code is much appreciated
Bost
@Bost
Regarding cask task of clojure-mode. Does anyone know what this means / how to fix it?
$ make test
make: *** No rule to make target '/home/bost/dev/clojure-mode/.cask/25.3/elpa', needed by 'test'.  Stop.
Sean Allred
@vermiculus
Might cask/cask#399 be related?
Bost
@Bost
Hard to tell. I just installed cask. I have to have a look. Thanx for the hint anyway. I realized my $PATH needs some cleanup.