Morning
@benedek: just seen the new wiki for clj-refactor - like it a lot. Is describe refactoring ‘?’ new?
yup. nice addition from expez (lars)
Nice, didn’t notice that myself
@benedek Definitely helps with those refactorings u use infrequently.
would a menu like thing help?
specifically thinking of emacs/clj newcommers
Might do.
having a menu acts as a good cheat sheet. 😉
my memory is not what it used to be so anything that helps that! #iamold
cljr-helm is useful
I use https://github.com/kai2nenobu/guide-key bound to certain key combo’s like C-c for cider.
back when I was writing a clojure refactoring tool for emacs (https://github.com/tcrayford/clojure-refactoring RIP), I just had an ido
menu for all the refactorings. Really liked that.
How do you make cider reload shit? I'm fucking around with a macro in one file, and doing C-c C-m on a expression in another file. But it hasn't picked up on any of the changes
I think that approach works generally for all text editing stuff - if it's not commonly used, it should be in an ido
menu. Really dislike emacs setups that have hundreds of keybindings bound under prefixes
small flurry of ldnclj mailing list sign ups
@xlevus: C-c C-k to load the file in the buffer you’re in. C-c C-x to do cider-refresh everything.
cheers
@otfrom: ‘small flurry’ is that a rodent or a marsupial?
what about window-choosing? Is there a way to tell which window cider will put stuff in? I still haven't worked it out, and at the moment its opening up buffers in windows i'm 'using'
@agile_geek: it could be a small mcdonalds icecream.
@xlevus: bit commercial but I like it 😉
McDonalds. The eat-Freshmaker.
@xlevus: on the cider window thing…not that I’m aware of. If you find owt let me know.
ahaha
ffs.
5 mins ago C-c C-m worked.
now it doesn't
oh now it does. yay
C-c C-m is mapped to macroexpand-1 isn’t it? Are you just expanding a macro?
yeah
I think I had a compile error when starting the REPL and it didn't tell me
@xlevus: If you don’t cider-load-file (C-c C-k) it probably isn’t evaluating the entire file so you could have compilation errors.
compile errors on REPL start usually end up in Messages
sigh, can't show the earmuffs on that
*Messages*
bleh
fuck it. back to vim. Too much funky shit in emacs.
xlevus: vim is an excellent editor. There are many who love it.
yeah. I thought I'd give emacs a go as cider (apparently) has better Clojure tooling
but ultimately I find it just does things I consider borderline retarded all the time
@xlevus: I struggled with it but I wasn’t used to vim either (IDE’s like Eclipse/Netbeans/IDEA)
I'm just finding it too inconsistent. Sometimes Cider opens the macroexpansion in window 1, other times in 3, other times in 2.
sometimes clojure-mode activates, other times it doesn't.
@xlevus: there's a way to override that ofc 😉
sure
the emacs way: horrible defaults, millions of lines of code in everybody's .emacs, and everybody rediscovers the same set of configurations over 20 years of using it
(I used to be an emacs user, switched to vim ~1 year into writing clojure regularly)
well, I went straight to spacemacs. Which I kinda liked.
but trying to work out where to beat it into submission probably isn't worht the time when the end-game is clojure.
Trying spacemacs at the moment, the main reason to not stay with my other workflow in vim is I wanted to to try out Org-mode, and literate :clj: programming with it.
'literate' programming?
ah
it’s the extreme version of documenting your code
:( somebody turned off Giphy
@xlevus: yeah, it had to be replaced by the logbot 😕
Talk by Karsten Schmidt at skills matter a few weeks ago actually demonstrates Literate Programming in amongst some really cool graphical rendering and art installations https://skillsmatter.com/explore?content=&location=&q=all+the+thi.ngs
Thanks @agile_geek I will have a look .. Has your talk gone online yet?
nope