Wednesday, June 20, 2012

wording ambiguity in help for 'Z' option in cpoptions.

In the help on cpoptions, I find this line confusing:

Z When using "w!" while the 'readonly' option is set,
don't reset 'readonly'.

---
What does 'reset' mean?

If you wrote to the file, that implicitly means you had to
unset the file's readonly value, so I can read the above to
mean "Don't" reset the readonly-flag to it's original value,

OR it could be read, don't reset vim's 'readonly' flag to (not readonly)
even though w! overrides read-only status, and it had to be "reset" in
order to write to it.

So the above could, from my interpretations, be read either way...

Maybe "don't restore readonly status after a write"?
or don't unset readonly status after a write?

(Which is it?)

thanks
Linda

--
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

No comments:

Post a Comment