Fork me on GitHub
#cider
<
2020-02-19
>
bozhidar10:02:18

FYI - I’ve updated clj-refactor.el to use parseedn! party-corgi

cider 12
👍 4
Ian Fernandez14:02:43

hey guys, I'm having a problem on C-x C-e an expression here on emacs

Ian Fernandez14:02:01

error in process filter: eval: Wrong type argument: characterp, nil

Ian Fernandez14:02:13

I dunno why this ocurring

dpsutton14:02:52

can you M-x toggle-debug-on-error to get a stacktrace

Ian Fernandez14:02:28

Debugger entered--Lisp error: (wrong-type-argument characterp nil)
  pretty-font-lock-compose-symbol((("sqrt" . 8730) ("nil" . 8709) ("=>" . 8658) ("->>" . 8608) ("->" . 8594) ("<-" . 8592) ("fn" . 955) ("or" . 8744) ("and" . 8743) ("not" . 172) ("not=" . 8800) (">=" . 8805) ("<=" . 8804)))
  eval((pretty-font-lock-compose-symbol (quote (("sqrt" . 8730) ("nil" . 8709) ("=>" . 8658) ("->>" . 8608) ("->" . 8594) ("<-" . 8592) ("fn" . 955) ("or" . 8744) ("and" . 8743) ("not" . 172) ("not=" . 8800) (">=" . 8805) ("<=" . 8804)))))
  font-lock-fontify-keywords-region(1 4 nil)
  font-lock-default-fontify-region(1 4 nil)
  font-lock-fontify-region(1 4)
  cider-font-lock-as(clojure-mode "nil")
  cider-font-lock-as-clojure("nil")
  cider--display-interactive-eval-result("nil" #<marker at 1700 in missing_authorization_number.clj>)
  #f(compiled-function (buffer value) #<bytecode 0x178c9fd>)(#<buffer missing_authorization_number.clj> "nil")
  #f(compiled-function (response) #<bytecode 0x16648e5>)((dict "id" "35" "ns" "missing-authorization-number" "session" "9d1e083f-27d1-49c2-8e16-5d24b499fea9" "value" "nil"))
  #f(compiled-function (response) #<bytecode 0x166499d>)((dict "id" "35" "ns" "missing-authorization-number" "session" "9d1e083f-27d1-49c2-8e16-5d24b499fea9" "value" "nil"))
  nrepl--dispatch-response((dict "id" "35" "ns" "missing-authorization-number" "session" "9d1e083f-27d1-49c2-8e16-5d24b499fea9" "value" "nil"))
  nrepl-client-filter(#<process nrepl-connection> "d2:id2:352:ns28:missing-authorization-number7:session36:9d1e083f-27d1-49c2-8e16-5d24b499fea95:value3:niled2:id2:357:session36:9d1e083f-27d1-49c2-8e16-5d24b499fea96:statusl4:doneee")

dpsutton14:02:51

looks like a bug in pretty-mode?

Ian Fernandez15:02:20

yeah, deaticvated pretty-mode

FiVo17:02:15

Is it possible to set host and port for cider-connect in dir-local.el?

bozhidar08:02:15

We used to have nrepl-port and nrepl-host vars for this, but we removed them at some point and probably there’s nothing that you can use right now. Shouldn’t be hard to change this, though.

bfay21:02:26

Anyone have tips on debugging weird out of memory repl issues? I'm inconsistently getting this thing where starting a repl in one of my work projects and eval'ing a form in it (sometimes even just a simple (+ 2 2))), I get a timeout and heap space exception. Stack trace is pretty huge but here's most of it in a snippet:

bfay21:02:51

I guess it's something to do with compliment, which is for autocompletion, perhaps getting into an infinite loop?