Bug#383109: vim-perl: Swap files not released on file close

Stefano Zacchiroli zack at debian.org
Mon Aug 21 06:58:41 UTC 2006


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
zack@{cs.unibo.it,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. -!-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20060821/b28a2cec/attachment.pgp


More information about the pkg-vim-maintainers mailing list