<blockquote>
<p>If you mean doc_path, it does indeed look like a full path (not necessarily a realpath, since it may be remote). So -- is almost surely unneeded.</p>
</blockquote>

<p>I haven't looked super close at the code that assigns <code>doc_path</code> but I assume it uses <code>tm_get_realpath()</code> (ie. <code>realpath()</code>). I think Geany doesn't handle remote URIs or such, but defers to GVFS to handle mounting remote shares to local file systems.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/pull/637#issuecomment-137297104">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJygEeAs4FqcvpZ2148dVxcFtkXK5ks5ot5vVgaJpZM4F1KFb.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/pull/637#issuecomment-137297104"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>