Bug#732388: vim-gnome: getbufvar(NR, '') vs. getbufvar(bufname(NR), '')

Ph. Marek philipp.marek at linbit.com
Tue Dec 17 14:43:03 UTC 2013

Package: vim-gnome
Version: 2:7.4.052-1
Severity: normal

I'm not sure how that happened or whether I can reproduce it, but I just got
the state that
   echo getbufvar(NR, '')
gives a different result to
   echo getbufvar(bufname(NR), '')

The first only returns
while the second says
   {'ycm_changedtick': {'file_ready_to_parse': -1}, 'balloondict': {},
'infodict': {}}
(which is the expected result).

Don't know why that happens; the filename includes a "+", but that's not
sufficient to trigger the issue.

Setting new variables via
   let b:foo={}
makes them pop up in the longer variant, but not in the shorter.

-- Package-specific info:

--- real paths of main Vim binaries ---
/usr/bin/vi is /usr/bin/vim.gnome
/usr/bin/vim is /usr/bin/vim.gnome
/usr/bin/gvim is /usr/bin/vim.gnome

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vim-gnome depends on:
ii  libacl1             2.2.52-1
ii  libbonoboui2-0      2.24.3-1
ii  libc6               2.17-97
ii  libgdk-pixbuf2.0-0  2.28.2-1+b1
ii  libglib2.0-0        2.36.4-1
ii  libgnome2-0         2.32.1-4
ii  libgnomeui-0        2.24.5-2
ii  libgpm2             1.20.4-6.1
ii  libgtk2.0-0         2.24.22-1
ii  libice6             2:1.0.8-2
ii  liblua5.1-0         5.1.5-5
ii  libpango-1.0-0      1.36.0-1
ii  libperl5.18         5.18.1-5
ii  libpython2.7        2.7.6-3
ii  libruby1.9.1
ii  libselinux1         2.2.1-1
ii  libsm6              2:1.2.1-2
ii  libtinfo5           5.9+20130608-1
ii  libx11-6            2:1.6.2-1
ii  libxt6              1:1.1.4-1
ii  tcl8.5              8.5.14-2
ii  vim-common          2:7.4.052-1
ii  vim-gui-common      2:7.4.052-1
ii  vim-runtime         2:7.4.052-1

vim-gnome recommends no packages.

Versions of packages vim-gnome suggests:
ii  cscope            15.8a-1
ii  gnome-icon-theme  3.10.0-1
ii  ttf-dejavu        2.33+svn2514-3
pn  vim-doc           <none>

-- no debconf information

More information about the pkg-vim-maintainers mailing list