IIRC the xxx.geany file has to be the first one to open as a project, not as a keyfile
Just tested, it doesn't have to be the first filename.
can you give an example of how something bad could happen
`geany *` 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.