-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 OK, it is how you described it, I did have the "hidden" option set. Now that I removed it it works as it used to. Sorry for troubling you. To my defence I can only say that the "hidden" option must have sneaked in with an upgrade, and "Hide buffers when they are abandoned" hint was a bit too cryptic for me to make the connection. Thanks.
Cheers, Srdjan Stefano Zacchiroli wrote: > [ please keep the Cc to [EMAIL PROTECTED] when replying, so that > the bug report keep track of our discussion, it may be useful to > others ] > > On Thu, Aug 24, 2006 at 10:35:55AM +1200, Srdjan wrote: >>> Do you mean "abandoned" (using vim's manual terminology), that happens >>> for instance when you ":e" a file while editing another one (in this >>> case the latter is abandoned)? >> I'm referring to the situation where you have two files, lets say a.txt and >> b.txt, in split windows. When you close a.txt in one split window with :q or >> :x, >> and stay with b.txt only, hat should release (remove) .a.txt.swp. That is not >> happening. > > You're not answering my question: do you have the "hidden" option set or > not? If you do, the behaviour you're observing is normal, since in fact > executing :x does not force the unloading of the buffer from vim's > memory. > > Look at the difference. > > Case (1), option "hidden" set > ----------------------------- > > $ vim -o a.txt b.txt > ... editing, then executing ":x" on a.txt ... > > executing :ls will show: > > :ls > 1 #h "a.txt" line 1 > 2 %a "b.txt" line 1 > > as you can see a.txt is still loaded and indeed .a.txt.swp is on my > filesystem > > Case (2), option "hidden" *not* set > ----------------------------------- > > $ vim -o a.txt b.txt > ... editing, then executing ":x" on a.txt ... > > executing :ls will show: > > :ls > 1 # "a.txt" line 1 > 2 %a "b.txt" line 1 > > (note how buffer 1 is not hidden as it was above) > no file .a.txt.swp is on my filesystem > > Are you in case (1) or (2)? > > If you are in (1) it is not a bug, but the documented behaviour of vim. > If you are in (2) it can be a bug, but I can't reproduce it on my > system. > > Cheers. > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE7h9uZtcHxCitRpgRAsvJAJ4wSEWREEgbjJJ3JZ2wBsRbFXsZmgCbBbwM 6pFDSFYKF9aGVgvFD033iCk= =b1Wh -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]