40 {
41
43 N_(
"Run a command when switching to a matching account"),
44 N_(
"account-hook <regex> <command>"),
45 "optionalfeatures.html#account-hook" },
47 N_(
"Define charset alias for languages"),
48 N_(
"charset-hook <alias> <charset>"),
49 "configuration.html#charset-hook" },
51 N_(
"Specify which keyid to use for recipients matching regex"),
52 N_(
"crypt-hook <regex> <keyid>"),
53 "configuration.html#crypt-hook" },
55 N_(
"Pattern rule to set the save location for outgoing mail"),
56 N_(
"fcc-hook <pattern> <mailbox>"),
57 "configuration.html#default-save-mailbox" },
59 N_(
"Equivalent to both `fcc-hook` and `save-hook`"),
60 N_(
"fcc-save-hook <pattern> <mailbox>"),
61 "configuration.html#default-save-mailbox" },
63 N_(
"Run a command upon entering a folder matching regex"),
64 N_(
"folder-hook [ -noregex ] <regex> <command>"),
65 "configuration.html#folder-hook" },
67 N_(
"Define a system-specific alias for a character set"),
68 N_(
"iconv-hook <charset> <local-charset>"),
69 "configuration.html#charset-hook" },
71 N_(
"Create dynamic index format strings"),
72 N_(
"index-format-hook <name> [!]<pattern> <format-string>"),
73 "configuration.html#index-format-hook" },
75 N_(
"On leaving a mailbox, move read messages matching a regex"),
76 N_(
"mbox-hook [ -noregex ] <regex> <mailbox>"),
77 "configuration.html#mbox-hook" },
79 N_(
"Run a command when viewing a message matching patterns"),
80 N_(
"message-hook <pattern> <command>"),
81 "configuration.html#message-hook" },
83 N_(
"Run a command when replying to messages matching a pattern"),
84 N_(
"reply-hook <pattern> <command>"),
85 "configuration.html#send-hook" },
87 N_(
"Set default save folder for messages"),
88 N_(
"save-hook <pattern> <mailbox>"),
89 "configuration.html#default-save-mailbox" },
91 N_(
"Run a command when sending a message, new or reply, matching a pattern"),
92 N_(
"send-hook <pattern> <command>"),
93 "configuration.html#send-hook" },
95 N_(
"Run command whenever a composed message is edited"),
96 N_(
"send2-hook <pattern> <command>"),
97 "configuration.html#send-hook" },
99 N_(
"Run a command before NeoMutt exits"),
100 N_(
"shutdown-hook <command>"),
101 "optionalfeatures.html#global-hooks" },
103 N_(
"Run a command when NeoMutt starts up"),
104 N_(
"startup-hook <command>"),
105 "optionalfeatures.html#global-hooks" },
107 N_(
"Run a command after a specified timeout or idle period"),
108 N_(
"timeout-hook <command>"),
109 "optionalfeatures.html#global-hooks" },
111 N_(
"Remove hooks of a given type"),
112 N_(
"unhook { * | <hook-type> }"),
113 "configuration.html#unhook" },
114
116 N_(
"Show a list of all the hooks"),
118 "advancedusage.html#hooks" },
119
120
122
124
125};
#define CF_SYNONYM
Command is a synonym for another command.
#define CF_NO_FLAGS
No flags are set.
@ CMD_SEND_HOOK
:send-hook
@ CMD_FCC_SAVE_HOOK
:fcc-save-hook
@ CMD_ICONV_HOOK
:iconv-hook
@ CMD_INDEX_FORMAT_HOOK
:index-format-hook
@ CMD_SHUTDOWN_HOOK
:shutdown-hook
@ CMD_MESSAGE_HOOK
:message-hook
@ CMD_SEND2_HOOK
:send2-hook
@ CMD_REPLY_HOOK
:reply-hook
@ CMD_STARTUP_HOOK
:startup-hook
@ CMD_CHARSET_HOOK
:charset-hook
@ CMD_SAVE_HOOK
:save-hook
@ CMD_TIMEOUT_HOOK
:timeout-hook
@ CMD_ACCOUNT_HOOK
:account-hook
@ CMD_CRYPT_HOOK
:crypt-hook
@ CMD_MBOX_HOOK
:mbox-hook
@ CMD_FOLDER_HOOK
:folder-hook
enum CommandResult parse_pattern_hook(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse pattern-based Hook commands - Implements Command::parse() -.
enum CommandResult parse_folder_hook(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse folder hook command - Implements Command::parse() -.
enum CommandResult parse_regex_hook(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse regex-based hook command - Implements Command::parse() -.
enum CommandResult parse_hooks(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'hooks' command - Implements Command::parse() -.
enum CommandResult parse_unhook(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the unhook command - Implements Command::parse() -.
enum CommandResult parse_crypt_hook(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse crypt hook commands - Implements Command::parse() -.
enum CommandResult parse_mailbox_hook(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse mailbox pattern hook commands - Implements Command::parse() -.
enum CommandResult parse_charset_hook(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse charset Hook commands - Implements Command::parse() -.
enum CommandResult parse_mbox_hook(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse mbox hook command - Implements Command::parse() -.
enum CommandResult parse_global_hook(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse global Hook commands - Implements Command::parse() -.
enum CommandResult parse_index_hook(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the index format hook command - Implements Command::parse() -.