View Single Post
Old 12-21-2022, 03:13 PM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,031
Karma: 147977995
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by lomkiri View Post
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.
JSWolf is offline   Reply With Quote