<p></p>
<p><b>@eht16</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/geany/geany/pull/2947#discussion_r757884819">doc/geany.txt</a>:</p>
<pre style='color:#555'>> @@ -2674,6 +2674,29 @@ Placeholder   Description
               useful if you're debugging color schemes or related code.
 ============  ===========================================================
 
+
+Filetype Regex
+``````````````
+
+The ``extract_filetype_regex`` setting contains the regex that is used
+to extract the filetype name from the file with the first capture group.
+The default value finds filetypes contained in Emacs-style tags.
+See `def_ft_regex`_.
</pre>
<p dir="auto">Maybe we can add a title for the link here? Currently it looks like:<br>
<a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/617017/143766418-2899e666-7f76-4729-983b-e52edfd682d7.png"><img src="https://user-images.githubusercontent.com/617017/143766418-2899e666-7f76-4729-983b-e52edfd682d7.png" alt="Screenshot_2021-11-28_12-48-13" style="max-width: 100%;"></a></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/2947#pullrequestreview-817206881">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ7MZO6Q3FBRXLAJBDTUOIJMHANCNFSM5GE3L7TA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AAIOWJ6EXHYM4WMQ7MJXOCTUOIJMHA5CNFSM5GE3L7TKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOGC2ZMYI.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/2947#pullrequestreview-817206881",
"url": "https://github.com/geany/geany/pull/2947#pullrequestreview-817206881",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>