Timothy Madden wrote:
>> I am really wondering, what the right case is on Windows
>> and what do you need it for?
>
> The Windows file system (NTFS) may be case-insensitive, but it
> is still case-preserving. File names are written and stored in
> the file system preserving the letters' case at all times. You
> can even rename a file from lower-case to upper-case, and
> Windows will always list the file as upper-case than.

While Microsoft played with a GetTrueName system call in a very
old system, there is no such procedure in current Windows
(stupidly irritating).

Vim used to have an amazing trick whereby it determined the real
name by searching for the path components in the full file name,
starting in the root directory. However, the code was completely
rewritten a couple of years ago (to handle Unicode?), and the
amazing trick went away.

There is not even a decent "get real name" library function in
Python that I can find, so it's not likely to happen in Vim.

John

-- 
You received this message from the "vim_use" 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

Reply via email to