Your message dated Thu, 12 Oct 2006 07:23:42 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#392553: vim-gtk: incorrect buffer number shown in gvim
window titlebar
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: vim-gtk
Version: 1:7.0-094+1
Severity: minor
Vim/Gvim is not reporting the correct buffer number (when editting multiple
files) in the window's titlebar. It remains as "(1 of n)" (where n is
the number of edited files, which is reported correctly) throughout
switching the buffer number to be edited.
Steps to reproduce the problem:
1) vim input1 input2 input3
Vim starts up on the "input1" file. The titlebar reads:
"input1 (~) (1 of 3) - VIM"
2) Switch to the next buffer, either with ":b2" or ":bn"
The titlebar now reads:
"input2 (~) ((1) of 3) - VIM"
3) Cicle through the buffers until the first one. The titlebar now
reads:
"input1 (~) (1 of 3) - VIM"
Note however, the titlebar is sensible to info from Vim, since the "+"
sign for a changed file appears if changes are done in the file (as it
should happen).
This was observed in the IceWM/unstable window manager.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (200, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-kanotix-1
Locale: LANG=C, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Versions of packages vim-gtk depends on:
ii libatk1.0-0 1.12.3-1 The ATK accessibility toolkit
ii libc6 2.3.6.ds1-5 GNU C Library: Shared libraries
ii libcairo2 1.2.4-1 The Cairo 2D vector graphics libra
ii libfontconfig1 2.4.1-2 generic font configuration library
ii libglib2.0-0 2.12.4-1 The GLib library of C routines
ii libgpmg1 1.19.6-22 General Purpose Mouse - shared lib
ii libgtk2.0-0 2.8.20-2 The GTK+ graphical user interface
ii libice6 1:1.0.1-2 X11 Inter-Client Exchange library
ii libncurses5 5.5-4 Shared libraries for terminal hand
ii libpango1.0-0 1.14.4-2 Layout and rendering of internatio
ii libsm6 1:1.0.1-3 X11 Session Management library
ii libx11-6 2:1.0.0-9 X11 client-side library
ii libxcursor1 1.1.7-4 X cursor management library
ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar
ii libxfixes3 1:4.0.1-4 X11 miscellaneous 'fixes' extensio
ii libxi6 1:1.0.1-3 X11 Input extension library
ii libxinerama1 1:1.0.1-4.1 X11 Xinerama extension library
ii libxrandr2 2:1.1.0.2-4 X11 RandR extension library
ii libxrender1 1:0.9.1-3 X Rendering Extension client libra
ii libxt6 1:1.0.2-2 X11 toolkit intrinsics library
ii vim-common 1:7.0-094+1 Vi IMproved - Common files
ii vim-gui-common 1:7.0-094+1 Vi IMproved - Common GUI files
ii vim-runtime 1:7.0-094+1 Vi IMproved - Runtime files
vim-gtk recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
On Thu, Oct 12, 2006 at 09:32:29AM +0100, João Batista wrote:
> Vim/Gvim is not reporting the correct buffer number (when editting multiple
> files) in the window's titlebar. It remains as "(1 of n)" (where n is
> the number of edited files, which is reported correctly) throughout
> switching the buffer number to be edited.
This is expected behavior. You're confusing the use of two different
lists in Vim -- the buffer list and the args list. The buffer list is
traversed using :bn, :bp, :b #, etc. The args list is traversed using
:next, :prev, :argu #, etc.
> Steps to reproduce the problem:
> 1) vim input1 input2 input3
> Vim starts up on the "input1" file. The titlebar reads:
> "input1 (~) (1 of 3) - VIM"
> 2) Switch to the next buffer, either with ":b2" or ":bn"
> The titlebar now reads:
> "input2 (~) ((1) of 3) - VIM"
The '(1)' indicates that you are viewing a different buffer than the
buffer associated with the first item in the args list.
> 3) Cicle through the buffers until the first one. The titlebar now
> reads:
> "input1 (~) (1 of 3) - VIM"
":help arglist" gives a brief description of the differences.
James
--
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[EMAIL PROTECTED]>
signature.asc
Description: Digital signature
--- End Message ---