This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # aatree (42)
- # admin-announcements (25)
- # alda (28)
- # aws (56)
- # beginners (67)
- # boot (248)
- # braid-chat (9)
- # cider (52)
- # cljsrn (11)
- # clojars (4)
- # clojure (341)
- # clojure-czech (5)
- # clojure-japan (3)
- # clojure-nl (2)
- # clojure-russia (57)
- # clojured (10)
- # clojurescript (35)
- # community-development (18)
- # cursive (17)
- # datascript (5)
- # datomic (39)
- # dirac (25)
- # editors (2)
- # events (3)
- # hoplon (60)
- # jobs (5)
- # ldnclj (9)
- # leiningen (5)
- # mount (20)
- # off-topic (3)
- # om (263)
- # onyx (69)
- # perun (5)
- # proton (55)
- # re-frame (7)
- # reagent (24)
- # spacemacs (6)
- # yada (16)
@juhoteperi an opposite example from the same repo: https://github.com/ring-clojure/ring/blob/master/ring-core/src/ring/middleware/file_info.clj#L50
In other lisps (LISP-2) it even makes a little sense to make the arguments look different from the function; because the arguments are resolved by value, while the function is resolved by it's function-binding
But Clojure is a LISP-1, so there's no difference between the arguments and the function itself.
The head of the list can be a symbol (which is resolved by value just like all the args), or it can be a map, a vector, a keyword, etc
Macros are different. If a var is a macro you can't take its value, so it is special. A macro form is not just a list with a macro at the head.
I’ve installed CIDER to try to reproduce an issue that a user is having when switching from CIDER to Cursive.
I can’t reproduce it, but I need to make sure that compliment is being used for the completions.
But I get no completion when typing, and even if I M-x auto-complete I can’t reproduce the issue. How can I be sure it’s using compliment?
I'm getting the same error as reported here in emacs/cider/cider-nrepl 0.10.0 - on connection when running
Has anyone else seen it, and is there a known fix/resolution?
Ok after upgrading I still get the error.... The stack trace with
M-x toggle-debug-on-error is:
Looks like it might be issue: https://github.com/clojure-emacs/cider/issues/1386
I’m open to making this behaviour configurable in
clojure-mode in the interest of cross-tool collaboration
@cfleming cider will do completion out of the box with company-mode, but I think auto-complete-mode requires a bit more setup
I've never used auto-complete-mode with cider, but I believe there are instructions on the readme
@malabarba: even with the built-in Emacs completion you’ll still be using compliment
It’s a bug in the Cursive debugger, but the only person who can reproduce it reliably sees it with compliment as described in those comments.
@bozhidar: So if I get this:
Possible completions are: defmacro (clojure.core) <m> defmethod (clojure.core) <m> defmulti (clojure.core) <m>