44 const char *str = (
const char *) value;
58 {
"auto_subscribe",
DT_BOOL,
false, 0, NULL,
59 "Automatically check if the user is subscribed to a mailing list"
61 {
"honor_disposition",
DT_BOOL,
false, 0, NULL,
62 "Don't display MIME parts inline if they have a disposition of 'attachment'"
64 {
"hidden_tags",
DT_SLIST|
D_SLIST_SEP_COMMA,
IP "unread,draft,flagged,passed,replied,attachment,signed,encrypted", 0, NULL,
65 "List of tags that shouldn't be displayed on screen (comma-separated)"
67 {
"implicit_auto_view",
DT_BOOL,
false, 0, NULL,
68 "Display MIME attachments inline if a 'copiousoutput' mailcap entry exists"
70 {
"include_encrypted",
DT_BOOL,
false, 0, NULL,
71 "Whether to include encrypted content when replying"
73 {
"include_only_first",
DT_BOOL,
false, 0, NULL,
74 "Only include the first attachment when replying"
76 {
"mailcap_path",
DT_SLIST|
D_SLIST_SEP_COLON,
IP "~/.mailcap:" PKGDATADIR
"/mailcap:" SYSCONFDIR
"/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap", 0, NULL,
77 "List of mailcap files (colon-separated)"
79 {
"mailcap_sanitize",
DT_BOOL,
true, 0, NULL,
80 "Restrict the possible characters in mailcap expandos"
83 "List of Preferred Languages for multilingual MIME (comma-separated)"
85 {
"reflow_space_quotes",
DT_BOOL,
true, 0, NULL,
86 "Insert spaces into reply quotes for 'format=flowed' messages"
88 {
"reflow_text",
DT_BOOL,
true, 0, NULL,
89 "Reformat paragraphs of 'format=flowed' text"
92 "Maximum paragraph width for reformatting 'format=flowed' text"
114 "Regex to match message reply subjects like 're: '"
116 {
"score",
DT_BOOL,
true, 0, NULL,
117 "Use message scoring"
119 {
"score_threshold_delete",
DT_NUMBER, -1, 0, NULL,
120 "Messages with a lower score will be automatically deleted"
122 {
"score_threshold_flag",
DT_NUMBER, 9999, 0, NULL,
123 "Messages with a greater score will be automatically flagged"
125 {
"score_threshold_read",
DT_NUMBER, -1, 0, NULL,
126 "Messages with a lower score will be automatically marked read"
129 "How to display 'multipart/alternative' MIME parts"
131 {
"reverse_alias",
DT_BOOL,
false, 0, NULL,
132 "Display the alias in the index, rather than the message's sender"
134 {
"rfc2047_parameters",
DT_BOOL,
true, 0, NULL,
135 "Decode RFC2047-encoded MIME parameters"
138 "Separator for multiple spam headers"
141 {
"implicit_autoview",
DT_SYNONYM,
IP "implicit_auto_view",
IP "2023-01-25" },
142 {
"include_onlyfirst",
DT_SYNONYM,
IP "include_only_first",
IP "2021-03-21" },
143 {
"reply_regexp",
DT_SYNONYM,
IP "reply_regex",
IP "2021-03-21" },
int buf_printf(struct Buffer *buf, const char *fmt,...)
Format a string overwriting a Buffer.
Convenience wrapper for the config headers.
#define CSR_ERR_INVALID
Value hasn't been set.
#define CSR_SUCCESS
Action completed successfully.
struct ConfigDef EmailVars[]
Config definitions for the Email library.
static int multipart_validator(const struct ConfigDef *cdef, intptr_t value, struct Buffer *err)
Validate the "show_multipart_alternative" config variable - Implements ConfigDef::validator() -.
Convenience wrapper for the library headers.
bool mutt_str_equal(const char *a, const char *b)
Compare two strings.
String manipulation buffer.
const char * name
User-visible name.
#define D_SLIST_SEP_COMMA
Slist items are comma-separated.
#define D_SLIST_SEP_COLON
Slist items are colon-separated.
#define D_L10N_STRING
String can be localised.
@ DT_SLIST
a list of strings
@ DT_SYNONYM
synonym for another variable
@ DT_REGEX
regular expressions