<p>Note: Depends on <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="450258642" data-permission-text="Issue title is private" data-url="https://github.com/geany/geany/issues/2166" data-hovercard-type="pull_request" data-hovercard-url="/geany/geany/pull/2166/hovercard" href="https://github.com/geany/geany/pull/2166">#2166</a>.</p>
<p>Longer filename patterns in <code>filetype_extensions.conf</code> are more specific, so they should override shorter patterns.</p>
<ul>
<li><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #1921.">Fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="348752523" data-permission-text="Issue title is private" data-url="https://github.com/geany/geany/issues/1921" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/1921/hovercard" href="https://github.com/geany/geany/issues/1921">#1921</a> - <code>*.js.aspx</code> should override <code>*.aspx</code>.</li>
<li><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #1499.">Fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="230122866" data-permission-text="Issue title is private" data-url="https://github.com/geany/geany/issues/1499" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/1499/hovercard" href="https://github.com/geany/geany/issues/1499">#1499</a> - <code>.bashrc</code> should override <code>*rc</code>.</li>
</ul>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany/pull/2167'>https://github.com/geany/geany/pull/2167</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Kill filetypes_find(), rename static function</li>
  <li>Always allow user filetype extensions to override system config file</li>
  <li>Let longest filename pattern win</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2167/files#diff-0">src/filetypes.c</a>
    (62)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2167/files#diff-1">src/filetypes.h</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2167/files#diff-2">src/filetypesprivate.h</a>
    (1)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany/pull/2167.patch'>https://github.com/geany/geany/pull/2167.patch</a></li>
  <li><a href='https://github.com/geany/geany/pull/2167.diff'>https://github.com/geany/geany/pull/2167.diff</a></li>
</ul>

<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/2167?email_source=notifications&email_token=AAIOWJ6VQUAO766YTNGMPIDPYD24FA5CNFSM4HRXXBQ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GW5PZDQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZVQH5P625DP5636X3PYD24FANCNFSM4HRXXBQQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJYRRJ4J34VDGQWXH4LPYD24FA5CNFSM4HRXXBQ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GW5PZDQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2167?email_source=notifications\u0026email_token=AAIOWJ6VQUAO766YTNGMPIDPYD24FA5CNFSM4HRXXBQ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GW5PZDQ",
"url": "https://github.com/geany/geany/pull/2167?email_source=notifications\u0026email_token=AAIOWJ6VQUAO766YTNGMPIDPYD24FA5CNFSM4HRXXBQ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GW5PZDQ",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>