4 thoughts on “Avoiding window takeover in Emacs”

  1. As one of the comments in that thread mentions, winner-mode is a trivial answer to the general problem. A single keystroke will undo whatever it was that Emacs did to your window config.

    It’s also incredibly useful for undoing *intentional* window configuration changes, of course — after all, you’ll have no hesitation in maximising a window for temporary readability when you know that a single keystroke restores the multi-split window config you started with.

  2. …and it’s also worth pointing out that it’s not just the most recent change which is remembered — even after a whole series of window config changes, winner-mode enables you to step back through them all to get back to where you began. Just add (winner-mode 1) to your init file, and your life will be improved.

Leave a Reply

Your email address will not be published. Required fields are marked *