This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
Morning
@benedek: just seen the new wiki for clj-refactor - like it a lot. Is describe refactoring ‘?’ new?
@benedek Definitely helps with those refactorings u use infrequently.
Might do.
my memory is not what it used to be so anything that helps that! #iamold
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
@xlevus: C-c C-k to load the file in the buffer you’re in. C-c C-x to do cider-refresh everything.
@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 😉
@xlevus: on the cider window thing…not that I’m aware of. If you find owt let me know.
C-c C-m is mapped to macroexpand-1 isn’t it? Are you just expanding a macro?
@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.
@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.
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)
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 programming with it.
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?