[neomutt-users] True/false, boolean, and quad-option question
Chris Bennett
cpb_neomutt at bennettconstruction.us
Sun May 16 16:58:21 CEST 2021
On Sun, May 16, 2021 at 03:24:22PM +0100, Richard Russon wrote:
> Hi Chris,
>
> > set tilde
> > unset tilde
>
> For booleans, you can use any of:
>
> no, yes, n, y, false, true, 0, 1, off, on
>
> For quad-options, it's just:
>
> no, yes, ask-no, ask-yes
>
> For both, the case is ignored.
>
> Quoting values isn't required for bools or quads because the values
> don't contain whitespace or special characters.
>
> > I briefly looked at the code on github
>
> Each config type is managed by a separate source file:
>
> https://github.com/neomutt/neomutt/blob/master/config/bool.c
> https://github.com/neomutt/neomutt/blob/master/config/quad.c
>
> There are functions in each for setting, resetting, validating, etc.
>
> Cheers,
> Rich / FlatCap
Thanks! That's a big help.
Chris Bennett
More information about the neomutt-users
mailing list