<p></p>
<p>There is a detail that I found during testing but I don't think it needs to be handled now:</p>
<p>Once the session.conf exists, it will be read exclusively for the expected settings. So when we move things to session.conf afterwards, then session.conf won't have them yet and geany.conf won't be considered for that, i.e. the prefs are lost.</p>
<p>This has happened to me when I tested a small change to move <code>[project]</code> to session.conf, after a previous run already created the file (without <code>[project]</code> section)</p>
<p>If that turns out to be a problem after we actually release this we might need some versioning to be able to rescue prefs during the move.</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/pull/2776#issuecomment-814054212">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ5KQCCA3AUVR7MHD4DTHLX2RANCNFSM42KJV3OQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ3MZSSRTIMRRRQ2BJTTHLX2RA5CNFSM42KJV3O2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGCCXWRA.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/pull/2776#issuecomment-814054212",
"url": "https://github.com/geany/geany/pull/2776#issuecomment-814054212",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>