Using gvim 7.2.108 (Huge) with GTK2/Gnome2 GUI

I notice the following about the ":tab" command. Are they intended?

1) When "filename" is already open in a window, ":tab drop filename" 
_moves_ that window to the bottom in the _current_ tab. I would have 
expected it to open the window without moving it, ignoring the ":tab" 
prefix since in this case Vim doesn't attempt to open a new split-window.

2) ":tab help" opens $VIMRUNTIME/doc/help.txt in a new tab even if there 
already is a help window. I would have expected it to reuse the current 
help window.

Rationale for the above: I read the following under ":help :tab":
>               Execute {cmd} and when it opens a new window open a new tab
>               page instead.  Doesn't work for |:diffsplit|, |:diffpatch|,
>               |:execute| and |:normal|.

The key phrase for my reasoning is "when it opens a new window" in the 
help text above. If the command doesn't try to open any new window 
(i.e., to split it off, otherwise it would be an "old" window), I would 
expect the ":tab" prefix to have no effect, like the ":to[pleft]"  and 
":bo[tright]" prefix have no effect when there is no split (for 
instance, ":bot help" opens the existing help window, if there is one 
anywhere in the current tab, and doesn't move it to the bottom).


Best regards,
Tony.
-- 
There's nothing better than good sex.  But bad sex?  A peanut butter
and jelly sandwich is better than bad sex.
                -- Billy Joel

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui