well there are two issues:

- what happens if the window has been closed? this isn't too hard to
  deal with, but the choices mostly suck. either keep the window around
  anyway until the pane goes, iterate over all panes and fix them on
  window close, or store the index instead of the window

- what happens if the layout has been changed? could deal with this by
  giving the layout a generation number but that is annoying to
  maintain, or by just joining the pane to the active pane in the origin
  window regardless of where it orginally was




On Wed, Aug 18, 2010 at 04:15:58PM +0200, Florian CROUZAT wrote:
> While talking in #tmux, I came with the following enhancement idea that I'd 
> love to have.
> 
> I have this use case where I have a few windows, each full of panes, I focus 
> a window (say, window 2), and I use break-pane on the one I want to read 
> "full-screen" (it now has it's own window).
> I do my stuff, then I want to put the pane back in it's original window, and 
> I can't have a keyboard bind for that because I have to manually specify the 
> window's index using :join-pane -t 2
> 
> What I'd like to have is the ability to bind "join-pane -t origin" to put it 
> back automagically on it's source window.
> Tmux somehow would have to store the window's index in the pane structure 
> when breaking it.
> 
> Is that realistic ?
> 
> -----
> Florian.
> / For security reasons, all text in this mail 
>   is double-rot13 encrypted. /
> 
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by 
> 
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev 
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to