No geany cannot open a new file from the command line, if a filename is
given geany attempts to open it and complains if it doesn't exist since its
most likely a typo. A command line option to specify this is a new file
would be needed, but nobody has written it.
Running Geany on the command line without a filename creates a new instance
as you have observed, this is intended behaviour documented in the manual.
Running Geany from the command line with at least one filename more than
once defaults to opening all files in the first instance as you observed,
this is also intended and documented behaviour. If you want a new instance
use the -i option.
I always warn about running more than one instance of Geany using the same
configuration, there is no sharing of changes and the last one to write its
version of the configuration "wins" at shutdown.
Cheers
Lex
On 9 June 2017 at 00:14, Anna Frankova <notifications@github.com> wrote:
> Hm. When I call geany from shell (either from a new one or using geany &
> repeatedly) it spawns a new instance every time.
>
> When I call geany <filename> it opens the file in the first instance that
> was opened. (Thinking of which, that also isn't too good - I'd expect it to
> appear in the last one).
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/geany/geany/issues/1512#issuecomment-307116588>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/AAxgTVimeOtXGlCrdtgNo7Nzvv356iF8ks5sCAHNgaJpZM4N0F8M>
> .
>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.