This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-23
Channels
- # admin-announcements (2)
- # arachne (2)
- # beginners (76)
- # boot (241)
- # cider (14)
- # cljsrn (2)
- # clojars (3)
- # clojure (94)
- # clojure-android (12)
- # clojure-dev (33)
- # clojure-gamedev (1)
- # clojure-greece (3)
- # clojure-india (1)
- # clojure-nl (2)
- # clojure-quebec (3)
- # clojure-russia (21)
- # clojure-spec (38)
- # clojure-uk (72)
- # clojurescript (62)
- # cursive (20)
- # datascript (3)
- # datomic (14)
- # devcards (1)
- # dirac (14)
- # emacs (11)
- # hoplon (7)
- # jobs (2)
- # keechma (1)
- # lein-figwheel (9)
- # leiningen (9)
- # luminus (1)
- # off-topic (6)
- # om (13)
- # onyx (30)
- # planck (181)
- # proton (3)
- # re-frame (6)
- # reagent (6)
- # specter (108)
- # spirituality-ethics (7)
- # untangled (3)
I'm not sure, but you may want to use forward-sexp
instead of paredit-forward
for those who use smart parens or just the built-in lisp.el.
hey guys, I'm encountering a weird error with cider (i'm not really sure when it started). Instead of showing the output of clojure.tools.logging/info
to my *cider-repl*
window, it's complaining about Error in process filter [nREPL]: no response handler with id nil found
. nrepl.messages
only shows the message that it was supposed to be logged, but no other messages. Cider seems to be hanging afterwards 😕
or maybe the question is, how can i redirect the output of logging to cider-repl window?
(defn add
[& many]
(apply + many))
(defn randomize
[n]
(rand-int n))
#dbg
(defn add-two-nums
[n1 n2]
(add (randomize n1) (randomize n2)))
I want to debug add-two-nums
.
but every time there is a function call, i also want to know what’s going on in that function (in this case randomize
and add
.@dhruv1: you can instrument those functions with #dbg too. Or you can step through the function with i
instead of n
.
the reason i don’t want to instrument those functions is because they can be in different namespaces.
@robert-stuttaford: i am guessing the problem with project-clean
is here: https://github.com/clojure-emacs/clj-refactor.el/blob/master/clj-refactor.el#L2649-L2650
can you replace this with:
(when (and (not *cljr--noninteractive*)
(buffer-modified-p))
(save-buffer))
and let me know if it helped@escherize: ah, good advice, thx!