This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-02-01
Channels
- # aleph (1)
- # announcements (2)
- # aws (3)
- # bangalore-clj (1)
- # beginners (136)
- # boot (3)
- # calva (89)
- # cider (44)
- # cljdoc (1)
- # cljs-dev (31)
- # clojure (101)
- # clojure-europe (3)
- # clojure-italy (52)
- # clojure-nl (7)
- # clojure-spec (12)
- # clojure-uk (34)
- # clojurescript (62)
- # community-development (46)
- # cursive (25)
- # datomic (6)
- # duct (26)
- # events (6)
- # figwheel-main (4)
- # fulcro (25)
- # graphql (2)
- # jackdaw (4)
- # jukebox (3)
- # kaocha (57)
- # leiningen (31)
- # off-topic (3)
- # onyx (4)
- # other-languages (22)
- # pathom (18)
- # re-frame (9)
- # reitit (3)
- # shadow-cljs (60)
- # spacemacs (9)
- # speculative (22)
- # sql (39)
- # tools-deps (45)
- # vim (37)
mΓ₯ning
Morning
Hmmm I think this is my issue https://emacs.stackexchange.com/questions/23877/what-is-causing-my-javascript-files-to-auto-format
Morning
right, fixed the js buffers
also undo-tree
-> how did I live without this?
I've been using emacs since 2014 and somehow only just started using undo-tree
when you get it running globally, it overrides C-x-u
so it pops up the visual tree of undos for you
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
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'
very intuitive way of communicating around the changes you're making if you're kind of spiking around a problem...
@alex.lynham those are good reasons for adoption
@alex.lynham - That sounds intriguing...
M-x undo-tree-visualize
is essential Emacs AFAIAC π
^ 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 π
tho it has to be said, remote pairing takes much more brainpower than pairing on something when you're on the same desk
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.
it really saved my ass the other day actually
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.
it is genuinely brill