Re: move-window doesn't work with -r

2015-04-01 Thread Jan Larres
On 02/04/15 09:10, Thomas Adam wrote: > On Wed, Apr 01, 2015 at 04:01:56PM +1300, Jan Larres wrote: >> Okay, after some experimenting I finally understood how the -r option works: >> it renumbers the windows in the target session. I think that could use some >> clarification in the man page. > > I'

Re: move-window doesn't work with -r

2015-04-01 Thread Thomas Adam
On Wed, Apr 01, 2015 at 04:01:56PM +1300, Jan Larres wrote: > On 01/04/15 12:53, Thomas Adam wrote: > > Renumbering of winlinks only happens when the winlink is > > killed/destroyed (assuming renumber-windows session option). The point > > of 'movew -r' is solely to renumber the winlinks. You ca

Re: move-window doesn't work with -r

2015-03-31 Thread Jan Larres
On 01/04/15 12:53, Thomas Adam wrote: > Renumbering of winlinks only happens when the winlink is > killed/destroyed (assuming renumber-windows session option). The point > of 'movew -r' is solely to renumber the winlinks. You can use it with > -t to specify the target, but NOT -s for the source.

Re: move-window doesn't work with -r

2015-03-31 Thread Thomas Adam
On Wed, Apr 01, 2015 at 12:22:27PM +1300, Jan Larres wrote: > Are you saying that "move-window -r" is essentially a completely different > command that doesn't actually involve moving windows? That is not made clear > in the man page, and is not exactly intuitive. I had interpreted the option to >

Re: move-window doesn't work with -r

2015-03-31 Thread Jan Larres
Hi, On 31/03/15 19:53, Thomas Adam wrote: > On 31 Mar 2015 04:26, "Jan Larres" > wrote: >> there seems to be a bug in the move-window command when using the -r option. >> >> Let's assume I have a session "0" with two windows and a session "1" with one >> window. In of

Re: move-window doesn't work with -r

2015-03-30 Thread Thomas Adam
Hi, This is because -r is a separate operation to how the rest of movew works. Thomas Adam On 31 Mar 2015 04:26, "Jan Larres" wrote: > Hi, > > there seems to be a bug in the move-window command when using the -r > option. > > Let's assume I have a session "0" with two windows and a session "1"

move-window doesn't work with -r

2015-03-30 Thread Jan Larres
Hi, there seems to be a bug in the move-window command when using the -r option. Let's assume I have a session "0" with two windows and a session "1" with one window. In of the windows from session 0 I run the command: tmux move-window -t 1: which correctly moves the window to session 1. The