What sign of modifier do you want against :8 ? :l ?
Or new function?

On Monday, May 21, 2012 1:50:15 AM UTC+9, Bram Moolenaar wrote:
> Yasuhiro Matsumoto wrote:
> 
> > I'm working this but I can't get solved yet.
> > 
> > vim_FullName can't get original filename.
> > 
> > 'c:/docume~1/mattn' is full path. And GetFullPathName don't expand short 
> > name.
> > I had another issue even if my patch is included.
> > 
> > If user make Dictionary that has keys of loaded script filename, I
> > guess the user hope to normalize filename, i.e. key of the dict. They
> > will use ":scriptnames" show up messages. But it's relative names from
> > ~/. And, <sfile> return full path (but not long path). Currently vim
> > doesn't provide way to convert short filename to long filename. Then,
> > it may duplicate entries.
> > 
> > I'm finding way to fix this problem.
> 
> I see.  The intention of vim_FullName() is that the result is a file
> name that can be compared.  Since we don't want it to return 8.3 names,
> it should expand 8.3 names into their long name.  That avoids editing a
> file once by its short name and once by its long name ends up with two
> buffers for the wrong file, we don't want that.
> 
> There could be a separate function to short filenames to their 8.3 form,
> although it's for a very limited audience and only works on some file
> systems.  Thus I would not encourage using that.
> 
> -- 
> FIRST VILLAGER: We have found a witch.  May we burn her?
>                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
> 
>  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
> ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
> \\\  an exciting new programming language -- http://www.Zimbu.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