<p></p>
<blockquote>
<p dir="auto">I'm not sure if XDG_CACHCE_DIR is appropriate. Normally it contains files that can be regenerated by programs without user interaction...</p>
</blockquote>
<ul dir="auto">
<li>Same folder as project file – This feels like clutter to me.  Why split project files if they're going to be kept together anyway?  But depending on what settings are considered "session", it could make sense.</li>
<li>Don't split project file into config/session.  If projects are migrated to the stash system, depending on how stash is extended, not splitting project files could be configured as an option.</li>
<li>Add another paths option.  Chicken-or-egg problem, for people who consider paths to be "session" settings.</li>
<li><code>~/.cache/geany/sessions/</code> – I suggested this location because the types of settings I'd expect to be categorized as "session" are what Geany manages on its own.  There's little consequence if MRU, geometry, position, etc are wiped out.  There's some inconvenience if currently open files are lost, but they can be reopened.  The cache directory is also long-lived, so session settings wouldn't normally be lost.</li>
<li><code>~/.config/geany/sessions/</code> – This location may be difficult to find to remove left-over session files when project files are renamed or deleted.  It wouldn't matter if Geany removes session files for project files that no longer exist.</li>
<li><code>/tmp</code> – This location is potentially wiped out at every boot.  "Sessions" should probably be able to persist across reboots.</li>
</ul>
<hr>
<blockquote>
<p dir="auto">As to stash, the suggestion would be that stash supports overriding where sources of a specific setting override another. See for example how the build menu overriding works.</p>
</blockquote>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1052799639" data-permission-text="Title is private" data-url="https://github.com/geany/geany/issues/3000" data-hovercard-type="pull_request" data-hovercard-url="/geany/geany/pull/3000/hovercard" href="https://github.com/geany/geany/pull/3000">#3000</a> (will be split into ~6 PRs) includes an override for non-GUI settings in stash.  I wrote it with plugin use in mind, but it (or something similar) could also be used for projects, sessions, etc.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/3015#issuecomment-976434972">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ3KZH4DYITMK34Y433UNN5KDANCNFSM5ISB55XQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AAIOWJ3CWNVJCYLZY2EMQDDUNN5KDA5CNFSM5ISB55X2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHIZTOHA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/3015#issuecomment-976434972",
"url": "https://github.com/geany/geany/issues/3015#issuecomment-976434972",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>