This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-01-20
Channels
- # 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 M-x cider-connect
http://clojurians-log.mantike.pro/cider/2015-12-21.html
Has anyone else seen it, and is there a known fix/resolution?
ahh just seen 0.10.1 was released - upgrading...
Ok after upgrading I still get the error.... The stack trace with M-x toggle-debug-on-error
is:
And in my REPLs terminal:
Looks like it might be issue: https://github.com/clojure-emacs/cider/issues/1386
@malabarba: I’d post your remarks here as well
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
@bozhidar: See https://github.com/cursive-ide/cursive/issues/1195#issuecomment-165486900 and https://github.com/cursive-ide/cursive/issues/168#issuecomment-166114186
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.