[Github-comments] [geany] Deleting file outside of Geany when Autosave is enabled (#673)

elextr notifications at xxxxx
Mon Oct 5 00:45:38 UTC 2015


Whilst the autosave plugin can be used to provide the convenience semantics you use, it is also there to ensure documents have been saved in case Geany crashes, or logouts, or shutdowns.  The backup feature doesn't help with that.

Agree there shouldn't be three requests, see my first comment for a reference to the likely culprit.

Even when thats fixed there will be one infobar asking if you want to save the buffer, which is the normal Geany behaviour when a file is deleted whilst open.  This will occur irrespective of the autosave plugin being enabled.

But the Autosave plugin has no way of knowing that you told Geany to not save the file, it just reaches the timeout and does what it is told, it saves the file.  That is as it should be, to ensure that the file is saved in case of crash etc.

You noted that the scenario varies, this is indeed dependent on when the autosave timeout happens relative to Geany detecting the file is missing.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/673#issuecomment-145405905
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20151004/b59bd600/attachment.html>


More information about the Github-comments mailing list