On Sun, Jan 28, 2024 at 09:13:21PM +0100, Patrice Dumas wrote:
> On Sat, Jan 27, 2024 at 05:55:24PM +0000, Gavin Smith wrote:
> > The get_constant function has been recently added but I think the name of
> > this is too generic.
> 
> Any idea on another name?

It reminds me of the output of perl -V.  We can't call them
"configuration variables" as we already use that name for something
else.  But it is a kind of "configuration".

Some ideas:
get_build_constant
get_build_conf - similar to get_conf
get_build_configuration - avoids looking like get_conf
get_build_configuration_constant - quite long
get_build_configuration_variable
get_build_configuration_value - avoids question of whether it is a variable
                                or a constant
get_compiled_constant - but not everything in Texinfo is compiled
get_constant_conf

I like get_build_constant or get_build_configuration_value.  I couldn't
think of an alternative to the word "build" to represent a certain
installed version of Texinfo but there might be one.

Reply via email to