Your message dated Wed, 28 May 2008 20:00:46 -0400
with message-id <[EMAIL PROTECTED]>
has caused the   report #482776,
regarding vim: creates undeletable buffer when "set hidden" is enabled
to be marked as having been forwarded to the upstream software
author(s) Charles E Campbell Jr <[EMAIL PROTECTED]>

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
482776: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482776
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Charles,

When a user has "set hidden", there is odd behavior when browsing
directories.

  vim .
  :ls!
  1 #h   "~/"                           line 1
  2u%a-  "[Scratch]"                    line 8
  " Vim is displaying buffer 2
  :bd
  " The command succeeds but to the user nothing has changed
  :ls!
  1u%a-  "/home/jamessan"               line 8
  2u  -  "[No Name]"                    line 1
  " Now buffer 1 is being displayed

  mkdir -p foo/bar
  vim foo/bar
  :ls!
  1 #h   "foo/bar"                      line 1
  2u%a-  "[Scratch]"                    line 8
  " Vim is displaying buffer 2
  :bd
  " The command succeeds but to the user nothing has changed
  :ls!
  1 #h   "foo/bar"                      line 1
  2u  -  "[No Name]"                    line 1
  3u%a-  "[Scratch]"                    line 8
  " A new buffer has been created
  :b 1
  " Let's try looking at the original buffer
  :ls!
  1 #h   "foo/bar"                      line 1
  2u  -  "[No Name]"                    line 1
  3u  -  "[No Name]"                    line 1
  4u%a-  "[Scratch]"                    line 8
  " Yet another new buffer has been created instead of switching to buffer 1

Everything works fine, though, if you "vim foo".  The buffer presented
to the user is buffer 1 and deleting it does leave you in a new blank
buffer.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to