<blockquote>
<p>Seems overkill.</p>
</blockquote>

<p>In what way? 3 of the 4 files changed are documentation, and the one file with code changes (<code>plugins.c</code>) has the same lines added as removed if you don't count doc-comment lines. Further, some of those lines are to cleanup an existing leak of the <code>PluginProxy</code>s as well as 3 more lines that can be eliminated as noted in the inline comment. So in the end, it's actually less code to give enhanced features.</p>

<blockquote>
<p>What's the use case?</p>
</blockquote>

<p>Read the comments in the linked <a href="https://github.com/geany/geany/pull/1233" class="issue-link js-issue-link" data-url="https://github.com/geany/geany/issues/1233" data-id="177386393" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">#1233</a>. Matching files with other extensions like <code>*.tar.bz2</code> or <code>*.geany++.plugin</code>.</p>

<blockquote>
<p>Also why do you want to match all plugins?</p>
</blockquote>

<p>Read the comments in the linked <a href="https://github.com/geany/geany/pull/1233" class="issue-link js-issue-link" data-url="https://github.com/geany/geany/issues/1233" data-id="177386393" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">#1233</a>. A better question is why do you want to match file extensions at all? They aren't unique enough to decide whether a file is for a given proxy and you have to check them further in the <code>probe()</code> function anyway.</p>

<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/pull/1236#issuecomment-248323062">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJyTqpdci_ktOLnDOrD-L85IuuN8Bks5qr_F1gaJpZM4J_6i1">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJzcI8asQhdXsKGQkfZGwH-aLICluks5qr_F1gaJpZM4J_6i1.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/1236#issuecomment-248323062"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request 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":"@codebrainz in #1236: \u003e Seems overkill.\r\n\r\nIn what way? 3 of the 4 files changed are documentation, and the one file with code changes (`plugins.c`) has the same lines added as removed if you don't count doc-comment lines. Further, some of those lines are to cleanup an existing leak of the `PluginProxy`s as well as 3 more lines that can be eliminated as noted in the inline comment. So in the end, it's actually less code to give enhanced features.\r\n\r\n\u003e What's the use case?\r\n\r\nRead the comments in the linked #1233. Matching files with other extensions like `*.tar.bz2` or `*.geany++.plugin`.\r\n\r\n\u003e Also why do you want to match all plugins?\r\n\r\nRead the comments in the linked #1233. A better question is why do you want to match file extensions at all? They aren't unique enough to decide whether a file is for a given proxy and you have to check them further in the `probe()` function anyway."}],"action":{"name":"View Pull Request","url":"https://github.com/geany/geany/pull/1236#issuecomment-248323062"}}}</script>