Tuesday, January 5, 2010

Re: Possible bug vim7.2 (64-bit) built aut 9 2008)...

Linda W wrote:

> Am running on win7-64bit, GUI w/OLE, and tried leaving HOME
> unset.
>
> I get Can't write viminfo file C:%HOMEPATH%\_viminfo_.
>
> I think HOME expands to %HOMEDRIVE%HOMEPATH%, and it doesn't look like
> it expanded the 2nd part of the HOME ENV Var...?
>
> (Either that or I have some other problem somewhere...:-))...
>
> Is this something that vim should be handling/doing, or is this a known
> problem and vim ain't there yet...?

Where is that %HOMEDRIVE%HOMEPATH% coming from?

AFAIK %HOMEPATH% is optional, when not defined "\" is to be used.
That's at least how $HOME is expanded. Oh wait, that's in the
installer. In Vim itself %HOMEPATH% must be defined for $HOME to work.
But %HOMEPATH% should be defined in the environment.

--
From "know your smileys":
:----} You lie like Pinocchio

/// Bram Moolenaar -- Bram@Moolenaar.net -- 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 ///

No comments: