From a frame first-frame containing two Emacs windows, win-one displaying buffer buf-one and win-two displaying buf-two, I'd like to be able to 'break' win-two off into its own frame, perhaps using a modifier-click on the modeline. After this,
- both win-one and win-two would retain their individual height/width and buffer associations they had when in first-frame
- win-one would stay in the same first-frame, and win-two would now be in a new, separate second-frame
- original position, color and font settings would be retained where possible
I was wondering if this behavior was available somewhere in the standard library, if there was an extension for it, or perhaps if a small elisp function would work?