Thanks to visit codestin.com
Credit goes to code.neomutt.org

NeoMutt  2025-12-11-189-gceedb6
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
mutt_config.c File Reference

Definitions of config variables. More...

#include "config.h"
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include "mutt/lib.h"
#include "config/lib.h"
#include "email/lib.h"
#include "core/lib.h"
#include "gui/lib.h"
#include "attach/lib.h"
#include "expando/lib.h"
#include "index/lib.h"
#include "mutt_logging.h"
#include "mx.h"
+ Include dependency graph for mutt_config.c:

Go to the source code of this file.

Functions

static int multipart_validator (const struct ConfigDef *cdef, intptr_t value, struct Buffer *err)
 Validate the "show_multipart_alternative" config variable - Implements ConfigDef::validator() -.
 
struct ExpandoNodeparse_index_date_recv_local (const char *str, struct ExpandoFormat *fmt, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err)
 Parse a Date Expando - Implements ExpandoDefinition::parse() -.
 
struct ExpandoNodeparse_index_date_local (const char *str, struct ExpandoFormat *fmt, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err)
 Parse a Date Expando - Implements ExpandoDefinition::parse() -.
 
struct ExpandoNodeparse_index_date (const char *str, struct ExpandoFormat *fmt, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err)
 Parse a Date Expando - Implements ExpandoDefinition::parse() -.
 
struct ExpandoNodeparse_index_hook (const char *str, struct ExpandoFormat *fmt, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err)
 Parse an index-hook - Implements ExpandoDefinition::parse() -.
 
struct ExpandoNodeparse_tags_transformed (const char *str, struct ExpandoFormat *fmt, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err)
 Parse a Tags-Transformed Expando - Implements ExpandoDefinition::parse() -.
 
struct ExpandoNodeparse_subject (const char *str, struct ExpandoFormat *fmt, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err)
 Parse a Subject Expando - Implements ExpandoDefinition::parse() -.
 

Variables

const struct ExpandoDefinition IndexFormatDef []
 Expando definitions.
 
static const struct Mapping SortAuxMethods []
 Sort methods for '$sort_aux' for the index.
 
const struct Mapping SortMethods []
 Sort methods for '$sort' for the index.
 
static const struct ExpandoDefinition AttachFormatDef []
 Expando definitions.
 
static const struct ExpandoDefinition *const IndexFormatDefNoPadding = &(IndexFormatDef[3])
 IndexFormatDefNoPadding - Index format definitions, without padding.
 
const struct ExpandoDefinition *const StatusFormatDefNoPadding = &(StatusFormatDef[3])
 StatusFormatDefNoPadding - Status format definitions, without padding.
 
struct ConfigDef MainVars []
 General Config definitions for NeoMutt.
 
struct ConfigDef MainVarsIdn []
 IDN Config definitions.
 

Detailed Description

Definitions of config variables.

Authors
  • Aditya De Saha
  • Louis Brauer
  • Pietro Cerutti
  • Richard Russon
  • Ashish Panigrahi
  • наб
  • Tóth János

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file mutt_config.c.

Variable Documentation

◆ IndexFormatDef

const struct ExpandoDefinition IndexFormatDef[]

Expando definitions.

Config:

  • $attribution_intro
  • $attribution_trailer
  • $forward_attribution_intro
  • $forward_attribution_trailer
  • $forward_format
  • $index_format
  • $message_format
  • $pager_format
Note
Longer Expandos must precede any similar, but shorter Expandos

Definition at line 312 of file mutt_config.c.

312 {
313 // clang-format off
314 { "*", "padding-soft", ED_GLOBAL, ED_GLO_PADDING_SOFT, node_padding_parse },
315 { ">", "padding-hard", ED_GLOBAL, ED_GLO_PADDING_HARD, node_padding_parse },
316 { "|", "padding-eol", ED_GLOBAL, ED_GLO_PADDING_EOL, node_padding_parse },
319 { "a", "from", ED_ENVELOPE, ED_ENV_FROM, NULL },
320 { "A", "reply-to", ED_ENVELOPE, ED_ENV_REPLY_TO, NULL },
321 { "b", "mailbox-name", ED_MAILBOX, ED_MBX_MAILBOX_NAME, NULL },
322 { "B", "list-address", ED_ENVELOPE, ED_ENV_LIST_ADDRESS, NULL },
323 { "cr", "body-characters", ED_EMAIL, ED_EMA_BODY_CHARACTERS, NULL },
324 { "c", "size", ED_EMAIL, ED_EMA_SIZE, NULL },
325 { "C", "number", ED_EMAIL, ED_EMA_NUMBER, NULL },
326 { "d", "date-format", ED_EMAIL, ED_EMA_DATE_FORMAT, NULL },
327 { "D", "date-format-local", ED_EMAIL, ED_EMA_DATE_FORMAT_LOCAL, NULL },
328 { "e", "thread-number", ED_EMAIL, ED_EMA_THREAD_NUMBER, NULL },
329 { "E", "thread-count", ED_EMAIL, ED_EMA_THREAD_COUNT, NULL },
330 { "f", "from-full", ED_ENVELOPE, ED_ENV_FROM_FULL, NULL },
331 { "Fp", "sender-plain", ED_ENVELOPE, ED_ENV_SENDER_PLAIN, NULL },
332 { "F", "sender", ED_ENVELOPE, ED_ENV_SENDER, NULL },
333 { "g", "tags", ED_EMAIL, ED_EMA_TAGS, NULL },
334 { "G", "tags-transformed", ED_EMAIL, ED_EMA_TAGS_TRANSFORMED, parse_tags_transformed },
335 { "H", "spam", ED_ENVELOPE, ED_ENV_SPAM, NULL },
336 { "i", "message-id", ED_ENVELOPE, ED_ENV_MESSAGE_ID, NULL },
337 { "I", "initials", ED_ENVELOPE, ED_ENV_INITIALS, NULL },
338 { "J", "thread-tags", ED_EMAIL, ED_EMA_THREAD_TAGS, NULL },
339 { "K", "list-empty", ED_ENVELOPE, ED_ENV_LIST_EMPTY, NULL },
340 { "l", "lines", ED_EMAIL, ED_EMA_LINES, NULL },
341 { "L", "from-list", ED_EMAIL, ED_EMA_FROM_LIST, NULL },
342 { "m", "message-count", ED_MAILBOX, ED_MBX_MESSAGE_COUNT, NULL },
343 { "M", "thread-hidden-count", ED_EMAIL, ED_EMA_THREAD_HIDDEN_COUNT, NULL },
344 { "n", "name", ED_ENVELOPE, ED_ENV_NAME, NULL },
345 { "N", "score", ED_EMAIL, ED_EMA_SCORE, NULL },
346 { "O", "save-folder", ED_EMAIL, ED_EMA_LIST_OR_SAVE_FOLDER, NULL },
347 { "P", "percentage", ED_MAILBOX, ED_MBX_PERCENTAGE, NULL },
348 { "q", "newsgroup", ED_ENVELOPE, ED_ENV_NEWSGROUP, NULL },
349 { "r", "to-all", ED_ENVELOPE, ED_ENV_TO_ALL, NULL },
350 { "R", "cc-all", ED_ENVELOPE, ED_ENV_CC_ALL, NULL },
351 { "s", "subject", ED_ENVELOPE, ED_ENV_SUBJECT, parse_subject },
352 { "S", "flag-chars", ED_EMAIL, ED_EMA_FLAG_CHARS, NULL },
353 { "t", "to", ED_ENVELOPE, ED_ENV_TO, NULL },
354 { "T", "to-chars", ED_EMAIL, ED_EMA_TO_CHARS, NULL },
355 { "u", "username", ED_ENVELOPE, ED_ENV_USERNAME, NULL },
356 { "v", "first-name", ED_ENVELOPE, ED_ENV_FIRST_NAME, NULL },
357 { "W", "organization", ED_ENVELOPE, ED_ENV_ORGANIZATION, NULL },
358 { "x", "x-comment-to", ED_ENVELOPE, ED_ENV_X_COMMENT_TO, NULL },
359 { "X", "attachment-count", ED_EMAIL, ED_EMA_ATTACHMENT_COUNT, NULL },
360 { "y", "x-label", ED_ENVELOPE, ED_ENV_X_LABEL, NULL },
361 { "Y", "thread-x-label", ED_ENVELOPE, ED_ENV_THREAD_X_LABEL, NULL },
362 { "Z", "combined-flags", ED_EMAIL, ED_EMA_COMBINED_FLAGS, NULL },
363 { "zc", "crypto-flags", ED_EMAIL, ED_EMA_CRYPTO_FLAGS, NULL },
364 { "zs", "status-flags", ED_EMAIL, ED_EMA_STATUS_FLAGS, NULL },
365 { "zt", "message-flags", ED_EMAIL, ED_EMA_MESSAGE_FLAGS, NULL },
368 { NULL, NULL, 0, -1, NULL }
369 // clang-format on
370};
@ ED_MBX_MESSAGE_COUNT
Mailbox.msg_count.
Definition mailbox.h:159
@ ED_MBX_PERCENTAGE
EmailFormatInfo.pager_progress.
Definition mailbox.h:160
@ ED_MBX_MAILBOX_NAME
Mailbox, mailbox_path()
Definition mailbox.h:158
@ ED_ENVELOPE
Envelope ED_ENV_ ExpandoDataEnvelope.
Definition domain.h:42
@ ED_EMAIL
Email ED_EMA_ ExpandoDataEmail.
Definition domain.h:41
@ ED_GLOBAL
Global ED_GLO_ ExpandoDataGlobal.
Definition domain.h:44
@ ED_MAILBOX
Mailbox ED_MBX_ ExpandoDataMailbox.
Definition domain.h:47
@ ED_EMA_DATE_STRF_LOCAL
Email.date_sent.
Definition email.h:143
@ ED_EMA_ATTACHMENT_COUNT
Email, mutt_count_body_parts()
Definition email.h:136
@ ED_EMA_DATE_FORMAT_LOCAL
Email.date_sent.
Definition email.h:141
@ ED_EMA_TAGS_TRANSFORMED
Email.tags, driver_tags_get_transformed()
Definition email.h:156
@ ED_EMA_THREAD_HIDDEN_COUNT
Email.collapsed, Email.num_hidden, ...
Definition email.h:158
@ ED_EMA_DATE_FORMAT
Email.date_sent.
Definition email.h:140
@ ED_EMA_THREAD_TAGS
Email.tags.
Definition email.h:160
@ ED_EMA_TAGS
Email.tags.
Definition email.h:155
@ ED_EMA_SIZE
Body.length.
Definition email.h:152
@ ED_EMA_FLAG_CHARS
Email.deleted, Email.attach_del, ...
Definition email.h:144
@ ED_EMA_THREAD_NUMBER
Email, mutt_messages_in_thread()
Definition email.h:159
@ ED_EMA_TO_CHARS
Email, User_is_recipient()
Definition email.h:161
@ ED_EMA_BODY_CHARACTERS
Body.length.
Definition email.h:137
@ ED_EMA_COMBINED_FLAGS
Email.read, Email.old, thread_is_new(), ...
Definition email.h:138
@ ED_EMA_THREAD_COUNT
Email, mutt_messages_in_thread()
Definition email.h:157
@ ED_EMA_STATUS_FLAGS
Email.deleted, Email.attach_del, ...
Definition email.h:153
@ ED_EMA_NUMBER
Email.msgno.
Definition email.h:150
@ ED_EMA_DATE_STRF
Email.date_sent, Email.zhours, Email.zminutes, Email.zoccident.
Definition email.h:142
@ ED_EMA_FROM_LIST
Envelope.to, Envelope.cc.
Definition email.h:145
@ ED_EMA_SCORE
Email.score.
Definition email.h:151
@ ED_EMA_CRYPTO_FLAGS
Email.security, SecurityFlags.
Definition email.h:139
@ ED_EMA_STRF_RECV_LOCAL
Email.received.
Definition email.h:154
@ ED_EMA_LIST_OR_SAVE_FOLDER
Envelope.to, Envelope.cc, check_for_mailing_list()
Definition email.h:148
@ ED_EMA_INDEX_HOOK
Mailbox, Email, mutt_idxfmt_hook()
Definition email.h:146
@ ED_EMA_LINES
Email.lines.
Definition email.h:147
@ ED_EMA_MESSAGE_FLAGS
Email.tagged, Email.flagged.
Definition email.h:149
@ ED_ENV_SUBJECT
Envelope.subject, Envelope.disp_subj.
Definition envelope.h:116
@ ED_ENV_NEWSGROUP
Envelope.newsgroups.
Definition envelope.h:109
@ ED_ENV_INITIALS
Envelope.from (first)
Definition envelope.h:104
@ ED_ENV_FROM_FULL
Envelope.from (all)
Definition envelope.h:103
@ ED_ENV_X_COMMENT_TO
Envelope.x_comment_to.
Definition envelope.h:123
@ ED_ENV_FROM
Envelope.from (first)
Definition envelope.h:102
@ ED_ENV_LIST_ADDRESS
Envelope.to, Envelope.cc.
Definition envelope.h:105
@ ED_ENV_SPAM
Envelope.spam.
Definition envelope.h:115
@ ED_ENV_SENDER
Envelope, make_from()
Definition envelope.h:113
@ ED_ENV_TO_ALL
Envelope.to (all)
Definition envelope.h:120
@ ED_ENV_X_LABEL
Envelope.x_label.
Definition envelope.h:124
@ ED_ENV_NAME
Envelope.from (first)
Definition envelope.h:108
@ ED_ENV_CC_ALL
Envelope.cc.
Definition envelope.h:100
@ ED_ENV_ORGANIZATION
Envelope.organization.
Definition envelope.h:110
@ ED_ENV_REPLY_TO
Envelope.reply_to.
Definition envelope.h:112
@ ED_ENV_LIST_EMPTY
Envelope.to, Envelope.cc.
Definition envelope.h:106
@ ED_ENV_THREAD_X_LABEL
Envelope.x_label.
Definition envelope.h:118
@ ED_ENV_MESSAGE_ID
Envelope.message_id.
Definition envelope.h:107
@ ED_ENV_SENDER_PLAIN
Envelope, make_from()
Definition envelope.h:114
@ ED_ENV_USERNAME
Envelope.from.
Definition envelope.h:121
@ ED_ENV_TO
Envelope.to, Envelope.cc (first)
Definition envelope.h:119
@ ED_ENV_FIRST_NAME
Envelope.from, Envelope.to, Envelope.cc.
Definition envelope.h:101
struct ExpandoNode * node_padding_parse(const char *str, struct ExpandoFormat *fmt, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err)
Parse a Padding Expando - Implements ExpandoDefinition::parse() -.
struct ExpandoNode * parse_index_hook(const char *str, struct ExpandoFormat *fmt, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err)
Parse an index-hook - Implements ExpandoDefinition::parse() -.
struct ExpandoNode * parse_subject(const char *str, struct ExpandoFormat *fmt, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err)
Parse a Subject Expando - Implements ExpandoDefinition::parse() -.
struct ExpandoNode * parse_index_date_recv_local(const char *str, struct ExpandoFormat *fmt, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err)
Parse a Date Expando - Implements ExpandoDefinition::parse() -.
struct ExpandoNode * parse_index_date_local(const char *str, struct ExpandoFormat *fmt, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err)
Parse a Date Expando - Implements ExpandoDefinition::parse() -.
struct ExpandoNode * parse_index_date(const char *str, struct ExpandoFormat *fmt, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err)
Parse a Date Expando - Implements ExpandoDefinition::parse() -.
struct ExpandoNode * parse_tags_transformed(const char *str, struct ExpandoFormat *fmt, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err)
Parse a Tags-Transformed Expando - Implements ExpandoDefinition::parse() -.
@ ED_GLO_PADDING_EOL
Padding to end-of-line.
Definition uid.h:38
@ ED_GLO_PADDING_HARD
Hard Padding.
Definition uid.h:39
@ ED_GLO_PADDING_SOFT
Soft Padding.
Definition uid.h:40

◆ SortAuxMethods

const struct Mapping SortAuxMethods[]
static
Initial value:
= {
{ "date", EMAIL_SORT_DATE },
{ "date-received", EMAIL_SORT_DATE_RECEIVED },
{ "from", EMAIL_SORT_FROM },
{ "label", EMAIL_SORT_LABEL },
{ "score", EMAIL_SORT_SCORE },
{ "size", EMAIL_SORT_SIZE },
{ "spam", EMAIL_SORT_SPAM },
{ "subject", EMAIL_SORT_SUBJECT },
{ "to", EMAIL_SORT_TO },
{ "unsorted", EMAIL_SORT_UNSORTED },
{ "date-sent", EMAIL_SORT_DATE },
{ "mailbox-order", EMAIL_SORT_UNSORTED },
{ "threads", EMAIL_SORT_DATE },
{ NULL, 0 },
}
@ EMAIL_SORT_LABEL
Sort by the emails label.
Definition sort.h:57
@ EMAIL_SORT_DATE_RECEIVED
Sort by when the message was delivered locally.
Definition sort.h:55
@ EMAIL_SORT_SPAM
Sort by the email's spam score.
Definition sort.h:60
@ EMAIL_SORT_SCORE
Sort by the email's score.
Definition sort.h:58
@ EMAIL_SORT_DATE
Sort by the date the email was sent.
Definition sort.h:54
@ EMAIL_SORT_SUBJECT
Sort by the email's subject.
Definition sort.h:61
@ EMAIL_SORT_FROM
Sort by the email's From field.
Definition sort.h:56
@ EMAIL_SORT_UNSORTED
Sort by the order the messages appear in the mailbox.
Definition sort.h:64
@ EMAIL_SORT_SIZE
Sort by the size of the email.
Definition sort.h:59
@ EMAIL_SORT_TO
Sort by the email's To field.
Definition sort.h:63

Sort methods for '$sort_aux' for the index.

Definition at line 56 of file mutt_config.c.

56 {
57 // clang-format off
58 { "date", EMAIL_SORT_DATE },
59 { "date-received", EMAIL_SORT_DATE_RECEIVED },
60 { "from", EMAIL_SORT_FROM },
61 { "label", EMAIL_SORT_LABEL },
62 { "score", EMAIL_SORT_SCORE },
63 { "size", EMAIL_SORT_SIZE },
64 { "spam", EMAIL_SORT_SPAM },
65 { "subject", EMAIL_SORT_SUBJECT },
66 { "to", EMAIL_SORT_TO },
67 { "unsorted", EMAIL_SORT_UNSORTED },
68 // Compatibility
69 { "date-sent", EMAIL_SORT_DATE },
70 { "mailbox-order", EMAIL_SORT_UNSORTED },
71 { "threads", EMAIL_SORT_DATE },
72 { NULL, 0 },
73 // clang-format on
74};

◆ SortMethods

const struct Mapping SortMethods[]
Initial value:
= {
{ "date", EMAIL_SORT_DATE },
{ "date-received", EMAIL_SORT_DATE_RECEIVED },
{ "from", EMAIL_SORT_FROM },
{ "label", EMAIL_SORT_LABEL },
{ "score", EMAIL_SORT_SCORE },
{ "size", EMAIL_SORT_SIZE },
{ "spam", EMAIL_SORT_SPAM },
{ "subject", EMAIL_SORT_SUBJECT },
{ "threads", EMAIL_SORT_THREADS },
{ "to", EMAIL_SORT_TO },
{ "unsorted", EMAIL_SORT_UNSORTED },
{ "date-sent", EMAIL_SORT_DATE },
{ "mailbox-order", EMAIL_SORT_UNSORTED },
{ NULL, 0 },
}
@ EMAIL_SORT_THREADS
Sort by email threads.
Definition sort.h:62

Sort methods for '$sort' for the index.

Definition at line 79 of file mutt_config.c.

79 {
80 // clang-format off
81 { "date", EMAIL_SORT_DATE },
82 { "date-received", EMAIL_SORT_DATE_RECEIVED },
83 { "from", EMAIL_SORT_FROM },
84 { "label", EMAIL_SORT_LABEL },
85 { "score", EMAIL_SORT_SCORE },
86 { "size", EMAIL_SORT_SIZE },
87 { "spam", EMAIL_SORT_SPAM },
88 { "subject", EMAIL_SORT_SUBJECT },
89 { "threads", EMAIL_SORT_THREADS },
90 { "to", EMAIL_SORT_TO },
91 { "unsorted", EMAIL_SORT_UNSORTED },
92 // Compatibility
93 { "date-sent", EMAIL_SORT_DATE },
94 { "mailbox-order", EMAIL_SORT_UNSORTED },
95 { NULL, 0 },
96 // clang-format on
97};

◆ AttachFormatDef

const struct ExpandoDefinition AttachFormatDef[]
static
Initial value:
= {
{ "*", "padding-soft", ED_GLOBAL, ED_GLO_PADDING_SOFT, node_padding_parse },
{ ">", "padding-hard", ED_GLOBAL, ED_GLO_PADDING_HARD, node_padding_parse },
{ "|", "padding-eol", ED_GLOBAL, ED_GLO_PADDING_EOL, node_padding_parse },
{ "c", "charset-convert", ED_BODY, ED_BOD_CHARSET_CONVERT, NULL },
{ "C", "charset", ED_ATTACH, ED_ATT_CHARSET, NULL },
{ "d", "description", ED_BODY, ED_BOD_DESCRIPTION, NULL },
{ "D", "deleted", ED_BODY, ED_BOD_DELETED, NULL },
{ "e", "mime-encoding", ED_BODY, ED_BOD_MIME_ENCODING, NULL },
{ "f", "file", ED_BODY, ED_BOD_FILE, NULL },
{ "F", "file-disposition", ED_BODY, ED_BOD_FILE_DISPOSITION, NULL },
{ "I", "disposition", ED_BODY, ED_BOD_DISPOSITION, NULL },
{ "m", "mime-major", ED_BODY, ED_BOD_MIME_MAJOR, NULL },
{ "M", "mime-minor", ED_BODY, ED_BOD_MIME_MINOR, NULL },
{ "n", "number", ED_ATTACH, ED_ATT_NUMBER, NULL },
{ "Q", "attach-qualifies", ED_BODY, ED_BOD_ATTACH_QUALIFIES, NULL },
{ "s", "file-size", ED_BODY, ED_BOD_FILE_SIZE, NULL },
{ "t", "tagged", ED_BODY, ED_BOD_TAGGED, NULL },
{ "T", "tree", ED_ATTACH, ED_ATT_TREE, NULL },
{ "u", "unlink", ED_BODY, ED_BOD_UNLINK, NULL },
{ "X", "attach-count", ED_BODY, ED_BOD_ATTACH_COUNT, NULL },
{ NULL, NULL, 0, -1, NULL }
}
@ ED_ATT_NUMBER
AttachPtr.num.
Definition attach.h:55
@ ED_ATT_TREE
AttachPtr.tree.
Definition attach.h:56
@ ED_ATT_CHARSET
AttachPtr.body.
Definition attach.h:54
@ ED_BODY
Body ED_BOD_ ExpandoDataBody.
Definition domain.h:38
@ ED_ATTACH
Attach ED_ATT_ ExpandoDataAttach.
Definition domain.h:36
@ ED_BOD_DESCRIPTION
Body.description.
Definition body.h:106
@ ED_BOD_CHARSET_CONVERT
Body.type.
Definition body.h:104
@ ED_BOD_DELETED
Body.deleted.
Definition body.h:105
@ ED_BOD_UNLINK
Body.unlink.
Definition body.h:115
@ ED_BOD_FILE_SIZE
Body.filename.
Definition body.h:110
@ ED_BOD_DISPOSITION
Body.disposition.
Definition body.h:107
@ ED_BOD_ATTACH_QUALIFIES
Body.attach_qualifies.
Definition body.h:103
@ ED_BOD_MIME_MAJOR
Body.type, Body.xtype.
Definition body.h:112
@ ED_BOD_TAGGED
Body.tagged.
Definition body.h:114
@ ED_BOD_ATTACH_COUNT
Body.attach_count.
Definition body.h:102
@ ED_BOD_FILE
Body.filename.
Definition body.h:108
@ ED_BOD_MIME_MINOR
Body.subtype.
Definition body.h:113
@ ED_BOD_FILE_DISPOSITION
Body.d_filename.
Definition body.h:109
@ ED_BOD_MIME_ENCODING
Body.encoding.
Definition body.h:111

Expando definitions.

Config:

  • $attach_format

Definition at line 122 of file mutt_config.c.

122 {
123 // clang-format off
124 { "*", "padding-soft", ED_GLOBAL, ED_GLO_PADDING_SOFT, node_padding_parse },
125 { ">", "padding-hard", ED_GLOBAL, ED_GLO_PADDING_HARD, node_padding_parse },
126 { "|", "padding-eol", ED_GLOBAL, ED_GLO_PADDING_EOL, node_padding_parse },
127 { "c", "charset-convert", ED_BODY, ED_BOD_CHARSET_CONVERT, NULL },
128 { "C", "charset", ED_ATTACH, ED_ATT_CHARSET, NULL },
129 { "d", "description", ED_BODY, ED_BOD_DESCRIPTION, NULL },
130 { "D", "deleted", ED_BODY, ED_BOD_DELETED, NULL },
131 { "e", "mime-encoding", ED_BODY, ED_BOD_MIME_ENCODING, NULL },
132 { "f", "file", ED_BODY, ED_BOD_FILE, NULL },
133 { "F", "file-disposition", ED_BODY, ED_BOD_FILE_DISPOSITION, NULL },
134 { "I", "disposition", ED_BODY, ED_BOD_DISPOSITION, NULL },
135 { "m", "mime-major", ED_BODY, ED_BOD_MIME_MAJOR, NULL },
136 { "M", "mime-minor", ED_BODY, ED_BOD_MIME_MINOR, NULL },
137 { "n", "number", ED_ATTACH, ED_ATT_NUMBER, NULL },
138 { "Q", "attach-qualifies", ED_BODY, ED_BOD_ATTACH_QUALIFIES, NULL },
139 { "s", "file-size", ED_BODY, ED_BOD_FILE_SIZE, NULL },
140 { "t", "tagged", ED_BODY, ED_BOD_TAGGED, NULL },
141 { "T", "tree", ED_ATTACH, ED_ATT_TREE, NULL },
142 { "u", "unlink", ED_BODY, ED_BOD_UNLINK, NULL },
143 { "X", "attach-count", ED_BODY, ED_BOD_ATTACH_COUNT, NULL },
144 { NULL, NULL, 0, -1, NULL }
145 // clang-format on
146};

◆ IndexFormatDefNoPadding

const struct ExpandoDefinition* const IndexFormatDefNoPadding = &(IndexFormatDef[3])
static

IndexFormatDefNoPadding - Index format definitions, without padding.

Definition at line 373 of file mutt_config.c.

◆ StatusFormatDefNoPadding

const struct ExpandoDefinition* const StatusFormatDefNoPadding = &(StatusFormatDef[3])

StatusFormatDefNoPadding - Status format definitions, without padding.

Definition at line 376 of file mutt_config.c.

◆ MainVars

struct ConfigDef MainVars[]

General Config definitions for NeoMutt.

Definition at line 381 of file mutt_config.c.

381 {
382 // clang-format off
383 { "abort_backspace", DT_BOOL, true, 0, NULL,
384 "Hitting backspace against an empty prompt aborts the prompt"
385 },
386 { "abort_key", DT_STRING|D_NOT_EMPTY|D_ON_STARTUP, IP "\007", 0, NULL,
387 "String representation of key to abort prompts"
388 },
389 { "ascii_chars", DT_BOOL, false, 0, NULL,
390 "Use plain ASCII characters, when drawing email threads"
391 },
393 "If a message is missing a character set, assume this character set"
394 },
395 { "attach_format", DT_EXPANDO|D_NOT_EMPTY, IP "%u%D%I %t%4n %T%d %> [%.7m/%.10M, %.6e%<C?, %C>, %s] ", IP &AttachFormatDef, NULL,
396 "printf-like format string for the attachment menu"
397 },
398 { "attach_save_dir", DT_PATH|D_PATH_DIR, IP "./", 0, NULL,
399 "Default directory where attachments are saved"
400 },
401 { "attach_save_without_prompting", DT_BOOL, false, 0, NULL,
402 "If true, then don't prompt to save"
403 },
404 { "attach_sep", DT_STRING, IP "\n", 0, NULL,
405 "Separator to add between saved/printed/piped attachments"
406 },
407 { "attach_split", DT_BOOL, true, 0, NULL,
408 "Save/print/pipe tagged messages individually"
409 },
410 { "auto_edit", DT_BOOL, false, 0, NULL,
411 "Skip the initial compose menu and edit the email"
412 },
413 { "auto_tag", DT_BOOL, false, 0, NULL,
414 "Automatically apply actions to all tagged messages"
415 },
416 { "beep", DT_BOOL, true, 0, NULL,
417 "Make a noise when an error occurs"
418 },
419 { "beep_new", DT_BOOL, false, 0, NULL,
420 "Make a noise when new mail arrives"
421 },
422 { "bounce", DT_QUAD, MUTT_ASKYES, 0, NULL,
423 "Confirm before bouncing a message"
424 },
425 { "braille_friendly", DT_BOOL, false, 0, NULL,
426 "Move the cursor to the beginning of the line"
427 },
429 "Default character set for displaying text on screen"
430 },
431 { "collapse_flagged", DT_BOOL, true, 0, NULL,
432 "Prevent the collapse of threads with flagged emails"
433 },
434 { "collapse_unread", DT_BOOL, true, 0, NULL,
435 "Prevent the collapse of threads with unread emails"
436 },
437 { "color_directcolor", DT_BOOL|D_ON_STARTUP, false, 0, NULL,
438 "Use 24bit colors (aka truecolor aka directcolor)"
439 },
440 { "config_charset", DT_STRING, 0, 0, charset_validator,
441 "Character set that the config files are in"
442 },
443 { "confirm_append", DT_BOOL, true, 0, NULL,
444 "Confirm before appending emails to a mailbox"
445 },
446 { "confirm_create", DT_BOOL, true, 0, NULL,
447 "Confirm before creating a new mailbox"
448 },
449 { "copy_decode_weed", DT_BOOL, false, 0, NULL,
450 "Controls whether to weed headers when copying or saving emails"
451 },
452 { "count_alternatives", DT_BOOL, false, 0, NULL,
453 "Recurse inside multipart/alternatives while counting attachments"
454 },
455 { "crypt_chars", DT_MBTABLE, IP "SPsK ", 0, NULL,
456 "User-configurable crypto flags: signed, encrypted etc."
457 },
458 { "date_format", DT_STRING|D_NOT_EMPTY, IP "!%a, %b %d, %Y at %I:%M:%S%p %Z", 0, NULL,
459 "strftime format string for the `%d` expando"
460 },
461 { "debug_file", DT_PATH|D_PATH_FILE, IP "~/.neomuttdebug", 0, NULL,
462 "File to save debug logs"
463 },
464 { "debug_level", DT_NUMBER, 0, 0, debug_level_validator,
465 "Logging level for debug logs"
466 },
467 { "default_hook", DT_STRING, IP "~f %s !~P | (~P ~C %s)", 0, NULL,
468 "Pattern to use for hooks that only have a simple regex"
469 },
470 { "delete", DT_QUAD, MUTT_ASKYES, 0, NULL,
471 "Really delete messages, when the mailbox is closed"
472 },
473 { "delete_untag", DT_BOOL, true, 0, NULL,
474 "Untag messages when they are marked for deletion"
475 },
476 { "digest_collapse", DT_BOOL, true, 0, NULL,
477 "Hide the subparts of a multipart/digest"
478 },
479 { "duplicate_threads", DT_BOOL, true, 0, NULL,
480 "Highlight messages with duplicated message IDs"
481 },
482 { "editor", DT_STRING|D_NOT_EMPTY|D_STRING_COMMAND, 0, 0, NULL,
483 "External command to use as an email editor"
484 },
485 { "flag_chars", DT_MBTABLE, IP "*!DdrONon- ", 0, NULL,
486 "User-configurable index flags: tagged, new, etc"
487 },
488 { "flag_safe", DT_BOOL, false, 0, NULL,
489 "Protect flagged messages from deletion"
490 },
491 { "folder", DT_STRING|D_STRING_MAILBOX, IP "~/Mail", 0, NULL,
492 "Base folder for a set of mailboxes"
493 },
494 { "force_name", DT_BOOL, false, 0, NULL,
495 "Save outgoing mail in a folder of their name"
496 },
497 { "forward_decode", DT_BOOL, true, 0, NULL,
498 "Decode the message when forwarding it"
499 },
500 { "forward_quote", DT_BOOL, false, 0, NULL,
501 "Automatically quote a forwarded message using `$indent_string`"
502 },
503 { "from", DT_ADDRESS, 0, 0, NULL,
504 "Default 'From' address to use, if isn't otherwise set"
505 },
506 { "from_chars", DT_MBTABLE, 0, 0, NULL,
507 "User-configurable index flags: to address, cc address, etc"
508 },
509 { "gecos_mask", DT_REGEX, IP "^[^,]*", 0, NULL,
510 "Regex for parsing GECOS field of /etc/passwd"
511 },
512 { "header", DT_BOOL, false, 0, NULL,
513 "Include the message headers in the reply email (Weed applies)"
514 },
515 { "hide_limited", DT_BOOL, false, 0, NULL,
516 "Don't indicate hidden messages, in the thread tree"
517 },
518 { "hide_missing", DT_BOOL, true, 0, NULL,
519 "Don't indicate missing messages, in the thread tree"
520 },
521 { "hide_thread_subject", DT_BOOL, true, 0, NULL,
522 "Hide subjects that are similar to that of the parent message"
523 },
524 { "hide_top_limited", DT_BOOL, false, 0, NULL,
525 "Don't indicate hidden top message, in the thread tree"
526 },
527 { "hide_top_missing", DT_BOOL, true, 0, NULL,
528 "Don't indicate missing top message, in the thread tree"
529 },
530 { "honor_disposition", DT_BOOL, false, 0, NULL,
531 "Don't display MIME parts inline if they have a disposition of 'attachment'"
532 },
533 { "hostname", DT_STRING, 0, 0, NULL,
534 "Fully-qualified domain name of this machine"
535 },
536 { "implicit_auto_view", DT_BOOL, false, 0, NULL,
537 "Display MIME attachments inline if a 'copiousoutput' mailcap entry exists"
538 },
539 { "include_encrypted", DT_BOOL, false, 0, NULL,
540 "Whether to include encrypted content when replying"
541 },
542 { "include_only_first", DT_BOOL, false, 0, NULL,
543 "Only include the first attachment when replying"
544 },
545 { "indent_string", DT_EXPANDO, IP "> ", IP IndexFormatDefNoPadding, NULL,
546 "String used to indent 'reply' text"
547 },
548 { "index_format", DT_EXPANDO|D_NOT_EMPTY, IP "%4C %Z %{%b %d} %-15.15L (%<l?%4l&%4c>) %s", IP &IndexFormatDef, NULL,
549 "printf-like format string for the index menu (emails)"
550 },
551 { "keep_flagged", DT_BOOL, false, 0, NULL,
552 "Don't move flagged messages from `$spool_file` to `$mbox`"
553 },
554 { "local_date_header", DT_BOOL, true, 0, NULL,
555 "Convert the date in the Date header of sent emails into local timezone, UTC otherwise"
556 },
557 { "mail_check", DT_NUMBER|D_INTEGER_NOT_NEGATIVE, 5, 0, NULL,
558 "Number of seconds before NeoMutt checks for new mail"
559 },
560 { "mail_check_recent", DT_BOOL, true, 0, NULL,
561 "Notify the user about new mail since the last time the mailbox was opened"
562 },
563 { "mail_check_stats", DT_BOOL, false, 0, NULL,
564 "Periodically check for new mail"
565 },
566 { "mail_check_stats_interval", DT_NUMBER|D_INTEGER_NOT_NEGATIVE, 60, 0, NULL,
567 "How often to check for new mail"
568 },
569 { "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,
570 "List of mailcap files (colon-separated)"
571 },
572 { "mailcap_sanitize", DT_BOOL, true, 0, NULL,
573 "Restrict the possible characters in mailcap expandos"
574 },
575 { "mark_old", DT_BOOL, true, 0, NULL,
576 "Mark new emails as old when leaving the mailbox"
577 },
578 { "mbox", DT_STRING|D_STRING_MAILBOX, IP "~/mbox", 0, NULL,
579 "Folder that receives read emails (see Move)"
580 },
581 { "mbox_type", DT_ENUM, MUTT_MBOX, IP &MboxTypeDef, NULL,
582 "Default type for creating new mailboxes"
583 },
584 { "message_cache_clean", DT_BOOL, false, 0, NULL,
585 "(imap/pop) Clean out obsolete entries from the message cache"
586 },
587 { "message_cache_dir", DT_PATH|D_PATH_DIR, 0, 0, NULL,
588 "(imap/pop) Directory for the message cache"
589 },
590 { "message_format", DT_EXPANDO|D_NOT_EMPTY, IP "%s", IP &IndexFormatDef, NULL,
591 "printf-like format string for listing attached messages"
592 },
593 { "meta_key", DT_BOOL, false, 0, NULL,
594 "Interpret 'ALT-x' as 'ESC-x'"
595 },
596 { "mime_forward", DT_QUAD, MUTT_NO, 0, NULL,
597 "Forward a message as a 'message/RFC822' MIME part"
598 },
599 { "mime_forward_rest", DT_QUAD, MUTT_YES, 0, NULL,
600 "Forward all attachments, even if they can't be decoded"
601 },
602 { "move", DT_QUAD, MUTT_NO, 0, NULL,
603 "Move emails from `$spool_file` to `$mbox` when read"
604 },
605 { "narrow_tree", DT_BOOL, false, 0, NULL,
606 "Draw a narrower thread tree in the index"
607 },
608 { "new_mail_command", DT_EXPANDO|D_STRING_COMMAND, 0, IP StatusFormatDefNoPadding, NULL,
609 "External command to run when new mail arrives"
610 },
611 { "pipe_decode", DT_BOOL, false, 0, NULL,
612 "Decode the message when piping it"
613 },
614 { "pipe_decode_weed", DT_BOOL, true, 0, NULL,
615 "Control whether to weed headers when piping an email"
616 },
617 { "pipe_sep", DT_STRING, IP "\n", 0, NULL,
618 "Separator to add between multiple piped messages"
619 },
620 { "pipe_split", DT_BOOL, false, 0, NULL,
621 "Run the pipe command on each message separately"
622 },
623 { "postponed", DT_STRING|D_STRING_MAILBOX, IP "~/postponed", 0, NULL,
624 "Folder to store postponed messages"
625 },
626 { "preferred_languages", DT_SLIST|D_SLIST_SEP_COMMA, 0, 0, NULL,
627 "List of Preferred Languages for multilingual MIME (comma-separated)"
628 },
629 { "print", DT_QUAD, MUTT_ASKNO, 0, NULL,
630 "Confirm before printing a message"
631 },
632 { "print_command", DT_STRING|D_STRING_COMMAND, IP "lpr", 0, NULL,
633 "External command to print a message"
634 },
635 { "print_decode", DT_BOOL, true, 0, NULL,
636 "Decode message before printing it"
637 },
638 { "print_decode_weed", DT_BOOL, true, 0, NULL,
639 "Control whether to weed headers when printing an email"
640 },
641 { "print_split", DT_BOOL, false, 0, NULL,
642 "Print multiple messages separately"
643 },
644 { "quit", DT_QUAD, MUTT_YES, 0, NULL,
645 "Prompt before exiting NeoMutt"
646 },
647 { "quote_regex", DT_REGEX, IP "^([ \t]*[|>:}#])+", 0, NULL,
648 "Regex to match quoted text in a reply"
649 },
650 { "read_only", DT_BOOL, false, 0, NULL,
651 "Open folders in read-only mode"
652 },
653 { "real_name", DT_STRING, 0, 0, NULL,
654 "Real name of the user"
655 },
656 { "record", DT_STRING|D_STRING_MAILBOX, IP "~/sent", 0, NULL,
657 "Folder to save 'sent' messages"
658 },
659 { "reflow_space_quotes", DT_BOOL, true, 0, NULL,
660 "Insert spaces into reply quotes for 'format=flowed' messages"
661 },
662 { "reflow_text", DT_BOOL, true, 0, NULL,
663 "Reformat paragraphs of 'format=flowed' text"
664 },
665 { "reflow_wrap", DT_NUMBER, 78, 0, NULL,
666 "Maximum paragraph width for reformatting 'format=flowed' text"
667 },
668 { "resolve", DT_BOOL, true, 0, NULL,
669 "Move to the next email whenever a command modifies an email"
670 },
671 { "resume_edited_draft_files", DT_BOOL, true, 0, NULL,
672 "Resume editing previously saved draft files"
673 },
674 { "save_address", DT_BOOL, false, 0, NULL,
675 "Use sender's full address as a default save folder"
676 },
677 { "save_empty", DT_BOOL, true, 0, NULL,
678 "(mbox,mmdf) Preserve empty mailboxes"
679 },
680 { "save_name", DT_BOOL, false, 0, NULL,
681 "Save outgoing message to mailbox of recipient's name if it exists"
682 },
683 { "score", DT_BOOL, true, 0, NULL,
684 "Use message scoring"
685 },
686 { "score_threshold_delete", DT_NUMBER, -1, 0, NULL,
687 "Messages with a lower score will be automatically deleted"
688 },
689 { "score_threshold_flag", DT_NUMBER, 9999, 0, NULL,
690 "Messages with a greater score will be automatically flagged"
691 },
692 { "score_threshold_read", DT_NUMBER, -1, 0, NULL,
693 "Messages with a lower score will be automatically marked read"
694 },
695 { "send_charset", DT_SLIST|D_SLIST_SEP_COLON|D_SLIST_ALLOW_EMPTY|D_CHARSET_STRICT, IP "us-ascii:iso-8859-1:utf-8", 0, charset_slist_validator,
696 "Character sets for outgoing mail"
697 },
698 { "shell", DT_STRING|D_STRING_COMMAND, IP "/bin/sh", 0, NULL,
699 "External command to run subshells in"
700 },
701 { "show_multipart_alternative", DT_STRING, 0, 0, multipart_validator,
702 "How to display 'multipart/alternative' MIME parts"
703 },
704 { "simple_search", DT_STRING, IP "~f %s | ~s %s", 0, NULL,
705 "Pattern to search for when search doesn't contain ~'s"
706 },
707 { "size_show_bytes", DT_BOOL, false, 0, NULL,
708 "Show smaller sizes in bytes"
709 },
710 { "size_show_fractions", DT_BOOL, true, 0, NULL,
711 "Show size fractions with a single decimal place"
712 },
713 { "size_show_mb", DT_BOOL, true, 0, NULL,
714 "Show sizes in megabytes for sizes greater than 1 megabyte"
715 },
716 { "size_units_on_left", DT_BOOL, false, 0, NULL,
717 "Show the units as a prefix to the size"
718 },
719 { "sleep_time", DT_NUMBER|D_INTEGER_NOT_NEGATIVE, 1, 0, NULL,
720 "Time to pause after certain info messages"
721 },
723 "Sort method for the index"
724 },
726 "Secondary sort method for the index"
727 },
728 { "sort_re", DT_BOOL, true, 0, NULL,
729 "Whether $reply_regex must be matched when not $strict_threads"
730 },
731 { "spool_file", DT_STRING|D_STRING_MAILBOX, 0, 0, NULL,
732 "Inbox"
733 },
734 { "status_chars", DT_MBTABLE, IP "-*%A", 0, NULL,
735 "Indicator characters for the status bar"
736 },
737 { "status_on_top", DT_BOOL, false, 0, NULL,
738 "Display the status bar at the top"
739 },
740 { "strict_threads", DT_BOOL, false, 0, NULL,
741 "Thread messages using 'In-Reply-To' and 'References' headers"
742 },
743 { "suspend", DT_BOOL, true, 0, NULL,
744 "Allow the user to suspend NeoMutt using '^Z'"
745 },
746 { "text_flowed", DT_BOOL, false, 0, NULL,
747 "Generate 'format=flowed' messages"
748 },
749 { "thread_received", DT_BOOL, false, 0, NULL,
750 "Sort threaded messages by their received date"
751 },
752 { "timeout", DT_NUMBER|D_INTEGER_NOT_NEGATIVE, 600, 0, NULL,
753 "Time to wait for user input in menus"
754 },
755 { "tmp_dir", DT_PATH|D_PATH_DIR|D_NOT_EMPTY, IP TMPDIR, 0, NULL,
756 "Directory for temporary files"
757 },
758 { "to_chars", DT_MBTABLE, IP " +TCFLR", 0, NULL,
759 "Indicator characters for the 'To' field in the index"
760 },
761 { "trash", DT_STRING|D_STRING_MAILBOX, 0, 0, NULL,
762 "Folder to put deleted emails"
763 },
764 { "ts_enabled", DT_BOOL, false, 0, NULL,
765 "Allow NeoMutt to set the terminal status line and icon"
766 },
767 // L10N: $ts_icon_format default format
768 { "ts_icon_format", DT_EXPANDO|D_L10N_STRING, IP N_("M%<n?AIL&ail>"), IP StatusFormatDefNoPadding, NULL,
769 "printf-like format string for the terminal's icon title"
770 },
771 // L10N: $ts_status_format default format
772 { "ts_status_format", DT_EXPANDO|D_L10N_STRING, IP N_("NeoMutt with %<m?%m messages&no messages>%<n? [%n NEW]>"), IP StatusFormatDefNoPadding, NULL,
773 "printf-like format string for the terminal's status (window title)"
774 },
775 { "use_domain", DT_BOOL, true, 0, NULL,
776 "Qualify local addresses using this domain"
777 },
778 { "use_threads", DT_ENUM, UT_UNSET, IP &UseThreadsTypeDef, NULL,
779 "Whether to use threads for the index"
780 },
781 { "wait_key", DT_BOOL, true, 0, NULL,
782 "Prompt to press a key after running external commands"
783 },
784 { "weed", DT_BOOL, true, 0, NULL,
785 "Filter headers when displaying/forwarding/printing/replying"
786 },
787 { "wrap", DT_NUMBER, 0, 0, NULL,
788 "Width to wrap text in the pager"
789 },
790 { "wrap_search", DT_BOOL, true, 0, NULL,
791 "Wrap around when the search hits the end"
792 },
793
794 { "cursor_overlay", D_INTERNAL_DEPRECATED|DT_BOOL, 0, IP "2020-07-20" },
795 { "escape", D_INTERNAL_DEPRECATED|DT_STRING, 0, IP "2021-03-18" },
796 { "ignore_linear_white_space", D_INTERNAL_DEPRECATED|DT_BOOL, 0, IP "2021-03-18" },
797 { "mixmaster", D_INTERNAL_DEPRECATED|DT_STRING, 0, IP "2024-05-30" },
798 { "mix_entry_format", D_INTERNAL_DEPRECATED|DT_EXPANDO,0, IP "2024-05-30" },
799 { "visual", D_INTERNAL_DEPRECATED|DT_STRING, 0, IP "2021-03-18" },
800
801 { "autoedit", DT_SYNONYM, IP "auto_edit", IP "2021-03-21" },
802 { "confirmappend", DT_SYNONYM, IP "confirm_append", IP "2021-03-21" },
803 { "confirmcreate", DT_SYNONYM, IP "confirm_create", IP "2021-03-21" },
804 { "forw_decode", DT_SYNONYM, IP "forward_decode", IP "2021-03-21" },
805 { "forw_quote", DT_SYNONYM, IP "forward_quote", IP "2021-03-21" },
806 { "hdr_format", DT_SYNONYM, IP "index_format", IP "2021-03-21" },
807 { "implicit_autoview", DT_SYNONYM, IP "implicit_auto_view", IP "2023-01-25" },
808 { "include_onlyfirst", DT_SYNONYM, IP "include_only_first", IP "2021-03-21" },
809 { "indent_str", DT_SYNONYM, IP "indent_string", IP "2021-03-21" },
810 { "message_cachedir", DT_SYNONYM, IP "message_cache_dir", IP "2023-01-25" },
811 { "mime_fwd", DT_SYNONYM, IP "mime_forward", IP "2021-03-21" },
812 { "msg_format", DT_SYNONYM, IP "message_format", IP "2021-03-21" },
813 { "print_cmd", DT_SYNONYM, IP "print_command", IP "2021-03-21" },
814 { "quote_regexp", DT_SYNONYM, IP "quote_regex", IP "2021-03-21" },
815 { "realname", DT_SYNONYM, IP "real_name", IP "2021-03-21" },
816 { "spoolfile", DT_SYNONYM, IP "spool_file", IP "2021-03-21" },
817 { "tmpdir", DT_SYNONYM, IP "tmp_dir", IP "2023-01-25" },
818 { "xterm_icon", DT_SYNONYM, IP "ts_icon_format", IP "2021-03-21" },
819 { "xterm_set_titles", DT_SYNONYM, IP "ts_enabled", IP "2021-03-21" },
820 { "xterm_title", DT_SYNONYM, IP "ts_status_format", IP "2021-03-21" },
821
822 { "devel_security", DT_BOOL, false, 0, NULL,
823 "Devel feature: Security -- https://github.com/neomutt/neomutt/discussions/4251"
824 },
825
826 { NULL },
827 // clang-format on
828};
#define IP
Definition set.h:52
@ MUTT_MBOX
'mbox' Mailbox type
Definition mailbox.h:45
const struct Mapping SortMethods[]
Sort methods for '$sort' for the index.
Definition mutt_config.c:79
int sort_validator(const struct ConfigDef *cdef, intptr_t value, struct Buffer *err)
Validate the "sort" config variable - Implements ConfigDef::validator() -.
Definition thread.c:105
static int multipart_validator(const struct ConfigDef *cdef, intptr_t value, struct Buffer *err)
Validate the "show_multipart_alternative" config variable - Implements ConfigDef::validator() -.
int charset_validator(const struct ConfigDef *cdef, intptr_t value, struct Buffer *err)
Validate the "charset" config variables - Implements ConfigDef::validator() -.
Definition charset.c:45
int charset_slist_validator(const struct ConfigDef *cdef, intptr_t value, struct Buffer *err)
Validate the multiple "charset" config variables - Implements ConfigDef::validator() -.
Definition charset.c:84
int debug_level_validator(const struct ConfigDef *cdef, intptr_t value, struct Buffer *err)
Validate the "debug_level" config variable - Implements ConfigDef::validator() -.
const struct EnumDef UseThreadsTypeDef
Data for the $use_threads enumeration.
Definition thread.c:64
@ UT_UNSET
Not yet set by user, stick to legacy semantics.
Definition thread.h:97
const struct ExpandoDefinition IndexFormatDef[]
Expando definitions.
#define N_(a)
Definition message.h:32
const struct ExpandoDefinition *const StatusFormatDefNoPadding
StatusFormatDefNoPadding - Status format definitions, without padding.
static const struct ExpandoDefinition *const IndexFormatDefNoPadding
IndexFormatDefNoPadding - Index format definitions, without padding.
static const struct Mapping SortAuxMethods[]
Sort methods for '$sort_aux' for the index.
Definition mutt_config.c:56
static const struct ExpandoDefinition AttachFormatDef[]
Expando definitions.
const struct EnumDef MboxTypeDef
Data for the $mbox_type enumeration.
Definition mx.c:89
@ MUTT_ASKNO
Ask the user, defaulting to 'No'.
Definition quad.h:40
@ MUTT_NO
User answered 'No', or assume 'No'.
Definition quad.h:38
@ MUTT_ASKYES
Ask the user, defaulting to 'Yes'.
Definition quad.h:41
@ MUTT_YES
User answered 'Yes', or assume 'Yes'.
Definition quad.h:39
#define D_SLIST_SEP_COMMA
Slist items are comma-separated.
Definition types.h:110
#define D_CHARSET_SINGLE
Flag for charset_validator to allow only one charset.
Definition types.h:83
#define D_SLIST_SEP_COLON
Slist items are colon-separated.
Definition types.h:111
#define D_INTERNAL_DEPRECATED
Config item shouldn't be used any more.
Definition types.h:87
#define D_STRING_COMMAND
A command.
Definition types.h:98
#define D_SLIST_ALLOW_EMPTY
Slist may be empty.
Definition types.h:115
#define D_L10N_STRING
String can be localised.
Definition types.h:81
#define D_PATH_DIR
Path is a directory.
Definition types.h:102
#define D_CHARSET_STRICT
Flag for charset_validator to use strict char check.
Definition types.h:84
#define D_PATH_FILE
Path is a file.
Definition types.h:103
@ DT_NUMBER
a number
Definition types.h:38
@ DT_SLIST
a list of strings
Definition types.h:42
@ DT_BOOL
boolean option
Definition types.h:32
@ DT_QUAD
quad-option (no/yes/ask-no/ask-yes)
Definition types.h:40
@ DT_SYNONYM
synonym for another variable
Definition types.h:45
@ DT_STRING
a string
Definition types.h:44
@ DT_SORT
sorting methods
Definition types.h:43
@ DT_MBTABLE
multibyte char table
Definition types.h:36
@ DT_ADDRESS
e-mail address
Definition types.h:31
@ DT_EXPANDO
an expando
Definition types.h:34
@ DT_ENUM
an enumeration
Definition types.h:33
@ DT_REGEX
regular expressions
Definition types.h:41
@ DT_PATH
a path to a file/directory
Definition types.h:39
#define D_STRING_MAILBOX
Don't perform path expansions.
Definition types.h:97
#define D_SORT_LAST
Sort flag for -last prefix.
Definition types.h:118
#define D_SORT_REVERSE
Sort flag for -reverse prefix.
Definition types.h:119
#define D_NOT_EMPTY
Empty strings are not allowed.
Definition types.h:79
#define D_INTEGER_NOT_NEGATIVE
Negative numbers are not allowed.
Definition types.h:100
#define D_ON_STARTUP
May only be set at startup.
Definition types.h:78

◆ MainVarsIdn

struct ConfigDef MainVarsIdn[]
Initial value:
= {
{ "idn_decode", DT_BOOL, true, 0, NULL,
"(idn) Decode international domain names"
},
{ "idn_encode", DT_BOOL, true, 0, NULL,
"(idn) Encode international domain names"
},
{ NULL },
}

IDN Config definitions.

Definition at line 834 of file mutt_config.c.

834 {
835 // clang-format off
836 { "idn_decode", DT_BOOL, true, 0, NULL,
837 "(idn) Decode international domain names"
838 },
839 { "idn_encode", DT_BOOL, true, 0, NULL,
840 "(idn) Encode international domain names"
841 },
842 { NULL },
843 // clang-format on
844};