On Tue, 10 Jul 2012 23:09:42 +0300 Axel apeka1990@gmail.com wrote:
You can have any number of primary and secondary Geany instances open. With simply calling configuration save, on restart you'll get *some* file list...
Wait, wait. That's a *competely* different problem. You *can't* allow users to have multiple instances of application which all write to one config file.
We had several long discussions on this problem, with no conclusion reached. Try "multiply instances" in the mailing list archives.
If that list is from a secondary (-i) instance, it'll likely only contain a file or two, and you would be better with the list from the last normal Quit
Well, it's a flaw - in the end, it's not much "better" or "worse". How you can call Geany an IDE if it looses all the open files in all instances but the last closed one? Either it's a more like a code editor (i.e. Notepad++
- limited to one instance) or it's like a serious IDE (i.e. VS or Eclipse),
which, AFAIK store the separate file list for each project.
Geany stores separate file list for each project if you quit it normally, or even for each running instance with session management.
A list autosave on open/close should check if a project is open and save accordingly, which the patch does not do. It also seems to save the list even if the open dialog is canceled.