Bug#487385: vim-runtime: netrw explorer does not handle dot files correctly in wide listing mode

Teemu Likonen tlikonen at iki.fi
Sat Jun 21 12:25:46 UTC 2008


Package: vim-runtime
Version: 1:7.1.314-3
Severity: normal

The netrw explorer does not correctly handle files starting with a dot
in wide listing mode. Here's an example:

  $ mkdir temp
  $ cd temp
  $ echo foo1 >.foo1
  $ echo foo2 >.foo2
  $ echo foo3 >.foo3

  $ vim .

Change to the wide listing mode by pressing "i" a couple of times. The
directory contents looks like this:

  ../    .foo1  .foo2  .foo3

Now try to open files .foo1, .foo2 and .foo3 to a preview window by
pressing the "p" key. Files .foo1 and .foo2 open correctly but the file
..foo3 opens as a new file named .foo (i.e., the last character [3] is
missing).

Other listing modes (thin, long and tree) work nicely with dot files.


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

Kernel: Linux 2.6.18-6-k7 (SMP w/1 CPU core)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

vim-runtime depends on no packages.

Versions of packages vim-runtime recommends:
ii  vim-gtk [vim]                1:7.1.314-3 Vi IMproved - enhanced vi editor -

-- no debconf information





More information about the pkg-vim-maintainers mailing list