Henrik Ohman wrote:

> Scenario:
> 
> mkdir src && mkdir src/sub
> touch src/foo.c src/foo.h src/sub/foo.c src/sub/foo.h
> vim -u NONE -N -c "args src/**/*.[ch]" -c "set wildmode=longest"
> 
> On Linux (tested with 7.1.138) and Cygwin (tested with 7.2), these commands>  
> complete successfully:
> 
> :b src<Tab>s<Tab>      => :b src/sub/foo.
> :b src/s<Tab>          => :b src/sub/foo.
> :b src/sub/foo<Tab>    => :b src/sub/foo.
> 
> just like one would expect. On Windows (tested with gVim/Vim 7.2.77), they > 
> all fail to complete the longest match
> 
> :b src<Tab>s<Tab>      => :b src\s
> :b src\sub<Tab>        => :b src\sub
> :b src/sub<Tab>        => :b src/sub
> :b src\sub\foo<Tab>    => :b src\sub\foo
> 
> I have seen this behaviour since at least the last patches of 7.1, but I th> 
> ought it was an oddity rather than a bug, until I started investigating the>  
> behaviour on Linux.
> 
> Can someone confirm this behaviour on Windows?

I'll add a remark in the todo list about this.  Don't expect this to be
fixed soon though, the todo list is very long.

-- 
Time is an illusion.  Lunchtime doubly so.
                -- Ford Prefect, in Douglas Adams'
                   "The Hitchhiker's Guide to the Galaxy"

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

Raspunde prin e-mail lui