<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=811085" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/elextr">@elextr</a> Under <a href="https://wiki.geany.org/howtos/configurebuildmenu#implementation_how_flexibility_is_achieved" rel="nofollow">here</a>, it says:</p>
<ol start="3">
<li>settings from the user preferences file</li>
<li>settings from a user configured filetype file for the type of file selected in the editor</li>
<li>settings independent of filetype from the open project file</li>
<li>settings for a specific filetype for the type of file selected in the editor which come from the open project file</li>
</ol>
<p>But in build.h we have this order:</p>
<div class="highlight highlight-source-c"><pre>   GEANY_BCS_HOME_FT,      <span class="pl-c"><span class="pl-c">/*</span>*< Filetypes in ~/.config/geany/filedefs <span class="pl-c">*/</span></span>
        GEANY_BCS_PREF,         <span class="pl-c"><span class="pl-c">/*</span>*< Preferences file ~/.config/geany/geany.conf <span class="pl-c">*/</span></span>
        GEANY_BCS_PROJ_FT,      <span class="pl-c"><span class="pl-c">/*</span>*< Project file filetype command <span class="pl-c">*/</span></span>
        GEANY_BCS_PROJ,         <span class="pl-c"><span class="pl-c">/*</span>*< Project file if open. <span class="pl-c">*/</span></span></pre></div>
<p>The wiki and source don't match for any of these enum values. I also notice that GEANY_BCS_PROJ_FT doesn't get used for GEANY_GBG_FT in get_next_build_cmd, is that a bug?</p>
<p>Then it says: "in reality there are only three sources, system, user and project settings". Might it be possible to have the build sources enum just have those three sources (plus default if it can't be merged with system)?</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/issues/2274?email_source=notifications&email_token=AAIOWJ2K2MMVAXLQ6GQBV3TQMDLVDA5CNFSM4IPFVZR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD73ZMLY#issuecomment-536319535">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZZYORW3HCGWPI6RMDQMDLVDANCNFSM4IPFVZRQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ4J25AI7IL3MTCDHMTQMDLVDA5CNFSM4IPFVZR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD73ZMLY.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/issues/2274?email_source=notifications\u0026email_token=AAIOWJ2K2MMVAXLQ6GQBV3TQMDLVDA5CNFSM4IPFVZR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD73ZMLY#issuecomment-536319535",
"url": "https://github.com/geany/geany/issues/2274?email_source=notifications\u0026email_token=AAIOWJ2K2MMVAXLQ6GQBV3TQMDLVDA5CNFSM4IPFVZR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD73ZMLY#issuecomment-536319535",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>