Nazri Ramliy wrote:

> Can anyone else reproduce this in the latest vim hg?:
> 
> #  In toplevel directory of vim source code:
> $ mkdir  src/a
> $ cp src/misc1.c src/a
> 
> # This works fine:
> $ vim -c 'set path=./**' -c 'find misc1.c' -c 'find misc2.c' -c 'find misc1.c'
> 
> # This doesn't work:
> $ vim -c 'set path=./**' -c 'find misc1.c' -c 'find misc2.c' -c 'find
> misc1.c' -c 'find misc2.c'

I don't think that's a bug.  "./**" means relative to the current file,
thus if ":find misc1.c" edits "a/misc1.c" then ":find misc2.c" won't
find a file, there is no a/**/misc2.c.

-- 
Bad fashion can discourage normal people from interacting with the engineer
and talking about the cute things their children do.
                                (Scott Adams - The Dilbert principle)

 /// 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