[vim/vim] vim --version (for branch master, v9.0.2185) gives the text message 'VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Dec 05 2023 17:58:57)' (Issue #13770)

25 views
Skip to first unread message

Federer Fanatic

unread,
Dec 25, 2023, 1:06:12 PM12/25/23
to vim/vim, Subscribed

Steps to reproduce

  1. git branch yields:
  • master
    v9.0.2185
  1. ./configure
    --prefix=$HOME/.local/stow/vim9
    --enable-luainterp=yes
    --enable-mzschemeinterp
    --enable-perlinterp=yes
    --enable-pythoninterp=yes
    --enable-python3interp=yes
    --enable-pythoninterp=yes
    --enable-tclinterp=yes
    --enable-rubyinterp=yes
    --enable-cscope
    --enable-multibyte
    --enable-fontset
    --enable-gui=auto

  2. make -j6

  3. make install

  4. run install vim with --version option or enter ex mode and run :version

Expected behaviour

I did a git clone of the current master branch and compiled. The configure script and version.h clearly have 9 mentioned in the code and yet the toplevel out of the message mentions 8.2. Perhap I misunderstanding something :-)

Version of Vim

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Dec 05 2023 17:58:57) Included patches: 1-579, 1969, 580-1848, 4975, 5016, 5023, 5072, 2068, 1849-1854, 1857, 1855-1857, 1331, 1858, 1858-1859, 1873, 1860-1969, 1992, 1970-1992, 2010, 1993-2068, 2106, 2069-2106, 2108, 2107-2109, 2109-3995, 4563, 46

Environment

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
$BASH_VERSION
5.1.16(1)-release: command not found

Logs and stack traces

No response


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/13770@github.com>

Christian Brabandt

unread,
Dec 25, 2023, 2:39:44 PM12/25/23
to vim...@googlegroups.com, vim/vim, Subscribed
Please show the complete version output 

Am 25.12.2023 um 19:06 schrieb Federer Fanatic <vim-dev...@256bit.org>:


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

---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/vim/vim/issues/13770%40github.com.

zeertzjq

unread,
Dec 25, 2023, 5:37:39 PM12/25/23
to vim/vim, Subscribed

I don't think you are running the Vim version you installed with make install. Maybe make install failed? Try sudo make install.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/13770/1869139038@github.com>

Federer Fanatic

unread,
Dec 25, 2023, 7:33:20 PM12/25/23
to vim/vim, Subscribed

I may not be checking out the correct branch?

I gather if one does:
$ git branch it spits out the current version of the master branch hence
the output is:

* master
v9.0.2185

implies the current master branch is v9.0.2185?
I hope I am understanding git usage correctly?

Does vim load some kind of file which contains the versioning information
that it provides?. I do still have the
vendor supplied vim installed. Or is it indeed compiled into the code.
version.h seems to imply this.


--------------------------------------------------------------
Roger Federer Fanatic Extraordinaire :-)


On Mon, 25 Dec 2023 at 17:37, zeertzjq ***@***.***> wrote:

> I don't think you are running the Vim version you installed with make
> install. Maybe make install failed? Try sudo make install.
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/vim/vim/issues/13770#issuecomment-1869139038>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AFMIO5DZIRWO6YDRX53LNH3YLH5ZFAVCNFSM6AAAAABBCQYD4WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZGEZTSMBTHA>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/13770/1869167287@github.com>

zeertzjq

unread,
Dec 25, 2023, 8:03:09 PM12/25/23
to vim/vim, Subscribed

git branch doesn't show the current version of the master branch. It shows the name of all branches, and here it show that the current branch is master branch, and you have another branch named v9.0.2185.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/13770/1869174819@github.com>

K.Takata

unread,
Dec 25, 2023, 10:48:23 PM12/25/23
to vim/vim, Subscribed

What does git log show?


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/13770/1869231658@github.com>

Christian Brabandt

unread,
Dec 26, 2023, 4:03:37 AM12/26/23
to vim/vim, Subscribed

$HOME/.local/stow/vim9

Is that actually in your path? Please show:

echo $PATH
type vim
which vim

Then from within Vim, please also show:

echo v:progpath

And finally, please show the full :version output


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/13770/1869384981@github.com>

Federer Fanatic

unread,
Dec 28, 2023, 8:10:57 PM12/28/23
to vim/vim, Subscribed

Forget this. There is no problem. I removed the download and did a clone from scratch. It now gives correct version.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/13770/1871656644@github.com>

errael

unread,
Dec 28, 2023, 8:28:57 PM12/28/23
to vim/vim, Subscribed

Forget this. ...

Closing this might be the best way.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/13770/1871662212@github.com>

Federer Fanatic

unread,
Dec 28, 2023, 9:00:00 PM12/28/23
to vim/vim, Subscribed

Closed #13770 as not planned.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issue/13770/issue_event/11354502054@github.com>

Reply all
Reply to author
Forward
0 new messages