From 311ab3bd09aeff6f4fb7b3ebd1550ea02119b251 Mon Sep 17 00:00:00 2001 From: Kevin McCarthy Date: Thu, 13 Jun 2019 17:56:38 -0700 Subject: [PATCH] Improve $reverse_realname documentation Make it clear that, even if set, a missing realname part of the matching address will be filled in by $realname. Co-authored-by: Richard Russon --- init.h | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/init.h b/init.h index 6aa997930..a7a98361a 100644 --- a/init.h +++ b/init.h @@ -3400,15 +3400,22 @@ struct ConfigDef MuttVars[] = { ** used doesn't match your "$alternates", the \fIFrom:\fP line will use ** your address on the current machine. ** .pp - ** Also see the "$alternates" command. + ** Also see the "$alternates" command and $$reverse_realname. */ { "reverse_realname", DT_BOOL|R_INDEX|R_PAGER, &C_ReverseRealname, true }, /* ** .pp ** This variable fine-tunes the behavior of the $$reverse_name feature. - ** When it is \fIset\fP, NeoMutt will use the address from incoming messages as-is, - ** possibly including eventual real names. When it is \fIunset\fP, NeoMutt will - ** override any such real names with the setting of the $$realname variable. + ** .pp + ** When it is \fIunset\fP, Mutt will remove the real name part of a + ** matching address. This allows the use of the email address + ** without having to also use what the sender put in the real name + ** field. + ** .pp + ** When it is \fIset\fP, Mutt will use the matching address as-is. + ** .pp + ** In either case, a missing real name will be filled in afterwards + ** using the value of $$realname. */ { "rfc2047_parameters", DT_BOOL, &C_Rfc2047Parameters, false }, /* -- 2.40.0