Higashi wrote:
> ":tab drop file" is moved current window. and more...
>
> CASE1: current window changed on tabpage1.
> $ vim -u NONE -N
> :split
> :tab drop hoge
>
> CASE2: window moved. (window1 moved window2)
> $ vim -u NONE -N
> :tabnew
> :split hoge
> :tab drop hoge
>
> CASE3: target window exist. but tabpage opend.
> $ vim -u NONE -N
> :new hoge
> :tabnew
> :new hoge
> :tab drop hoge
>
>
> Related items from todo list.
> (These are fixed by my patch)
> > ":tab drop buffer.c" always opens a new tab, also if buffer.c is already
> > in an open window. (Herb Sitz, 2011 Nov 17)
>
> > ":tab drop filename" doesn't work nicely when "filename" is open in
> > a window in another tab. (Tony Mechelynck, 2009 Feb 13)
>
>
> I refactored function 'do_arg_all()'.
> Reason:
> When called 'goto_tabpage_tp()', change 'curwin'. But used 'ARGCOUNT'
> and 'ARGLIST' in loop of tabpages.
> ('ARGLIST' and 'ARGCOUNT' macro referrenced 'curwin'.)
>
>
> I wrote a patch. Please check and include.
> https://gist.github.com/1709817
> https://raw.github.com/gist/1709817/gistfile1.txt
Thanks. I'll add it in the todo list.
--
How To Keep A Healthy Level Of Insanity:
8. Don't use any punctuation marks.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php