Quote:
Originally Posted by lomkiri
I am the author of this request, but in fact, my concern was with "save-as", not "save". I agree with Falsifier that it shouldn't be possible to overwrite a RO file, not without warning, at least, but my problem was that it wasn't possible to "save as" to a new file either, which would be the expected behavior. So I've lost my work on that epub. The change you've made at that time solved this issue, but a side-effect was that RO files were not protected anymore (I've noticed it at that time, but said nothing, I didn't want to bother you).
I don't know if I understand the code of your present patch correctly, but it seems that you've put a warning, but no option to desist. Am I right ? If it's the case, I think it would be welcome to be able to desist, and to "save as" instead.
|
There's no reason to desist. Sometimes I load a file in the editor to try something or look at some code and I don't want to save. So if it was read-only, it would not bother me. But if I was editing to make changes and it came up with a warning, I'd exit the editor and deal with the problem.