NeoMutt  2025-12-11-694-ga89709
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
config.c File Reference

Config used by libindex. More...

#include "config.h"
#include <stdbool.h>
#include <stddef.h>
#include "mutt/lib.h"
#include "config/lib.h"
#include "expando/lib.h"
#include "menu/lib.h"
#include "shared_data.h"
+ Include dependency graph for config.c:

Go to the source code of this file.

Variables

const struct ExpandoDefinition IndexFormatDef []
 Expando definitions.
 
const struct ExpandoDefinition StatusFormatDef []
 Expando definitions.
 
static const struct ExpandoDefinition *const StatusFormatDefNoPadding = &(StatusFormatDef[3])
 StatusFormatDefNoPadding - Status format definitions, without padding.
 
struct ConfigDef IndexVars []
 Config definitions for the Index.
 

Detailed Description

Config used by libindex.

Authors
  • Richard Russon

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 config.c.

Variable Documentation

◆ IndexFormatDef

const struct ExpandoDefinition IndexFormatDef[]
extern

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 293 of file mutt_config.c.

293 {
294 // clang-format off
295 { "*", "padding-soft", ED_GLOBAL, ED_GLO_PADDING_SOFT, node_padding_parse },
296 { ">", "padding-hard", ED_GLOBAL, ED_GLO_PADDING_HARD, node_padding_parse },
297 { "|", "padding-eol", ED_GLOBAL, ED_GLO_PADDING_EOL, node_padding_parse },
300 { "a", "from", ED_ENVELOPE, ED_ENV_FROM, NULL },
301 { "A", "reply-to", ED_ENVELOPE, ED_ENV_REPLY_TO, NULL },
302 { "b", "mailbox-name", ED_MAILBOX, ED_MBX_MAILBOX_NAME, NULL },
303 { "B", "list-address", ED_ENVELOPE, ED_ENV_LIST_ADDRESS, NULL },
304 { "cr", "body-characters", ED_EMAIL, ED_EMA_BODY_CHARACTERS, NULL },
305 { "c", "size", ED_EMAIL, ED_EMA_SIZE, NULL },
306 { "C", "number", ED_EMAIL, ED_EMA_NUMBER, NULL },
307 { "d", "date-format", ED_EMAIL, ED_EMA_DATE_FORMAT, NULL },
308 { "D", "date-format-local", ED_EMAIL, ED_EMA_DATE_FORMAT_LOCAL, NULL },
309 { "e", "thread-number", ED_EMAIL, ED_EMA_THREAD_NUMBER, NULL },
310 { "E", "thread-count", ED_EMAIL, ED_EMA_THREAD_COUNT, NULL },
311 { "f", "from-full", ED_ENVELOPE, ED_ENV_FROM_FULL, NULL },
312 { "Fp", "sender-plain", ED_ENVELOPE, ED_ENV_SENDER_PLAIN, NULL },
313 { "F", "sender", ED_ENVELOPE, ED_ENV_SENDER, NULL },
314 { "g", "tags", ED_EMAIL, ED_EMA_TAGS, NULL },
315 { "G", "tags-transformed", ED_EMAIL, ED_EMA_TAGS_TRANSFORMED, parse_tags_transformed },
316 { "H", "spam", ED_ENVELOPE, ED_ENV_SPAM, NULL },
317 { "i", "message-id", ED_ENVELOPE, ED_ENV_MESSAGE_ID, NULL },
318 { "I", "initials", ED_ENVELOPE, ED_ENV_INITIALS, NULL },
319 { "J", "thread-tags", ED_EMAIL, ED_EMA_THREAD_TAGS, NULL },
320 { "K", "list-empty", ED_ENVELOPE, ED_ENV_LIST_EMPTY, NULL },
321 { "l", "lines", ED_EMAIL, ED_EMA_LINES, NULL },
322 { "L", "from-list", ED_EMAIL, ED_EMA_FROM_LIST, NULL },
323 { "m", "message-count", ED_MAILBOX, ED_MBX_MESSAGE_COUNT, NULL },
324 { "M", "thread-hidden-count", ED_EMAIL, ED_EMA_THREAD_HIDDEN_COUNT, NULL },
325 { "n", "name", ED_ENVELOPE, ED_ENV_NAME, NULL },
326 { "N", "score", ED_EMAIL, ED_EMA_SCORE, NULL },
327 { "O", "save-folder", ED_EMAIL, ED_EMA_LIST_OR_SAVE_FOLDER, NULL },
328 { "P", "percentage", ED_MAILBOX, ED_MBX_PERCENTAGE, NULL },
329 { "q", "newsgroup", ED_ENVELOPE, ED_ENV_NEWSGROUP, NULL },
330 { "r", "to-all", ED_ENVELOPE, ED_ENV_TO_ALL, NULL },
331 { "R", "cc-all", ED_ENVELOPE, ED_ENV_CC_ALL, NULL },
332 { "s", "subject", ED_ENVELOPE, ED_ENV_SUBJECT, parse_subject },
333 { "S", "flag-chars", ED_EMAIL, ED_EMA_FLAG_CHARS, NULL },
334 { "t", "to", ED_ENVELOPE, ED_ENV_TO, NULL },
335 { "T", "to-chars", ED_EMAIL, ED_EMA_TO_CHARS, NULL },
336 { "u", "username", ED_ENVELOPE, ED_ENV_USERNAME, NULL },
337 { "v", "first-name", ED_ENVELOPE, ED_ENV_FIRST_NAME, NULL },
338 { "W", "organization", ED_ENVELOPE, ED_ENV_ORGANIZATION, NULL },
339 { "x", "x-comment-to", ED_ENVELOPE, ED_ENV_X_COMMENT_TO, NULL },
340 { "X", "attachment-count", ED_EMAIL, ED_EMA_ATTACHMENT_COUNT, NULL },
341 { "y", "x-label", ED_ENVELOPE, ED_ENV_X_LABEL, NULL },
342 { "Y", "thread-x-label", ED_ENVELOPE, ED_ENV_THREAD_X_LABEL, NULL },
343 { "Z", "combined-flags", ED_EMAIL, ED_EMA_COMBINED_FLAGS, NULL },
344 { "zc", "crypto-flags", ED_EMAIL, ED_EMA_CRYPTO_FLAGS, NULL },
345 { "zs", "status-flags", ED_EMAIL, ED_EMA_STATUS_FLAGS, NULL },
346 { "zt", "message-flags", ED_EMAIL, ED_EMA_MESSAGE_FLAGS, NULL },
349 { NULL, NULL, 0, -1, NULL }
350 // clang-format on
351};
@ ED_MBX_MESSAGE_COUNT
Mailbox.msg_count.
Definition mailbox.h:158
@ ED_MBX_PERCENTAGE
EmailFormatInfo.pager_progress.
Definition mailbox.h:159
@ ED_MBX_MAILBOX_NAME
Mailbox, mailbox_path()
Definition mailbox.h:157
@ 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_format_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

◆ StatusFormatDef

const struct ExpandoDefinition StatusFormatDef[]

Expando definitions.

Config:

  • $new_mail_command
  • $status_format
  • $ts_icon_format
  • $ts_status_format

Definition at line 49 of file config.c.

49 {
50 // clang-format off
51 { "*", "padding-soft", ED_GLOBAL, ED_GLO_PADDING_SOFT, node_padding_parse },
52 { ">", "padding-hard", ED_GLOBAL, ED_GLO_PADDING_HARD, node_padding_parse },
53 { "|", "padding-eol", ED_GLOBAL, ED_GLO_PADDING_EOL, node_padding_parse },
54 { "b", "unread-mailboxes", ED_INDEX, ED_IND_UNREAD_MAILBOXES, NULL },
55 { "d", "deleted-count", ED_INDEX, ED_IND_DELETED_COUNT, NULL },
56 { "D", "description", ED_INDEX, ED_IND_DESCRIPTION, NULL },
57 { "f", "mailbox-path", ED_INDEX, ED_IND_MAILBOX_PATH, NULL },
58 { "F", "flagged-count", ED_INDEX, ED_IND_FLAGGED_COUNT, NULL },
59 { "h", "hostname", ED_GLOBAL, ED_GLO_HOSTNAME, NULL },
60 { "l", "mailbox-size", ED_INDEX, ED_IND_MAILBOX_SIZE, NULL },
61 { "L", "limit-size", ED_INDEX, ED_IND_LIMIT_SIZE, NULL },
62 { "m", "message-count", ED_INDEX, ED_IND_MESSAGE_COUNT, NULL },
63 { "M", "limit-count", ED_INDEX, ED_IND_LIMIT_COUNT, NULL },
64 { "n", "new-count", ED_INDEX, ED_IND_NEW_COUNT, NULL },
65 { "o", "old-count", ED_INDEX, ED_IND_OLD_COUNT, NULL },
66 { "p", "postponed-count", ED_INDEX, ED_IND_POSTPONED_COUNT, NULL },
67 { "P", "percentage", ED_MENU, ED_MEN_PERCENTAGE, NULL },
68 { "r", "readonly", ED_INDEX, ED_IND_READONLY, NULL },
69 { "R", "read-count", ED_INDEX, ED_IND_READ_COUNT, NULL },
70 { "s", "sort", ED_GLOBAL, ED_GLO_CONFIG_SORT, NULL },
71 { "S", "sort-aux", ED_GLOBAL, ED_GLO_CONFIG_SORT_AUX, NULL },
72 { "t", "tagged-count", ED_INDEX, ED_IND_TAGGED_COUNT, NULL },
73 { "T", "use-threads", ED_GLOBAL, ED_GLO_CONFIG_USE_THREADS, NULL },
74 { "u", "unread-count", ED_INDEX, ED_IND_UNREAD_COUNT, NULL },
75 { "v", "version", ED_GLOBAL, ED_GLO_VERSION, NULL },
76 { "V", "limit-pattern", ED_INDEX, ED_IND_LIMIT_PATTERN, NULL },
77 { NULL, NULL, 0, -1, NULL }
78 // clang-format on
79};
@ ED_MENU
Menu ED_MEN_ ExpandoDataMenu.
Definition domain.h:48
@ ED_INDEX
Index ED_IND_ ExpandoDataIndex.
Definition domain.h:46
@ ED_IND_LIMIT_COUNT
Mailbox.vcount.
Definition shared_data.h:59
@ ED_IND_MAILBOX_PATH
Mailbox.pathbuf, Mailbox.name.
Definition shared_data.h:62
@ ED_IND_DELETED_COUNT
Mailbox.msg_deleted.
Definition shared_data.h:56
@ ED_IND_NEW_COUNT
Mailbox.msg_new.
Definition shared_data.h:65
@ ED_IND_MAILBOX_SIZE
Mailbox.size.
Definition shared_data.h:63
@ ED_IND_LIMIT_PATTERN
MailboxView.pattern.
Definition shared_data.h:60
@ ED_IND_READ_COUNT
Mailbox.msg_count, Mailbox.msg_unread.
Definition shared_data.h:69
@ ED_IND_POSTPONED_COUNT
mutt_num_postponed()
Definition shared_data.h:67
@ ED_IND_FLAGGED_COUNT
Mailbox.msg_flagged.
Definition shared_data.h:58
@ ED_IND_MESSAGE_COUNT
Mailbox.msg_count.
Definition shared_data.h:64
@ ED_IND_OLD_COUNT
Mailbox.msg_unread, Mailbox.msg_new.
Definition shared_data.h:66
@ ED_IND_READONLY
Mailbox.readonly, Mailbox.dontwrite.
Definition shared_data.h:68
@ ED_IND_UNREAD_COUNT
Mailbox.msg_unread.
Definition shared_data.h:71
@ ED_IND_TAGGED_COUNT
Mailbox.msg_tagged.
Definition shared_data.h:70
@ ED_IND_LIMIT_SIZE
MailboxView.vsize.
Definition shared_data.h:61
@ ED_IND_DESCRIPTION
Mailbox.name.
Definition shared_data.h:57
@ ED_IND_UNREAD_MAILBOXES
Mailbox, mutt_mailbox_check()
Definition shared_data.h:72
@ ED_MEN_PERCENTAGE
Menu.top, ...
Definition lib.h:69
@ ED_GLO_CONFIG_USE_THREADS
Value of $use_threads.
Definition uid.h:36
@ ED_GLO_CONFIG_SORT
Value of $sort.
Definition uid.h:34
@ ED_GLO_VERSION
NeoMutt version.
Definition uid.h:42
@ ED_GLO_CONFIG_SORT_AUX
Value of $sort_aux.
Definition uid.h:35
@ ED_GLO_HOSTNAME
Local hostname.
Definition uid.h:37

◆ StatusFormatDefNoPadding

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

StatusFormatDefNoPadding - Status format definitions, without padding.

Definition at line 82 of file config.c.

◆ IndexVars

struct ConfigDef IndexVars[]

Config definitions for the Index.

Definition at line 87 of file config.c.

87 {
88 // clang-format off
89 { "beep_new", DT_BOOL, false, 0, NULL,
90 "Make a noise when new mail arrives"
91 },
92 { "change_folder_next", DT_BOOL, false, 0, NULL,
93 "Suggest the next folder, rather than the first when using '<change-folder>'"
94 },
95 { "collapse_all", DT_BOOL, false, 0, NULL,
96 "Collapse all threads when entering a folder"
97 },
98 { "crypt_chars", DT_MBTABLE, IP "SPsK ", 0, NULL,
99 "User-configurable crypto flags: signed, encrypted etc."
100 },
101 { "flag_chars", DT_MBTABLE, IP "*!DdrONon- ", 0, NULL,
102 "User-configurable index flags: tagged, new, etc"
103 },
104 { "from_chars", DT_MBTABLE, 0, 0, NULL,
105 "User-configurable index flags: to address, cc address, etc"
106 },
107 { "index_format", DT_EXPANDO|D_NOT_EMPTY, IP "%4C %Z %{%b %d} %-15.15L (%<l?%4l&%4c>) %s", IP &IndexFormatDef, NULL,
108 "printf-like format string for the index menu (emails)"
109 },
110 { "mark_macro_prefix", DT_STRING, IP "'", 0, NULL,
111 "Prefix for macros using '<mark-message>'"
112 },
113 { "new_mail_command", DT_EXPANDO|D_STRING_COMMAND, 0, IP StatusFormatDefNoPadding, NULL,
114 "External command to run when new mail arrives"
115 },
116 { "quit", DT_QUAD, MUTT_YES, 0, NULL,
117 "Prompt before exiting NeoMutt"
118 },
119 { "read_only", DT_BOOL, false, 0, NULL,
120 "Open folders in read-only mode"
121 },
122 // L10N: $status_format default format
123 { "status_format", DT_EXPANDO|D_L10N_STRING, IP N_("-%r-NeoMutt: %D [Msgs:%<M?%M/>%m%<n? New:%n>%<o? Old:%o>%<d? Del:%d>%<F? Flag:%F>%<t? Tag:%t>%<p? Post:%p>%<b? Inc:%b>%<l? %l>]---(%<T?%T/>%s/%S)-%>-(%P)---"), IP &StatusFormatDef, NULL,
124 "printf-like format string for the index's status line"
125 },
126 { "status_chars", DT_MBTABLE, IP "-*%A", 0, NULL,
127 "Indicator characters for the status bar"
128 },
129 { "to_chars", DT_MBTABLE, IP " +TCFLR", 0, NULL,
130 "Indicator characters for the 'To' field in the index"
131 },
132 { "ts_enabled", DT_BOOL, false, 0, NULL,
133 "Allow NeoMutt to set the terminal status line and icon"
134 },
135 // L10N: $ts_icon_format default format
136 { "ts_icon_format", DT_EXPANDO|D_L10N_STRING, IP N_("M%<n?AIL&ail>"), IP StatusFormatDefNoPadding, NULL,
137 "printf-like format string for the terminal's icon title"
138 },
139 // L10N: $ts_status_format default format
140 { "ts_status_format", DT_EXPANDO|D_L10N_STRING, IP N_("NeoMutt with %<m?%m messages&no messages>%<n? [%n NEW]>"), IP StatusFormatDefNoPadding, NULL,
141 "printf-like format string for the terminal's status (window title)"
142 },
143 { "uncollapse_jump", DT_BOOL, false, 0, NULL,
144 "When opening a thread, jump to the next unread message"
145 },
146 { "uncollapse_new", DT_BOOL, true, 0, NULL,
147 "Open collapsed threads when new mail arrives"
148 },
149
150 { "hdr_format", DT_SYNONYM, IP "index_format", IP "2021-03-21" },
151 { "xterm_icon", DT_SYNONYM, IP "ts_icon_format", IP "2021-03-21" },
152 { "xterm_set_titles", DT_SYNONYM, IP "ts_enabled", IP "2021-03-21" },
153 { "xterm_title", DT_SYNONYM, IP "ts_status_format", IP "2021-03-21" },
154
155 { NULL },
156 // clang-format on
157};
const struct ExpandoDefinition IndexFormatDef[]
Expando definitions.
#define IP
Definition set.h:55
const struct ExpandoDefinition StatusFormatDef[]
Expando definitions.
Definition config.c:49
static const struct ExpandoDefinition *const StatusFormatDefNoPadding
StatusFormatDefNoPadding - Status format definitions, without padding.
Definition config.c:82
#define N_(a)
Definition message.h:32
@ MUTT_YES
User answered 'Yes', or assume 'Yes'.
Definition quad.h:39
#define D_STRING_COMMAND
A command.
Definition types.h:99
#define D_L10N_STRING
String can be localised.
Definition types.h:82
@ 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_MBTABLE
multibyte char table
Definition types.h:36
@ DT_EXPANDO
an expando
Definition types.h:34
#define D_NOT_EMPTY
Empty strings are not allowed.
Definition types.h:80