Bug#506658: vim-tiny: Tabstop positions calculated incorrectly for values other than 1, 2 and 4

TIguana lobotomy42 at hotmail.com
Sun Nov 23 12:54:40 UTC 2008


Package: vim-tiny
Version: 1:7.1.314-3+lenny2
Severity: normal


Text will be displayed at a column position less than the position where it
should be displayed, when line numbers are enabled using ":se nu", unless
the tabstop position is one of {1, 2, 4}.

To reproduce the bug, type the following:

  echo -e \\ta | vim -u NONE -U NONE "+se nu" "+se ts=3" -

After vim has started, type the following (omitting the leading spaces):

  $a1

The cursor should now be at the "1", but in fact the "1" is displayed three
positions to the left of the cursor.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages vim-tiny depends on:
ii  libc6                 2.7-16             GNU C Library: Shared libraries
ii  libncurses5           5.6+20080830-1     shared libraries for terminal hand
ii  libselinux1           2.0.65-5           SELinux shared libraries
ii  vim-common            1:7.1.314-3+lenny2 Vi IMproved - Common files

vim-tiny recommends no packages.

vim-tiny suggests no packages.

-- no debconf information





More information about the pkg-vim-maintainers mailing list