David M. Besonen wrote:

> win xp home sp3
> gvim 7.2
>
>
> issue:  vim recovery will not work unless orphaned vim swap
> file extension begins with "sw"
>
>
> scenario:
>
>  os crashes while gvim has a number of unnamed editing
>  sessions opened
>
>  after rebooting the os, i locate the orphaned vim swap file
>
>  the file is named _.svz (windoze crashes a lot)
>
>  when i attempt "vim -r _.svz" this message is returned:
>  "E305: No swap file found for _.svz"
>
>  i then change the filename to _.swz
>  and issue the "vim -r _.swz" command
>   and the file is recovered
>
>
> can anyone confirm this same behavior?  and whether this is a
> bug or a feature?


I can reproduce it on Linux too (Vim-7.2.267).  File ".svz" can't be
recovered with "vim -r .svz".  And Ex command ":recover .svz" gives
the following error:

  "E305: No swap file found for .svz"

But file can successfully be recovered after renaming it:

   $ mv .svz .swz
   $ vim -r .swz

I suppose that it's a bug.
-- Dominique

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to