On Mar 31, 2:49 pm, Edward Beach <[email protected]> wrote:
> On Mar 31, 1:33 pm, Charles Campbell <[email protected]>
> wrote:
>
>
>
> > Edward Beach wrote:
>
> > > Actually I think I spoke too soon... I didn't notice before because
> > > the error message gets cleared from view but when I disable shellslash
> > > I get the follow errors on the AutoInstall...
>
> > > considering <"AutoInstall: Decho.vim> scriptid=120 srcid=1
> > > ...download new <Decho.vba.gz>
> > > line 192:
> > > E739: Cannot create directory C:/Documents\ and\ Settings/edward.beach/
> > > vimfiles/GetLatest/Installed
> > > line 221:
> > > E484: Can't open file Decho.vba
> > > line 237:
> > > E344: Can't find directory "C:\Documents\ and\ Setting/edward.beach/
> > > vimfiles/GetLatest in cdpath
> > > E472: Command failed
>
> > Your GetLatestVimScripts.dat file should not have any :AutoInstall:
> > modifiers in it.
>
> > Regards,
> > Chip Campbell
>
> I'm confused.  When I run GLVS, it modifies my GetLatestVimScripts.dat
> and adds scripts entries with the :AutoInstall: in them.  For example,
> with only the Decho package manually installed, if I remove all lines
> from my GetLatestVimScripts.dat, i.e
>
> ScriptID SourceID Filename
> --------------------------
>
> then it will add the following lines when i run GLVS:
>
> 120 9388 :AutoInstall: Decho.vim
> 1066 1 :AutoInstall: cecutil.vim
>
> and it goes on to try to auto-install them.  Likewise, when I remove
> the Decho package and pretty much have vim in a state akin to straight
> out of the box, the GLVS commands adds the following lines:
>
> 642 8136 :AutoInstall: getscript.vim
> 1075 1 :AutoInstall: netrw.vim
> 1502 1 :AutoInstall: vimball.vim
>
> Is this behavior normal?

Hi Chip,

I went looking through your autoload script v32b and found this chunk
of code:

   " don't process plugins in system directories
   if firstdir == ""
    let firstdir= substitute(plugin,'[/\\][^/\\]\+$','','')
"    call Decho("setting firstdir<".firstdir.">")
   else
    let curdir= substitute(plugin,'[/\\][^/\\]\+$','','')
"    call Decho("curdir<".curdir.">")
    if curdir != firstdir
"     call Decho("skipping subsequent plugins: curdir<".curdir."> !=
firstdir<".firstdir.">")
     break
    endif
   endif

The comment suggest that if your script is in your system director (in
my case C:\Program files\Vim\vim72\plugins) then they should not be
included my ~/vim/GetLatest/GetLatestVimScript.dat file.  But I don't
understand what's going on with firstdir and curdir since I couldn't
find them anywhere else in the script.  I think this would explain why
my system plugins (getScriptPlugin.vim, netrwPlugin.vim and
vimballPlugin.vim) are added to my GetLatestVimScript.dat. Am I
missing something?

Also with respect to not having any :AutoInstall: in the
GetLatestVimScript.dat, you say:

> > Your GetLatestVimScripts.dat file should not have any :AutoInstall:
> > modifiers in it.

But this is from the help file:

> To let GetLatestVimScripts do an autoinstall, the data file's comment field
> should begin with (surrounding blanks are ignored):
>
>       :AutoInstall:
>
> Both colons are needed, and it should begin the comment (yourscriptname)
> field.

Any ideas?

Thanks,
Edward
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to