On Thu, 30 Jun 2011 08:20:02 +0400 Eugene Arshinov earshinov@gmail.com wrote:
On Wed, 29 Jun 2011 09:40:07 +1000 Lex Trotman elextr@gmail.com wrote:
Sessions should be per user. I can't remember if it fixes this problem but there is a branch in svn with significantly improved session management, but the changes are so big that no one has had the time to review it for merge.
No, SM branch doesn't fix this problem.
With sm1, you can run an instance, turn "Project based session files" off and open your project. The option will be stored in geany.conf, so you can then open several other projects with pbsf off - just be sure to turn it on and confirm at some point, unless you want it permanent. On restart, all instances will be restored with their individual pbsf values and open files. Though I'm not sure what good will that do.
On Thu, 30 Jun 2011 21:22:11 +1000 Lex Trotman elextr@gmail.com wrote:
If the project session isn't in the project file where would it be put
Under novadays Unix, in ~/.cache/geany. For Win~1, somewhere in Application Data - not sure which of them, not sure about Vista/7.
and how would it be managed so really old session data wasn't still hanging around long after the project was deleted but also so that long lived projects didn't lose their data.
Add a delete project function to the project menu, and/or ask whether to delete the session file when attempting to open a missing project.
In other words fixed based deletion is bad. Are there any well known solutions or libraries that help with it?
Not that I know off, I'm not sure how you expect such a thing to be implemented. The closest thing that comes to mind is Win~1 auto removing Foo_files/ when you delete Foo.htm, or maybe it was vice versa. Awful stuff, and not Explorer-only.
(The "40 years wisdom" which will not allow me to keep an .xml or .sql file from another team permanently open in my session was nice. Should I ask a colleagues of mine, which does have 40 years of experience? :)