<blockquote>
<p>IIRC the xxx.geany file has to be the first one to open as a project, not as a keyfile</p>
</blockquote>
<p>Just tested, it doesn't have to be the first filename.</p>
<blockquote>
<p>can you give an example of how something bad could happen</p>
</blockquote>
<p><code>geany *</code> would open some filenames in the current session, then open a project file, then open the remaining filenames under the project. There could even be more than one project file in the list of filenames. We should probably Requiring the project filename to be first on the command-line and ask whether to open the project, handling the no project open case. But asking whether to close the current project is still better than no prompt at all.</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/2178?email_source=notifications&email_token=AAIOWJ4MQGK7LHLX4SJ5SZLPZYSTXA5CNFSM4HWHUMYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXJPTHQ#issuecomment-500365726">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJYMKB2CFQL4ARII6GDPZYSTXANCNFSM4HWHUMYA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ3MUFTM47P5WKEKOETPZYSTXA5CNFSM4HWHUMYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXJPTHQ.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/2178?email_source=notifications\u0026email_token=AAIOWJ4MQGK7LHLX4SJ5SZLPZYSTXA5CNFSM4HWHUMYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXJPTHQ#issuecomment-500365726",
"url": "https://github.com/geany/geany/pull/2178?email_source=notifications\u0026email_token=AAIOWJ4MQGK7LHLX4SJ5SZLPZYSTXA5CNFSM4HWHUMYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXJPTHQ#issuecomment-500365726",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>