Re: Vim version 7.1a BETA -- runtime files ?

2007-05-08 Thread Bram Moolenaar

Yakov Lerner wrote:

   On 5/5/07, Bram Moolenaar [EMAIL PROTECTED] wrote:
Announcing:  Vim (Vi IMproved) version 7.1a BETA
  
   I compared runtime files form ftp [1] and from svn [2].
   Both vims are labeled vim71a. But many runtimes are different.
   In svn, many files are labeled 2007. In ftp, they are 2006 versions.
   Why this difference in runtimes ?
  
   Yakov
   [1] ftp://ftp.vim.org/pub/vim/unstable/unix/vim-7.1a.tar.bz2
   [2] https://svn.sourceforge.net/svnroot/vim/vim7
 
  Do I need to hunt down the differences?  Please give a specific example.
  What label are you talking about?
 
 At closer examination, differences turned out to be in $Id..$, $Revision..$
 $Date...$ lines only, except for one file which has read differences:
 runtime/autoload/spellfile.vim -- see diffs below.
 By labels I meant the cvs  $Id...$ keywords and other $..$ keywords.
 Full diffs are attached. Diffs are produced by the script diff-vim-ftp-svn.sh,
 also attached.

Oh, the CVS version lines.  I ignore them.  In my opinion meta
information should not be inside the file.

The spellfile.vim script was changed by the one patch that went out for
Vim 7.1a.  Fixed a conflict with netrw changes that so far went
unnoticed.

So nothing to worry about.

-- 
Ed's Radiator Shop: The Best Place in Town to Take a Leak.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- 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///


Vim version 7.1a BETA -- runtime files ?

2007-05-07 Thread Yakov Lerner

On 5/5/07, Bram Moolenaar [EMAIL PROTECTED] wrote:

Announcing:  Vim (Vi IMproved) version 7.1a BETA


I compared runtime files form ftp [1] and from svn [2].
Both vims are labeled vim71a. But many runtimes are different.
In svn, many files are labeled 2007. In ftp, they are 2006 versions.
Why this difference in runtimes ?

Yakov
[1] ftp://ftp.vim.org/pub/vim/unstable/unix/vim-7.1a.tar.bz2
[2] https://svn.sourceforge.net/svnroot/vim/vim7


Re: Vim version 7.1a BETA -- runtime files ?

2007-05-07 Thread Bram Moolenaar

Yakov Lerner wrote:

 On 5/5/07, Bram Moolenaar [EMAIL PROTECTED] wrote:
  Announcing:  Vim (Vi IMproved) version 7.1a BETA
 
 I compared runtime files form ftp [1] and from svn [2].
 Both vims are labeled vim71a. But many runtimes are different.
 In svn, many files are labeled 2007. In ftp, they are 2006 versions.
 Why this difference in runtimes ?
 
 Yakov
 [1] ftp://ftp.vim.org/pub/vim/unstable/unix/vim-7.1a.tar.bz2
 [2] https://svn.sourceforge.net/svnroot/vim/vim7

Do I need to hunt down the differences?  Please give a specific example.
What label are you talking about?

-- 
hundred-and-one symptoms of being an internet addict:
84. Books in your bookcase bear the names Bongo, WinSock and Inside OLE

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- 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///


Re: Vim version 7.1a BETA -- runtime files ?

2007-05-07 Thread Yakov Lerner

On 5/8/07, Bram Moolenaar [EMAIL PROTECTED] wrote:


Yakov Lerner wrote:

 On 5/5/07, Bram Moolenaar [EMAIL PROTECTED] wrote:
  Announcing:  Vim (Vi IMproved) version 7.1a BETA

 I compared runtime files form ftp [1] and from svn [2].
 Both vims are labeled vim71a. But many runtimes are different.
 In svn, many files are labeled 2007. In ftp, they are 2006 versions.
 Why this difference in runtimes ?

 Yakov
 [1] ftp://ftp.vim.org/pub/vim/unstable/unix/vim-7.1a.tar.bz2
 [2] https://svn.sourceforge.net/svnroot/vim/vim7

Do I need to hunt down the differences?  Please give a specific example.
What label are you talking about?


At closer examination, differences turned out to be in $Id..$, $Revision..$
$Date...$ lines only, except for one file which has read differences:
runtime/autoload/spellfile.vim -- see diffs below.
By labels I meant the cvs  $Id...$ keywords and other $..$ keywords.
Full diffs are attached. Diffs are produced by the script diff-vim-ftp-svn.sh,
also attached.


diff -r --exclude=.svn
/var/tmp/vim-untar/vim71a/runtime/autoload/spellfile.vim
/var/tmp/vim-svn/vim7/runtime/autoload/spellfile.vim
3c3
  Last Change:2006 Aug 29
---

 Last Change:2007 May 06

60a61

 Remember the buffer number, we check it below.

61a63

let newbufnr = winbufnr(0)

67c69,88
   g/^/d
---

   Careful: Nread() may have opened a new window for the error message,
   we need to go back to our own buffer and window.
  if newbufnr != winbufnr(0)
  let winnr = bufwinnr(newbufnr)
  if winnr == -1
 Our buffer has vanished!?  Open a new window.
echomsg download buffer disappeared, opening a new one
new
setlocal bin
  else
exe winnr . wincmd w
  endif
  endif
  if newbufnr == winbufnr(0)
   We are back the old buffer, remove any (half-finished) download.
g/^/d
  else
  let newbufnr = winbufnr(0)
  endif


73c94
   bwipe!
---

  exe newbufnr . bwipe!

99,101c120
   if getline(2) !~ 'VIMsug'
 echo 'Sorry, downloading failed'
   else
---

  if getline(2) =~ 'VIMsug'

103a123,136

set nomod
  else
echo 'Sorry, downloading failed'
 Go back to our own buffer/window, Nread() may have taken us to
 another window.
if newbufnr != winbufnr(0)
  let winnr = bufwinnr(newbufnr)
  if winnr != -1
exe winnr . wincmd w
  endif
endif
if newbufnr == winbufnr(0)
  set nomod
endif

105d137
   set nomod
109c141,142
 bwipe
---

 Wipe out the buffer we used.
exe newbufnr . bwipe


diffs
Description: Binary data


diff-vim-ftp-svn.sh
Description: Bourne shell script


Re: Vim version 7.1a BETA -- runtime files ?

2007-05-07 Thread Yakov Lerner

On 5/8/07, Yakov Lerner [EMAIL PROTECTED] wrote:

Full diffs are attached. Diffs are produced by the script diff-vim-ftp-svn.sh,
also attached.


Re-sending attachments which came out zero-length in previous email.

Yakov


diffs
Description: Binary data


diff-vim-ftp-svn.sh
Description: Bourne shell script


Re: Vim version 7.1a BETA -- runtime files ?

2007-05-07 Thread Edward L. Fox

On 5/8/07, Yakov Lerner [EMAIL PROTECTED] wrote:

On 5/8/07, Bram Moolenaar [EMAIL PROTECTED] wrote:

 Yakov Lerner wrote:

  On 5/5/07, Bram Moolenaar [EMAIL PROTECTED] wrote:
   Announcing:  Vim (Vi IMproved) version 7.1a BETA
 
  I compared runtime files form ftp [1] and from svn [2].
  Both vims are labeled vim71a. But many runtimes are different.
  In svn, many files are labeled 2007. In ftp, they are 2006 versions.
  Why this difference in runtimes ?
 
  Yakov
  [1] ftp://ftp.vim.org/pub/vim/unstable/unix/vim-7.1a.tar.bz2
  [2] https://svn.sourceforge.net/svnroot/vim/vim7

 Do I need to hunt down the differences?  Please give a specific example.
 What label are you talking about?

At closer examination, differences turned out to be in $Id..$, $Revision..$
$Date...$ lines only, except for one file which has read differences:


These tags are automatically updated when the files are committed into
the cvs repository. So it's very normal that the cvs versions are
different from Bram's local versions.


runtime/autoload/spellfile.vim -- see diffs below.
By labels I meant the cvs  $Id...$ keywords and other $..$ keywords.
Full diffs are attached. Diffs are produced by the script diff-vim-ftp-svn.sh,
also attached.


diff -r --exclude=.svn
/var/tmp/vim-untar/vim71a/runtime/autoload/spellfile.vim
/var/tmp/vim-svn/vim7/runtime/autoload/spellfile.vim
3c3
  Last Change:2006 Aug 29
---
  Last Change:2007 May 06
60a61
  Remember the buffer number, we check it below.
61a63
 let newbufnr = winbufnr(0)
67c69,88
   g/^/d
---
Careful: Nread() may have opened a new window for the error message,
we need to go back to our own buffer and window.
   if newbufnr != winbufnr(0)
   let winnr = bufwinnr(newbufnr)
   if winnr == -1
  Our buffer has vanished!?  Open a new window.
 echomsg download buffer disappeared, opening a new one
 new
 setlocal bin
   else
 exe winnr . wincmd w
   endif
   endif
   if newbufnr == winbufnr(0)
We are back the old buffer, remove any (half-finished) download.
 g/^/d
   else
   let newbufnr = winbufnr(0)
   endif

73c94
   bwipe!
---
   exe newbufnr . bwipe!
99,101c120
   if getline(2) !~ 'VIMsug'
 echo 'Sorry, downloading failed'
   else
---
   if getline(2) =~ 'VIMsug'
103a123,136
 set nomod
   else
 echo 'Sorry, downloading failed'
  Go back to our own buffer/window, Nread() may have taken us to
  another window.
 if newbufnr != winbufnr(0)
   let winnr = bufwinnr(newbufnr)
   if winnr != -1
 exe winnr . wincmd w
   endif
 endif
 if newbufnr == winbufnr(0)
   set nomod
 endif
105d137
   set nomod
109c141,142
 bwipe
---
  Wipe out the buffer we used.
 exe newbufnr . bwipe




The svn version is the same with the cvs version. And it seems that
the svn version is much newer than the ftp version.


Regards,

E.L.Fox