Nazri Ramliy wrote:

> On Wed, Jul 28, 2010 at 8:53 AM, Nazri Ramliy <[email protected]> wrote:
> > On Wed, Jul 28, 2010 at 2:44 AM, Nazri Ramliy <[email protected]> wrote:
> >> When I set 'path' to something like "c:\src\**" the completion doesn't 
> >> work:
> >>
> >>    :find <tab>
> >>
> >> has no effect.
> >
> > When the patch is applied on top of my patches sent in [1], vim (on
> > Windows) crashes.
> >
> > I'll investigate this later.
> 
> I've found that the current implementation of the completion for
> find/sfind/tabfind will not work on Windows due to the
> non-availability of the equivalent "mch_expand_wildcards" for
> that platform:
> 
> $ grep -l mch_expand_wildcards os_*.c
> os_riscos.c
> os_unix.c
> os_vms.c
> 
> A related issue is highlighted by Ingo Karkat in a recent thread [1].

I have included the recent patches, but not the one that resets
"recursive" in gen_expand_wildcards().  That is probably causing that
crash.

It appears to do what I expect it to do.  ":find term<Tab>" gives a nice
list of the possible matches, in the local directory and in
/usr/include.

I did a few minor style edits.  I did fix that one function was
returning a struct from the stack, that doesn't work reliably.
It wasn't needed anyway.

I haven't checked the code for correctness.  Please test!

Please make further patches on top of the current version.

-- 
I used to wonder about the meaning of life.  But I looked it
up in the dictionary under "L" and there it was - the meaning
of life.  It was less than I expected.              - Dogbert

 /// 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.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui