Discussion about all editors used for Clojure/ClojureScript
jcsims 2015-06-07T02:37:34.000632Z

@romain: λ brew info emacs

emacs: stable 24.5 (bottled), devel 24.5-dev, HEAD
/usr/local/Cellar/emacs/24.5 (3923 files, 118M) *
  Built from source with: --with-cocoa, --with-gnutls, --with-imagemagick

romain 2015-06-07T09:52:06.000634Z

Thanks. I think I'll just add imagemagick for Emacs mac port.

xlevus 2015-06-07T15:26:00.000635Z

how do people use the cider repl while writing code? It seems every time I try and use cider I get some namespace error of somekind or another.

arrdem 2015-06-07T17:47:35.000636Z

@xlevus care to elaborate?

xlevus 2015-06-07T17:49:32.000637Z

at the moment, I'm writing a macro in a file, and then switching to the REPL buffer, and writing (require 'mymodule :reload) to reload my code and then (macroexpand '(mymodule/mymacro a b c d)).

xlevus 2015-06-07T17:49:53.000638Z

which seems awfully tedious

xlevus 2015-06-07T17:54:11.000639Z

I've probably missed something along the way. There's a lot of 'cider is great', but I'm strugling to actually feel like I'm using it efficiently.

jcsims 2015-06-07T17:56:55.000640Z

@xlevus: might want to check these out: https://github.com/clojure-emacs/cider#keyboard-shortcuts

arrdem 2015-06-07T18:00:05.000642Z

Read The Fine Manual

arrdem 2015-06-07T18:00:10.000643Z


bozhidar 2015-06-07T21:53:38.000645Z

@xlevus: Seems to you don’t understand how cider is supposed to be used. Unfortunately I never had the time to do video tutorials, but you can see the tutorial for slime here https://www.youtube.com/watch?v=_B_4vhsmRRI While the keybindings and the commands are different here and there, the core ideas are the same

bozhidar 2015-06-07T21:54:56.000647Z

long story short - you’re supposed to re-evaluate only the stuff you change; no need to reload namespaces all the time