<p></p>
<blockquote>
<p>Since we are talking about that detail, would you mind adding this as well?</p>
</blockquote>
<p>Yes, I will add it also.</p>
<blockquote>
<p>I don't know if emacs would recognize Matlab/Octave but since we are about documenting Geany's behaviour here, I don't mind :D.</p>
</blockquote>
<p>I've only used <code>emacs</code> a couple times to try.  I was just curious how compatible it is with <code>emacs</code>.</p>
<p>I just tried putting two formats on a line:</p>
<pre><code>// -*- Fortran -*- C++ -*-
</code></pre>
<p>Geany recognizes the first one (non-greedy matching?).  So it <em>might</em> be possible to have a different string for other editors to recognize if needed.  (I know the regex can also be edited.)</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#issuecomment-950341861">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJY23ODFQKEI36TW7YTUIQOYPANCNFSM5GE3L7TA">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/AAIOWJ3HEFRJIZPXBMFEH23UIQOYPA5CNFSM5GE3L7TKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHCSRBZI.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#issuecomment-950341861",
"url": "https://github.com/geany/geany/pull/2947#issuecomment-950341861",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>