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


<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/issues/1512#issuecomment-307253818">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ3_GvZvyaGNlj2mEb9cJmPTOG0T0ks5sCIJPgaJpZM4N0F8M">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ2wGGQQohsHAJMTpeWNXVoOaTmc1ks5sCIJPgaJpZM4N0F8M.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/1512#issuecomment-307253818"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@elextr in #1512: No geany cannot open a new file from the command line, if a filename is\ngiven geany attempts to open it and complains if it doesn't exist since its\nmost likely a typo.  A command line option to specify this is a new file\nwould be needed, but nobody has written it.\n\nRunning Geany on the command line without a filename creates a new instance\nas you have observed, this is intended behaviour documented in the manual.\n\nRunning Geany from the command line with at least one filename more than\nonce defaults to opening all files in the first instance as you observed,\nthis is also intended and documented behaviour.  If you want a new instance\nuse the -i option.\n\nI always warn about running more than one instance of Geany using the same\nconfiguration, there is no sharing of changes and the last one to write its\nversion of the configuration \"wins\" at shutdown.\n\nCheers\nLex\n\nOn 9 June 2017 at 00:14, Anna Frankova \u003cnotifications@github.com\u003e wrote:\n\n\u003e Hm. When I call geany from shell (either from a new one or using geany \u0026\n\u003e repeatedly) it spawns a new instance every time.\n\u003e\n\u003e When I call geany \u003cfilename\u003e it opens the file in the first instance that\n\u003e was opened. (Thinking of which, that also isn't too good - I'd expect it to\n\u003e appear in the last one).\n\u003e\n\u003e —\n\u003e You are receiving this because you are subscribed to this thread.\n\u003e Reply to this email directly, view it on GitHub\n\u003e \u003chttps://github.com/geany/geany/issues/1512#issuecomment-307116588\u003e, or mute\n\u003e the thread\n\u003e \u003chttps://github.com/notifications/unsubscribe-auth/AAxgTVimeOtXGlCrdtgNo7Nzvv356iF8ks5sCAHNgaJpZM4N0F8M\u003e\n\u003e .\n\u003e\n"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1512#issuecomment-307253818"}}}</script>