Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clojure setting #3

Closed
youngker opened this issue Sep 22, 2015 · 1 comment
Closed

clojure setting #3

youngker opened this issue Sep 22, 2015 · 1 comment

Comments

@youngker
Copy link

Hi

I am happy using your emacs configuration.
I meet some issue, using clojure.

  • dash

Latest cider use the '-some->' function from dash, but site-lisp/dash is old.
When I run cider-connect, error occurred

Debugger entered--Lisp error: (wrong-number-of-arguments (1 . 1) 0)
  nrepl--message-color()
  nrepl-log-message((---> "op" "clone" "id" "1"))
  • cli-refactor

An old version site-lisp/clj-refactor

Debugger entered--Lisp error: (wrong-number-of-arguments (2 . 2) 1)
  nrepl-op-supported-p("artifact-list")
  funcall(nrepl-op-supported-p "artifact-list")
  (not (funcall pred it))
  (if (not (funcall pred it)) (progn (setq result (cons it result))))
  (let ((it (car list))) (if (not (funcall pred it)) (progn (setq result (cons it result)))))
  (while list (let ((it (car list))) (if (not (funcall pred it)) (progn (setq result (cons it result))))) (setq it-index (1+ it-index)) (setq list (cdr list)))
  (let ((list list) (it-index 0)) (while list (let ((it (car list))) (if (not (funcall pred it)) (progn (setq result (cons it result))))) (setq it-index (1+ it-index)) (setq list (cdr list))))
  (let (result) (let ((list list) (it-index 0)) (while list (let ((it (car list))) (if (not (funcall pred it)) (progn (setq result (cons it result))))) (setq it-index (1+ it-index)) (setq list (cdr list)))) (nreverse result))
  -remove(nrepl-op-supported-p ("artifact-list" "artifact-versions" "clean-ns" "configure" "extract-definition" "find-debug-fns" "find-symbol" "find-unbound" "hotload-dependency" "rename-file-or-dir" "resolve-missing" "stubs-for-interface" "version" "warm-ast-cache"))
  (let ((missing-ops (-remove (quote nrepl-op-supported-p) cljr--nrepl-ops))) (if missing-ops (progn (cider-repl-emit-interactive-err-output (format "WARNING: The following nREPL ops are not supported:\n%s\nPlease, install (or update) refactor-nrepl and restart REPL.\nYou can mute this warning by changing cljr-suppress-middleware-warnings." (s-join " " missing-ops))))))
  cljr--check-nrepl-ops()
  (if cljr-suppress-middleware-warnings nil (cljr--check-nrepl-ops) (cljr--check-middleware-version))
  cljr--init-middleware()
  run-hooks(nrepl-connected-hook)
  nrepl-start-client-process("localhost" 57968)
  cider-connect("localhost" 57968)
  • packages-install need some below packages

edn, inflections, hydra

Thanks

@youngker
Copy link
Author

closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant