Fork me on GitHub
#clojure-uk
<
2019-02-01
>
alexlynham10:02:07

right, fixed the js buffers

alexlynham10:02:18

also undo-tree -> how did I live without this?

alexlynham10:02:40

I've been using emacs since 2014 and somehow only just started using undo-tree

✨ 10
otfrom10:02:30

I still don't use undo tree

otfrom10:02:46

tho it does look cool

alexlynham10:02:16

when you get it running globally, it overrides C-x-u so it pops up the visual tree of undos for you

alexlynham10:02:27

like, I've been pairing with a slightly more inexperienced engineer who's a) a vimmer and b) remote b/c under the weather and it's been an absolute godsend when we've been talking through which version of e.g. an implementation is right or whatnot

alexlynham10:02:18

e.g. 'jump back three steps and start from there, remove that bit' <I do that, we then go off down a route> 'okay, let's jump back to start of the branch'

alexlynham10:02:38

very intuitive way of communicating around the changes you're making if you're kind of spiking around a problem...

πŸ‘ 5
maleghast10:02:51

πŸ™‚

πŸ‘‹ 5
otfrom11:02:42

@alex.lynham those are good reasons for adoption

maleghast14:02:51

@alex.lynham - That sounds intriguing...

rickmoynihan15:02:04

M-x undo-tree-visualize is essential Emacs AFAIAC πŸ™‚

alexlynham15:02:50

^ at least in the most recent version that default binds to C-x-u which means your muscle memory for undo auto displays the tree πŸ˜„

alexlynham15:02:29

tho it has to be said, remote pairing takes much more brainpower than pairing on something when you're on the same desk

rickmoynihan15:02:30

I use undo-tree probably 3 or 4 times a day β€” mainly to navigate back to a previous state of the file, copy something from the past, fast forward again, and paste it into the present.

bronsa15:02:22

undo-tree is one of the emacs must-haves along with magit and org-mode imo

bronsa15:02:45

the on-disk tree persistence saved my ass quite a few times

rickmoynihan15:02:26

it really saved my ass the other day actually

rickmoynihan15:02:26

A bug in a rogue test suite following a merge deleted my whole source tree and essentially a days worth of work, instead of just cleaning up the files it had created during the test run. I was very glad to have undo-tree then.

alexlynham16:02:36

it is genuinely brill