54 N_(
"message is tagged"),
55 N_(
"message is flagged"),
56 N_(
"message is deleted"),
57 N_(
"attachment is deleted"),
58 N_(
"message has been replied to"),
59 N_(
"message has been read"),
61 N_(
"thread has been read"),
62 N_(
"thread has at least one new message"),
63 N_(
"message has been read (%S expando)"),
64 N_(
"message has been read (%Z expando)"),
73 N_(
"message signed with a verified key"),
74 N_(
"message is PGP-encrypted"),
75 N_(
"message is signed"),
76 N_(
"message contains a PGP key"),
77 N_(
"message has no cryptography information"),
86 N_(
"message is not To: you"),
87 N_(
"message is To: you and only you"),
88 N_(
"message is To: you"),
89 N_(
"message is Cc: to you"),
90 N_(
"message is From: you"),
91 N_(
"message is sent to a subscribed mailing list"),
92 N_(
"you are in the Reply-To: list"),
110 const char *flag = NULL;
113 fprintf(fp,
"\n%s\n\n",
_(
"Message flags:"));
116 fprintf(fp,
"$flag_chars:\n");
121 fprintf(fp,
" '%s'%*s %s\n", flag, 4 - cols,
"",
_(
FlagCharsDesc[i]));
125 fprintf(fp,
"\n$crypt_chars:\n");
130 fprintf(fp,
" '%s'%*s %s\n", flag, 4 - cols,
"",
_(
CryptCharsDesc[i]));
134 fprintf(fp,
"\n$to_chars:\n");
139 fprintf(fp,
" '%s'%*s %s\n", flag, 4 - cols,
"",
_(
ToCharsDesc[i]));
155 struct Buffer *banner = NULL;
156 struct Buffer *tempfile = NULL;
206 fprintf(fp,
"%s bindings\n", menu_name);
211 fprintf(fp,
"%*s %*s %s\n", -wb0, bi->
a[0], -wb1, bi->
a[1], bi->
a[2]);
217 fprintf(fp,
"%s bindings\n",
"generic");
222 fprintf(fp,
"%*s %*s %s\n", -wb0, bi->
a[0], -wb1, bi->
a[1], bi->
a[2]);
227 fprintf(fp,
"macros\n");
234 fprintf(fp,
"%*s %s\n", -wm0, bi->
a[0], bi->
a[2]);
235 fprintf(fp,
"%s\n", bi->
a[1]);
241 fprintf(fp,
"%*s %s\n", -wm0, bi->
a[0], bi->
a[1]);
246 fprintf(fp,
"unbound functions\n");
251 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 -.
const struct MenuFuncOp OpGeneric[]
Functions for the Generic Menu.
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)
Gather info about one menu.
struct KeymapList Keymaps[MENU_MAX]
Array of key mappings, one for each MenuType.
const struct MenuFuncOp * km_get_table(enum MenuType mtype)
Lookup a Menu's functions.
int gather_unbound(const struct MenuFuncOp *funcs, const struct KeymapList *km_menu, const struct KeymapList *km_aux, struct BindingInfoArray *bia_unbound)
Gather info about unbound functions for one menu.
const char * mutt_map_get_name(int val, const struct Mapping *map)
Lookup a string for a constant.
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.
Prototypes for many functions.
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.
const struct Mapping MenuNames[]
Menu name lookup table.
MenuType
Types of GUI selections.
@ MENU_INDEX
Index panel (list of emails)
@ MENU_GENERIC
Generic selection list.
@ MENU_PAGER
Pager pager (email viewer)
@ MENU_EDITOR
Text entry area.