On Tue, 1 Aug 2006, Bruce Stephens wrote:
If I have the default workspace (WIonWS) split into two nice tall
frames, how can I get each new window to appear in the other frame?
At the moment I'm using emacs with pop-up-frames set to t, because
that's convenient for reviewing multifile patches: I view the patch in
one emacs frame, and the actual file can pop up in its own (emacs)
frame. What I'd like is for that other (emacs) frame to appear in the
other (ion) frame, so it doesn't obscure the patch.
(Really I want it to be configurable, because I guess sometimes I
wouldn't want this, but I'm assuming it will be configurable
anyway---I just can't quite see how to do it.)
From the "Lua: " query use mod_query.query_renameframe(_) to rename the
target frame, then use winprops/kludges for what you want. Though you
might have some difficulty using this if emacs doesn't set different
roles/etc. on each window.
If it doesn't then you can use a one-shot winprop that matches any
window and apply it on the fly, right before you hit t in emacs, but
that's more work (though closer to what you said you might want, that is
active only when you want it to be and not all the time).
-Etan