On 03/08/10 13:41, Chris Sutcliffe wrote:
On 3 August 2010 07:32, Yue Wu wrote:
I've tried vim73 on windows 2000, it's from someone's compiled version, not
the offical one. With new version, I find that $VIM is the same as
$VIMRUNTIME, and set to vim73 home dir, not like 7.2, which is the upper dir
of the vim72 home dir, so,

in vim72

$vim:<path>/vim/
$vimruntime:<path>/vim/vim72

in vim 73

$vim:<path>/vim/vim73
$vimruntime:<path/vim/vim73

is it consistent with the offical one? I think it's not good for that,
because I have to move my .vimrc, .gvimrc and vimfiles/ into vim73 home dir
or do some other trick to make different version shared with the same
script/conf files.

Using my self compiled version of vim73d (latest hg update):

vim: C:\Program Files\Vim
vim runtime: C:\Program Files\Vim\vim73d

which is consistent with previous versions of Vim.

Chris


Yes, I also get

$VIM = ...something.../vim (on Linux, /usr/local/share/vim )
$VIMRUNTIME = $VIM/vim73d

which are correct. In the very first few changesets of 73d there was a glitch, in that the Linux distribution installed itself (when "make install" was invoked) in $VIM/vim73d but the executable looked for its runtimes in $VIM/vim73c. This, however, has been corrected.

If the expected $VIM/vim<version> directory is not found, Vim has a number of fallbacks, including $VIM, which may explain what Yue Wu saw. This is explained in more detail under

        :help $VIM
        :help $VIMRUNTIME

The exact value of vim<version> is defined near the end the src/version.h source file, as the value of the VIM_VERSION_NODOT define.


HTH,
Tony.
--
So when I saw the post to comp.editors, I rushed over to the FTP site to
grab it.  So I yank apart the tarball, light x candles, where x= the
vim version multiplied by the md5sum of the source divided by the MAC of
my NIC (8A3FA78155A8A1D346C3C4A), put on black robes, dim the lights,
wave a dead chicken over the hard drive, and summon the power of GNU GCC
with the magic words "make config ; make!".
                [Jason Spence, compiling Vim 5.0]

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