Fork me on GitHub
#cider
<
2016-03-29
>
achesnais10:03:26

Hi everyone! I've got a potential feature request for CIDER but I'd first like to get some input before I submit it. Basically, when writing (partial fn ...), CIDER uses eldoc to display the function signature of partial in the minibuffer, as it does for all other Clojure functions. However, I find that partial is a very particular case as more often than not I'm interested in the signature of the function that's being partial-ed, rather than the partial function itself. Was just wondering if I'd be the only one who would find it useful for CIDER to adopt this specific behaviour where partial is concerned.

benedek11:03:21

this would be nice after all higher order functions like map etc

rodeorockstar11:03:49

silly support question (i'm brand-spanking-new to emacs). i followed the Brave Clojure guide for installing cider and can successfully launch a repl, but none of my clojure files indent. new lines always start at col 0. where's a good place to start diagnosing? http://www.braveclojure.com/basic-emacs/

rodeorockstar11:03:23

solved. adding the following to init.el seems to have fixed it

(global-set-key (kbd "RET") 'newline-and-indent)

zzamboni18:03:56

@rodeorockstar: or press Tab on each line, or use https://github.com/Malabarba/aggressive-indent-mode

pbostrom20:03:32

before I spend too much time messing with it, can someone tell me if it's possible to get nodejs/cljs/cider all working together?

rmuslimov20:03:03

looking at cider code, answer is yes. but I actually never tried

rmuslimov20:03:22

I were surprised today with the way cider chose REPL for particular buffer, seems like it depends on :cljsbuild settings in project.clj

rmuslimov20:03:16

so, I had cljs files in my project and called C-c M-J, when my *.cljs buffer I pressed C-c C-z and emacs got me into CLJ buffer.

rmuslimov20:03:34

adding :cljsbuild into project.clj solved the issue

rmuslimov20:03:50

not sure, is that bug or feature simple_smile

pbostrom20:03:15

ok thanks for the feedback