This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-11-24
Channels
- # adventofcode (4)
- # announcements (1)
- # aws (6)
- # babashka (18)
- # babashka-sci-dev (18)
- # beginners (12)
- # calva (43)
- # circleci (3)
- # clj-kondo (96)
- # cljdoc (2)
- # clojure (89)
- # clojure-australia (2)
- # clojure-europe (26)
- # clojure-nl (3)
- # clojure-norway (11)
- # clojure-spec (8)
- # clojure-uk (1)
- # clojurescript (28)
- # cursive (25)
- # datahike (6)
- # datalevin (56)
- # datomic (12)
- # docker (15)
- # emacs (9)
- # events (2)
- # figwheel (3)
- # fulcro (15)
- # gratitude (10)
- # introduce-yourself (8)
- # lsp (16)
- # malli (6)
- # nbb (2)
- # off-topic (23)
- # other-languages (2)
- # pathom (4)
- # portal (25)
- # practicalli (1)
- # re-frame (9)
- # releases (1)
- # shadow-cljs (8)
- # sql (6)
- # timbre (3)
"undo" can "break" for me with some combination of commands sometimes. I always end up undoing with git
Emacs undo/redo is famous for being able to break unexpectedly (you can see some rant at http://xahlee.info/emacs/emacs/emacs_undo_cult_problem.html ). That is also true for packages like undo-tree. The only thing I have never run into problems with is undo-fu
, but I might just have been lucky for some years ;)
There's also some package called undo-tree
iirc which is very useful because it lets you store an entire tree of changes and even inspect every node of the tree
I used undo-tree for quite a while and it also has this issue. Using vundo right now. I suspect the underlying data is cleared. It is interesting that undo-fu worked for years. Maybe I check it
I run into this mysteriously from time to time, really curious if you find a solution! I'm really fond of vundo. But sometimes even that can't get it back. On the plus side, I'm learning to commit more often... :P
Back when I was first learning emacs a couple years ago I found this: https://www.reddit.com/r/emacs/comments/mgkbsk/complex_undo_local_history_gif_demo_inside/ I was able to get it to work after some tweaking, and I really like how well it would work when it did, but it there were some annoying problems I was unable to solve with my dismal skills in elisp at the time so I set it aside. I think the idea has a lot of potential, though.