tags 383109 + moreinfo unreproducible
thanks

On Tue, Aug 15, 2006 at 03:45:11PM +1200, srdjan wrote:
> Swap files get released only when gvim window is closed, not on file
> close. That way if one is editing multiple files those cannot be closed
> and opened in another window any more without recovery warning.

I can't reproduce it here.

What do you mean with "on file close"?

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)?

In this case the buffer of the abandoned file is unloaded only if
'hidden' is not set. Otherwise the file will still be loaded in vim, and
it is normal that the corresponding swap file is not released.

You can check if this is the case both with ":set" (and look if 'hidden'
is one of the set options), and with ":ls" after having closed (using
your terminology) a file. If you still see the closed file listed than
it has not been really closed by vim.

Cheers.

-- 
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
[EMAIL PROTECTED],debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-

Attachment: signature.asc
Description: Digital signature

Reply via email to