On Fr, 24 Nov 2017, Lifepillar wrote:
> On 24/11/2017 12:46, Lifepillar wrote:
> >On 24/11/2017 11:36, Christian Brabandt wrote:
> >>Hi,
> >>has anybody stumbled over the fact, that Apple seems to distribute a Vim
> >>version 7.4.8056, which is a version that never actually existed?
> >>
> >>See here
> >>https://github.com/Valloric/YouCompleteMe/issues/2721#issuecomment-317234769
> >>
> >>or here:
> >>https://medium.com/@amit.kulkarni/learn-linux-vim-basic-features-19134461ab85
> >>
> >>(more information here:
> >>https://www.reddit.com/r/vim/comments/7etvld/why_i_love_vim/dq88yk3/)
> >>
> >>I find it very strange, if this is true.
> >
> >In macOS 10.13.1, `/usr/bin/vim --version` returns Vim 8.0 (Included
> >patches: 1-503, 505-642). Vim 8.0.642 is what is shown in the intro
> >screen.
> >
> >(Btw, any idea on why patch 504 has been skipped?)
> >
> >I vaguely remember that in older OS versions there was Vim 7.3, and I
> >have never seen 7.4. But I have always used the version from Homebrew,
> >so I may have missed it.
>
> I put my hands on a machine with macOS Sierra, and, in fact, its version
> is 7.4.8056. It has patch 8.0.0056, though, because invalid filetype
> names raise E474, so that explains the version number.
>
> Much more interesting, IMHO, is trying to understand why they skipped
> patch 504 in the current release. The commit message reads:
>
> patch 8.0.0504: looking up an Ex command is a bit slow
>
> Problem: Looking up an Ex command is a bit slow.
> Solution: Instead of just using the first letter, also use the second
> letter
> to skip ahead in the list of commands. Generate the table with a
> Perl script. (Dominique Pelle, closes #1589)
>
> Maybe related to the fact that they built Vim without +perl (so, maybe
> they didn't have Perl in their build environment)? Are there are commits
> between 1 and 642 that require Perl?
Don't know, but +perl is not needed for that patch I believe.
Best,
Christian
--
"Denn die Götter lehren uns ihr eigenstes Werk nachahmen; doch
wissen wir nur, was wir tun, erkennen aber nicht, was wir nachahmen."
-- Goethe, Maximen und Reflektionen, Nr. 101
--
--
You received this message from the "vim_use" 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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment