I find preparing a .geany project and write-locking it to have a "default view" a very useful option. Currently I use filesystem-level approach (chmod) which works flawlessly with Geany's simple and stable code. However, I think that an option to write-lock the project file in the Geany UI could provide an useful feature addition. With high-level implementation ("write_lock=1" in the .geany itself), it would also provide this option on permissionless filesystems.
I find the file permissions approach superior to some in-app thing, although it would probably be pretty easy to implement. Since the list of opened files is stored in the `.geany` file, what would it do with your session? It wouldn't be able to re-open your last files automatically, unless you made the write lock only apply to other sections of the project file.
Regarding the session, it could ask you to overwrite the project file upon finishing. Actually, this was the reason the whole thing started. I wanted Geany not to change my saved session, but it kept saving it without asking.
I wanted Geany not to change my saved session,
There is an option for that IIRC.
I think I once saw in Geany something similar too, but I cannot find it in preferences. Even if there is, I'm proposing a session-wise preference in this feature request.
github-comments@lists.geany.org