Nazri Ramliy wrote:
> On Tue, Jul 20, 2010 at 8:06 AM, Nazri Ramliy <[email protected]> wrote:
> > On Tue, Jul 20, 2010 at 12:47 AM, björn <[email protected]> wrote:
> >> Oh, I didn't realize that. Well, I can confirm that ":fin" behaves
> >> identical to ":tabf" (duplicate entries).
> >
> > I can reproduce the duplicate entries.
> >
> > I'll look into this.
>
> Attached patch solves the duplicate entry.
>
> While fixing this bug I found another:
>
> If you have these files:
>
> $HOME/a/Makefile
> $HOME/a/b/Makefile
>
> and your path is set to '$HOME/a/**',
> and your CWD is $HOME/a,
>
> doing :find Make<tab>
>
> will show "a/Makefile" (correct) and "b/Makefile" (WRONG) as the
> possible completions.
>
> "b/Makefile" should really be "Makefile".
>
> The function uniquefy_paths in misc1.c shortens the list of full path
> file names without taking into account the values in 'path' option.
>
> I'll look into fixing this too.
Thanks, this works better. I included this patch and made a few
cosmetical changes.
I also see duplicates in the form "./term.h" and "term.h". The "./" has
no effect, thus these two names are the same. The complete list is:
./term.h include/term.h term.h
--
There can't be a crisis today, my schedule is already full.
/// 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