Dedicate Windows with toggle-window-dedicated

You’ve carefully arranged your windows just the way you want them - source code on the left, tests on the right, maybe a shell at the bottom. Then you run some command that calls display-buffer, and suddenly one of your carefully placed windows gets hijacked to show a *Help* buffer or a compilation log. We’ve all been there. The display-buffer machinery is one of Emacs’s most powerful features,…