On Wed, May 28, 2008 at 08:00:46PM -0400, James Vega wrote: > 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
The above is working with v125. > 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 The above is still working as described. Another data point is that deleting buffer 1 via ":1bd" stops the continually respawning buffer behavior. > 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]>
signature.asc
Description: Digital signature

