206 mutt_warning(
_(
"tag transform '%s' already registered as '%s'"),
225 N_(
"Set preference order for multipart alternatives"),
226 N_(
"alternative-order <mime-type>[/<mime-subtype> ] [ ... ]"),
227 "mimesupport.html#alternative-order" },
229 N_(
"Automatically display specified MIME types inline"),
230 N_(
"auto-view <mime-type>[/<mime-subtype> ] [ ... ]"),
231 "mimesupport.html#auto-view" },
233 N_(
"Add addresses to an address group"),
234 N_(
"group [ -group <name> ... ] { -rx <regex> ... | -addr <address> ... }"),
235 "configuration.html#addrgroup" },
237 N_(
"Define custom order of headers displayed"),
238 N_(
"header-order <header> [ <header> ... ]"),
239 "configuration.html#header-order" },
241 N_(
"Hide specified headers when displaying messages"),
242 N_(
"ignore <string> [ <string> ...]"),
243 "configuration.html#ignore" },
245 N_(
"Add address to the list of mailing lists"),
246 N_(
"lists [ -group <name> ... ] <regex> [ ... ]"),
247 "configuration.html#lists" },
249 N_(
"Permit specific header-fields in mailto URL processing"),
250 N_(
"mailto-allow { * | <header-field> ... }"),
251 "configuration.html#mailto-allow" },
253 N_(
"Remove a spam detection rule"),
254 N_(
"nospam { * | <regex> }"),
255 "configuration.html#spam" },
257 N_(
"Set a score value on emails matching a pattern"),
258 N_(
"score <pattern> <value>"),
259 "configuration.html#score-command" },
261 N_(
"Define rules to parse spam detection headers"),
262 N_(
"spam <regex> [ <format> ]"),
263 "configuration.html#spam" },
265 N_(
"Define expandos tags"),
266 N_(
"tag-formats <tag> <format-string> [ ... ] }"),
267 "optionalfeatures.html#custom-tags" },
269 N_(
"Rules to transform tags into icons"),
270 N_(
"tag-transforms <tag> <transformed-string> [ ... ]"),
271 "optionalfeatures.html#custom-tags" },
273 N_(
"Remove MIME types from preference order"),
274 N_(
"unalternative-order { * | [ <mime-type>[/<mime-subtype> ] ... ] }"),
275 "mimesupport.html#alternative-order" },
277 N_(
"Remove MIME types from `auto-view` list"),
278 N_(
"unauto-view { * | [ <mime-type>[/<mime-subtype> ] ... ] }"),
279 "mimesupport.html#auto-view" },
281 N_(
"Remove addresses from an address `group`"),
282 N_(
"ungroup [ -group <name> ... ] { * | -rx <regex> ... | -addr <address> ... }"),
283 "configuration.html#addrgroup" },
285 N_(
"Remove header from `header-order` list"),
286 N_(
"unheader-order { * | <header> ... }"),
287 "configuration.html#header-order" },
289 N_(
"Remove a header from the `header-order` list"),
290 N_(
"unignore { * | <string> ... }"),
291 "configuration.html#ignore" },
293 N_(
"Remove address from the list of mailing lists"),
294 N_(
"unlists { * | <regex> ... }"),
295 "configuration.html#lists" },
297 N_(
"Disallow header-fields in mailto processing"),
298 N_(
"unmailto-allow { * | <header-field> ... }"),
299 "configuration.html#mailto-allow" },
301 N_(
"Remove scoring rules for matching patterns"),
302 N_(
"unscore { * | <pattern> ... }"),
303 "configuration.html#score-command" },
310 {
"unalternative_order",
CMD_NONE, NULL,
"unalternative-order", NULL, NULL,
CF_SYNONYM },
int buf_printf(struct Buffer *buf, const char *fmt,...)
Format a string overwriting a Buffer.
bool buf_is_empty(const struct Buffer *buf)
Is the Buffer empty?
char * buf_strdup(const struct Buffer *buf)
Copy a Buffer's string.
static const char * buf_string(const struct Buffer *buf)
Convert a buffer to a const char * "string".
#define CF_SYNONYM
Command is a synonym for another command.
#define CF_NO_FLAGS
No flags are set.
@ CMD_TAG_TRANSFORMS
:tag-transforms
@ CMD_MAILTO_ALLOW
:mailto-allow
@ CMD_AUTO_VIEW
:auto-view
@ CMD_UNALTERNATIVE_ORDER
:unalternative-order
@ CMD_UNAUTO_VIEW
:unauto-view
@ CMD_UNHEADER_ORDER
:unheader-order
@ CMD_TAG_FORMATS
:tag-formats
@ CMD_ALTERNATIVE_ORDER
:alternative-order
@ CMD_HEADER_ORDER
:header-order
@ CMD_UNMAILTO_ALLOW
:unmailto-allow
CommandResult
Error codes for command_t parse functions.
@ MUTT_CMD_SUCCESS
Success: Command worked.
@ MUTT_CMD_ERROR
Error: Can't help the user.
@ MUTT_CMD_WARNING
Warning: Help given to the user.
Convenience wrapper for the core headers.
const struct Command EmailCommands[]
Email Commands.
Parse Group/Lists Commands.
Email private Module data.
enum CommandResult parse_tag_transforms(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'tag-transforms' command - Implements Command::parse() -.
enum CommandResult parse_stailq(const struct Command *cmd, struct Buffer *line, struct ListHead *list, const struct ParseContext *pc, struct ParseError *pe)
Parse a list command - Implements Command::parse() -.
enum CommandResult parse_unstailq(const struct Command *cmd, struct Buffer *line, struct ListHead *list, const struct ParseContext *pc, struct ParseError *pe)
Parse an unlist command - Implements Command::parse() -.
enum CommandResult parse_nospam(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'nospam' command - Implements Command::parse() -.
enum CommandResult parse_unlist(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse an unlist command - Implements Command::parse() -.
enum CommandResult parse_tag_formats(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'tag-formats' command - Implements Command::parse() -.
enum CommandResult parse_unlists(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'unlists' command - Implements Command::parse() -.
enum CommandResult parse_lists(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'lists' command - Implements Command::parse() -.
enum CommandResult parse_group(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'group' and 'ungroup' commands - Implements Command::parse() -.
enum CommandResult parse_unscore(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'unscore' command - Implements Command::parse() -.
enum CommandResult parse_unignore(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'unignore' command - Implements Command::parse() -.
enum CommandResult parse_spam(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'spam' command - Implements Command::parse() -.
enum CommandResult parse_ignore(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'ignore' command - Implements Command::parse() -.
enum CommandResult parse_score(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'score' command - Implements Command::parse() -.
enum CommandResult parse_list(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse a list command - Implements Command::parse() -.
#define mutt_warning(...)
struct HashElem * mutt_hash_insert(struct HashTable *table, const char *strkey, void *data)
Add a new element to the Hash Table (with string keys)
void * mutt_hash_find(const struct HashTable *table, const char *strkey)
Find the HashElem data in a Hash Table element using a key.
@ MODULE_ID_EMAIL
ModuleEmail, Email code
Convenience wrapper for the library headers.
char * mutt_str_dup(const char *str)
Copy a string, safely.
void * neomutt_get_module_data(struct NeoMutt *n, enum ModuleId id)
Get the private data for a Module.
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.
Routines for adding user scores to emails.
String manipulation buffer.
const char * name
Name of the Command.
enum CommandId id
ID of the Command.
Email private Module data.
struct HashTable * tag_formats
Hash Table: "inbox" -> "GI" - Tag format strings.
struct ListHead auto_view
List of mime types to auto view.
struct ListHead mail_to_allow
Permitted fields in a mailto: url.
struct ListHead alternative_order
List of preferred mime types to display.
struct HashTable * tag_transforms
Hash Table: "inbox" -> "i" - Alternative tag names.
struct ListHead header_order
List of header fields in the order they should be displayed.
Container for Accounts, Notifications.
Context for config parsing (history/backtrace)
Detailed error information from config parsing.
struct Buffer * message
Error message.