I agree that separating the project file a natural next step, but I would have 
to spend some time getting familiar with `project.c`. I'm back at work tomorrow 
after the long Easter weekend, so it might take a while to come up with a proof 
of concept. I would lean towards keeping the project session files next to the 
project files, but I don't think this has a huge impact on the implementation 
(just change how the path to the file is built, right?).

If it's OK with you, I would like to move that to a separate issue and PR. I 
think what we have here my changes to `keyfile.c` is fairly self-contained and 
in a good state.

I am removing "WIP:" and I believe there is one outstanding point to be 
addressed: should geany clear the old session data from `geany.conf` + 
introduce a preference to enable this new behaviour, or should it just leave 
it? `dotfiles` users are presumably already used to dealing with exactly this 
themselves. A "clear history" button (as suggested in 
https://github.com/geany/geany/issues/1763#issuecomment-364176848) which checks 
`geany.conf` and (deletes?) `session.conf` would take care of this, but I see 
that as a separate feature for another PR.

-- 
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/2776#issuecomment-813650659

Reply via email to