[Github-comments] [geany/geany] Opening a new tab in an existing instance from shell (#1512)

elextr notifications at xxxxx
Thu Jun 8 23:22:55 UTC 2017


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 at 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 or view it on GitHub:
https://github.com/geany/geany/issues/1512#issuecomment-307253818
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170608/bd5dd4cf/attachment.html>


More information about the Github-comments mailing list