Comment #8 on issue 28 by [email protected]: out of the box, gVim 7.3.46 for Win32 cannot write swap files on Windows 7
http://code.google.com/p/vim/issues/detail?id=28

Starting Vim from the start menu (which admittedly I've never done in 15+years using it until just now) sets the current working directory to C:\Windows\system32, which is not writeable to normal users, thus giving the swap file error. It's not a common usage scenario, but the fix is pretty simple.

The root issue is that neither C:\TMP and C:\Temp exist by default on Windows and haven't for a long time, so the swap file fails in any folder that the user can't write to. The default value of directory on Win32 should probably be ".,$TMP,$TEMP" (or maybe ".,C:\TMP,C:\Temp,$TMP,$TEMP" for maximum backwards compatibility with older versions of Windows. I'm not sure when exactly the change of temp dirs happened).


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui