I started writing a package to do this once, ~15 years ago. Never finished. You can store window layout configurations to a register with C-x r w and restore with C-x r j, so the primitives are there.https://twitter.com/shapr/status/1153023944250802176 …
right! that's exactly what I was starting to do. I'm not saying that you should store stuff in registers; I'm saying that the existence of those two funcs serves as primitives / existence proof that you can do this. I was looking to hook into the change of layout for a callback
-
-
and then my callback was going to store the old config on a stack (wasn't going to use the standard undo stack, but my own). Godspeed, and please ping me if you get this working!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.