To: vim-dev@vim.org Subject: Patch 7.2a.004 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 7.2a.004 Problem: Some systems can't get spell files by ftp. Solution: Use http when it looks like it's possible. (James Vega) Files: runtime/autoload/spellfile.vim *** ../vim-7.2a.003/runtime/autoload/spellfile.vim Wed Jun 25 00:32:04 2008 --- runtime/autoload/spellfile.vim Fri Jun 27 20:14:05 2008 *************** *** 1,9 **** " Vim script to download a missing spell file " Maintainer: Bram Moolenaar ! " Last Change: 2008 May 29 if !exists('g:spellfile_URL') ! let g:spellfile_URL = 'ftp://ftp.vim.org/pub/vim/runtime/spell' endif let s:spellfile_URL = '' " Start with nothing so that s:donedict is reset. --- 1,15 ---- " Vim script to download a missing spell file " Maintainer: Bram Moolenaar ! " Last Change: 2008 Jun 27 if !exists('g:spellfile_URL') ! " Prefer using http:// when netrw should be able to use it, since ! " more firewalls let this through. ! if executable("curl") || executable("wget") || executable("fetch") ! let g:spellfile_URL = 'http://ftp.vim.org/pub/vim/runtime/spell' ! else ! let g:spellfile_URL = 'ftp://ftp.vim.org/pub/vim/runtime/spell' ! endif endif let s:spellfile_URL = '' " Start with nothing so that s:donedict is reset. *** ../vim-7.2a.003/src/version.c Fri Jun 27 20:41:33 2008 --- src/version.c Fri Jun 27 20:55:59 2008 *************** *** 678,679 **** --- 678,681 ---- { /* Add new patch number below this line */ + /**/ + 4, /**/ -- hundred-and-one symptoms of being an internet addict: 100. The most exciting sporting events you noticed during summer 1996 was Netscape vs. Microsoft. /// 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 ///