[Github-comments] [geany/geany] Loading temporary files from the last session at startup does not work after a server reboot (#640)

elextr notifications at xxxxx
Sun Mar 21 22:54:29 UTC 2021


@ftrebien the "instant save" is intended for temporary files, if you want a file to be permanent it should be saved to a suitable location with a sensible name.  Also no matter where it is saved, if the system crashes or is rebooted with Geany open there is no guarantee that the file is saved.

The plugin uses a portable Glib function to create the unique filename in the system temporary directory, so it works on Windows and macos.  All this would have to be replicated in the plugin.  Pull requests are welcome.

Also if the files are saved in some non-temporary location then they will not be deleted and will continue to accumulate.  You would have to delete them manually, but since they have random names you won't know which ones to delete.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/640#issuecomment-803674545
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210321/8dfc028b/attachment-0001.htm>


More information about the Github-comments mailing list