Wolfgang Schmidt wrote:
when I try to write (:w) a certain buffer, I get E505 (~ "file XXX is
write-protected, override with w!").
The protection seems to be set by Vim, not the OS (WinXP). So I looked
for the "readonly" option value,
but it's set to "noreadonly". I also checked "write", which is set to
"write". Nevertheless, everytime I try to
:w the file, I get this E505 dialog. Any hints? I'm running Gvim 7.0 on
Win XP)
are you able to write the file with ":w!"? If not, the file might be
opened exclusively or with write-access denied by another program.
Regards,
Jürgen
With ":w!" the file can be written, so this can't be the problem.
Thanks, though ...
Wolfgang