[Github-comments] [geany/geany] Save main and project configuration whenever documents are opened/closed (#2114)

elextr notifications at xxxxx
Fri Mar 29 00:25:33 UTC 2019


Oh my, all those people who have two Geanys using the same config are gonna have many more races :grin:

And an occasional failure when both try to write at the same time (on those file systems where such access is exclusive).

> The only thing I don't like, which could be improved later, is that it's still pretty arbitrary where the settings are being saved.

If by "where" you mean "when" then I thought settings are now pretty much always saved when they are changed, its only the session that saved at the end, and thats what this addresses.  Of course because of the way g_key_files work the whole lot has to be saved.

But as @codebrainz points out there are potential problems with slow or flakey drives maybe there needs to be a setting to disable it instead of forcing it on everyone.

Of course since it only writes to `geany_debug()` on error nobody will notice its failing I guess.

Agree best to commit immediately after next release.



-- 
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/pull/2114#issuecomment-477818868
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190328/a2c072b3/attachment.html>


More information about the Github-comments mailing list