Nazri Ramliy wrote:

> On Fri, Feb 20, 2009 at 9:18 AM, Nazri <[email protected]> wrote:
> > I'm refining the patch - fixing a memory leak (stupid me :), and
> > improving the shortening of the matching paths to get the minimum
> > unique length of each. This is much much better than the simple (and
> > not necessarily correct all the time) "relative to your working
> > directory" or "home directory". The old method just won't work if your
> > path setting does not include your home directory. The new method can
> > produce sufficiently short paths to be comfortably seen on the
> > wildmenu.
> 
> Here's the improved patch.
> 
> There's one major outstanding issue that I'm aware of - it does not
> skip symbolic links. This may result in infinite cycle if there exists
> a symbolic link that creates a cycle in the file system.
> 
> I don't have access to a windows platform so I can't test the patch on
> windows.  It may have problems with those different drive letters.

Thanks, I'll put it in the todo list somewhere.
Would like to get feedback from others.

-- 
hundred-and-one symptoms of being an internet addict:
94. Now admit it... How many of you have made "modem noises" into
    the phone just to see if it was possible? :-)

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