On 01/12/12 21:55, Marc Weber wrote:
Why do you write readonly files at all? What is your use case?
Just from my use-cases, on Win32 I all-too-often end up doing the
following:
1) open a CSV file in Excel
2) open the same CSV file in Vim (comes up RO)
3) make some changes in Vim
4) try to :w the file...doh!
5) try to :w! the file...curse Windows limitations
6) close Excel
7) finally a :w! succeeds
8) optionally :set noro
Sometimes the order of 1&2 get swapped, so Vim things it's
'noreadonly', only to have writes fail for the same reason (Excel
holds the file open, and Win32 file-systems aren't smart enough
to trust that I know what I mean when I write the file).
-tim
--
You received this message from the "vim_use" 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