Bug#482776: vim: creates undeletable buffer when "set hidden" is enabled

Marc Lehmann debian-reportbug at plan9.de
Sat May 24 23:33:31 UTC 2008


Package: vim
Version: 1:7.0-122+1etch3
Severity: normal


vim-7.1.293-3 created undeletable buffers when the hidden option is set.

how to reproduce:

   echo "set hidden" >$HOME/.vimrc
   vi somedir/CVS   # it must be a CVS directory

this creates a netrw buffer:

   " ============================================================================
   " Netrw Directory Listing                                        (netrw v119)
   "   /localvol/root/src/EV/t/CVS
   "   Sorted by      name
   "   Sort sequence: [\/]$,\.h$,\.c$,\.cpp$,\.[a-np-z]$,*,\.info$,\.swp$,\.o$\.obj$,\.bak$
   "   Quick Help: <F1>:help  -:go up dir  D:delete  R:rename  s:sort-by  x:exec
   " ============================================================================
   ../
   ./
   Entries
   Repository
   Root
   ~
   ~
   "t/CVS" is a directory                                 8:01 66% + 460 0x2E  46

when the :bd command is used, the lowest line changes to:

   "[Scratch]" [RO] 12 lines --66%--                      8:01 66% + 460 0x2E  46           

:ls shows

     1 #h   "t/CVS"                        line 1

I have not found a way to delete this buffer.

Removing either the set hidden option from my .vimrc, or using vim from
stable fixes this problem.


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

Kernel: Linux 2.6.24-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages vim depends on:
hi  libc6                     2.7-10         GNU C Library: Shared libraries
ii  libgpmg1                  1.20.3~pre3-3  General Purpose Mouse - shared lib
ii  libncurses5               5.6+20080203-1 Shared libraries for terminal hand
ii  vim-common                1:7.1.293-3    Vi IMproved - Common files
ii  vim-runtime               1:7.1.293-3    Vi IMproved - Runtime files

vim recommends no packages.

-- no debconf information





More information about the pkg-vim-maintainers mailing list