52 N_(
"message is tagged"),
53 N_(
"message is flagged"),
54 N_(
"message is deleted"),
55 N_(
"attachment is deleted"),
56 N_(
"message has been replied to"),
57 N_(
"message has been read"),
59 N_(
"thread has been read"),
60 N_(
"thread has at least one new message"),
61 N_(
"message has been read (%S expando)"),
62 N_(
"message has been read (%Z expando)"),
71 N_(
"message signed with a verified key"),
72 N_(
"message is PGP-encrypted"),
73 N_(
"message is signed"),
74 N_(
"message contains a PGP key"),
75 N_(
"message has no cryptography information"),
84 N_(
"message is not To: you"),
85 N_(
"message is To: you and only you"),
86 N_(
"message is To: you"),
87 N_(
"message is Cc: to you"),
88 N_(
"message is From: you"),
89 N_(
"message is sent to a subscribed mailing list"),
90 N_(
"you are in the Reply-To: list"),
108 const char *flag = NULL;
111 fprintf(fp,
"\n%s\n\n",
_(
"Message flags:"));
114 fprintf(fp,
"$flag_chars:\n");
119 fprintf(fp,
" '%s'%*s %s\n", flag, 4 - cols,
"",
_(
FlagCharsDesc[i]));
123 fprintf(fp,
"\n$crypt_chars:\n");
128 fprintf(fp,
" '%s'%*s %s\n", flag, 4 - cols,
"",
_(
CryptCharsDesc[i]));
132 fprintf(fp,
"\n$to_chars:\n");
137 fprintf(fp,
" '%s'%*s %s\n", flag, 4 - cols,
"",
_(
ToCharsDesc[i]));
152 struct Buffer *banner = NULL;
153 struct Buffer *tempfile = NULL;
186 const char *menu_name = NULL;
191 menu_name = bi->
a[2];
197 if (ARRAY_FOREACH_IDX_bi > 0)
200 fprintf(fp,
"%s bindings\n", menu_name);
206 fprintf(fp,
"%*s %*s %s\n", -wb0, bi->
a[0], -wb1, bi->
a[1], bi->
a[2]);
213 menu_name = bi->
a[2];
219 if (ARRAY_FOREACH_IDX_bi > 0)
222 fprintf(fp,
"%s macros\n", menu_name);
230 fprintf(fp,
"%*s %s\n", -wm0, bi->
a[0], bi->
a[2]);
231 fprintf(fp,
"%s\n", bi->
a[1]);
237 fprintf(fp,
"%*s %s\n", -wm0, bi->
a[0], bi->
a[1]);
242 fprintf(fp,
"unbound functions\n");
247 fprintf(fp,
"%*s %s\n", -wu1, bi->
a[1], bi->
a[2]);
#define ARRAY_SORT(head, fn, sdata)
Sort an array.
#define ARRAY_FOREACH(elem, head)
Iterate over all elements of the array.
#define ARRAY_FREE(head)
Release all memory.
#define ARRAY_HEAD_INITIALIZER
Static initializer for arrays.
int buf_printf(struct Buffer *buf, const char *fmt,...)
Format a string overwriting a Buffer.
static const char * buf_string(const struct Buffer *buf)
Convert a buffer to a const char * "string".
struct MbTable * cs_subset_mbtable(const struct ConfigSubset *sub, const char *name)
Get a Multibyte table config item by name.
Convenience wrapper for the config headers.
Convenience wrapper for the core headers.
size_t mutt_strwidth(const char *s)
Measure a string's width in screen cells.
@ FLAG_CHAR_TO_NOT_IN_THE_LIST
Character denoting that the user is not in list.
@ FLAG_CHAR_TO_REPLY_TO
Character denoting that the user is in the Reply-To list.
@ FLAG_CHAR_CRYPT_NO_CRYPTO
Character denoting a message has no cryptography information.
@ FLAG_CHAR_CRYPT_GOOD_SIGN
Character denoting a message signed with a verified key.
@ FLAG_CHAR_ZEMPTY
Character denoting a read email, $index_format Z expando.
@ FLAG_CHAR_TAGGED
Character denoting a tagged email.
#define mutt_file_fclose(FP)
#define mutt_file_fopen(PATH, MODE)
int binding_sort(const void *a, const void *b, void *sdata)
Compare two BindingInfo by their keybinding - Implements sort_t -.
Convenience wrapper for the gui headers.
static void dump_message_flags(enum MenuType menu, FILE *fp)
Write out all the message flags.
static const char * ToCharsDesc[]
Descriptions of the $to_chars flags.
static const char * CryptCharsDesc[]
Descriptions of the $crypt_chars flags.
static const char * FlagCharsDesc[]
Descriptions of the $flag_chars flags.
void mutt_help(enum MenuType menu)
Display the Help Page.
GUI manage the main index (list of emails)
int measure_column(struct BindingInfoArray *bia, int col)
Measure one column of a table.
void gather_menu(enum MenuType menu, struct BindingInfoArray *bia_bind, struct BindingInfoArray *bia_macro, bool one_submenu)
Gather info about one menu.
int gather_unbound(enum MenuType mtype, struct BindingInfoArray *bia_unbound)
Gather info about unbound functions for one menu.
const char * mbtable_get_nth_wchar(const struct MbTable *table, int index)
Extract one char from a multi-byte table.
Convenience wrapper for the library headers.
struct Buffer * buf_pool_get(void)
Get a Buffer from the pool.
void buf_pool_release(struct Buffer **ptr)
Return a Buffer to the pool.
Info about one keybinding.
const char * a[3]
Array of info.
String manipulation buffer.
Multibyte character table.
Container for Accounts, Notifications.
struct ConfigSubset * sub
Inherited config items.
MenuType
Types of GUI selections.
@ MENU_INDEX
Index panel (list of emails)