NeoMutt  2025-12-11-949-g4870ee
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
opcodes.h File Reference

All user-callable functions. More...

#include "config.h"
#include "mutt/lib.h"
+ Include dependency graph for opcodes.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define OP_REPAINT   -3
 Repaint is needed.
 
#define OP_TIMEOUT   -2
 1 second with no events
 
#define OP_ABORT   -1
 $abort_key pressed (Ctrl-G)
 
#define OPS_ATTACH(_fmt)
 
#define OPS_AUTOCRYPT(_fmt)
 
#define OPS_CORE(_fmt)
 
#define OPS_CRYPT(_fmt)
 
#define OPS_ENVELOPE(_fmt)
 
#define OPS_NOTMUCH(_fmt)
 
#define OPS_PGP(_fmt)
 
#define OPS_SIDEBAR(_fmt)
 
#define OPS_SMIME(_fmt)
 
#define OPS(_fmt)
 
#define DEFINE_OPS(opcode, help_string)
 

Enumerations

enum  MuttOps { OP_MAX }
 All NeoMutt Opcodes. More...
 

Functions

const char * opcodes_get_description (int op)
 Get the description of an opcode.
 
const char * opcodes_get_name (int op)
 Get the name of an opcode.
 

Detailed Description

All user-callable functions.

Authors
  • Damien Riegel
  • Richard Russon
  • Pietro Cerutti

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 opcodes.h.

Macro Definition Documentation

◆ OP_REPAINT

#define OP_REPAINT   -3

Repaint is needed.

Definition at line 34 of file opcodes.h.

◆ OP_TIMEOUT

#define OP_TIMEOUT   -2

1 second with no events

Definition at line 35 of file opcodes.h.

◆ OP_ABORT

#define OP_ABORT   -1

$abort_key pressed (Ctrl-G)

Definition at line 36 of file opcodes.h.

◆ OPS_ATTACH

#define OPS_ATTACH ( _fmt)

Definition at line 39 of file opcodes.h.

39#define OPS_ATTACH(_fmt) \
40 /* L10N: Help for Compose function: <attach-file> */ \
41 _fmt(OP_ATTACH_ATTACH_FILE, N_("Attach files to this message")) \
42 /* L10N: Help for Compose function: <attach-message> */ \
43 _fmt(OP_ATTACH_ATTACH_MESSAGE, N_("Attach messages to this message")) \
44 /* L10N: Help for Compose function: <attach-news-message> */ \
45 _fmt(OP_ATTACH_ATTACH_NEWS_MESSAGE, N_("Attach news articles to this message")) \
46 /* L10N: Help for Attach function: <collapse-parts> */ \
47 _fmt(OP_ATTACH_COLLAPSE, N_("Toggle display of subparts")) \
48 /* L10N: Help for Attach function: <delete-entry> */ \
49 _fmt(OP_ATTACH_DELETE, N_("Delete the current entry")) \
50 /* L10N: Help for Compose function: <detach-file> */ \
51 _fmt(OP_ATTACH_DETACH, N_("Delete the current entry")) \
52 /* L10N: Help for Compose function: <edit-content-id> */ \
53 _fmt(OP_ATTACH_EDIT_CONTENT_ID, N_("Edit the 'Content-ID' of the attachment")) \
54 /* L10N: Help for Compose function: <edit-description> */ \
55 _fmt(OP_ATTACH_EDIT_DESCRIPTION, N_("Edit attachment description")) \
56 /* L10N: Help for Compose function: <edit-encoding> */ \
57 _fmt(OP_ATTACH_EDIT_ENCODING, N_("Edit attachment transfer-encoding")) \
58 /* L10N: Help for Compose function: <edit-language> */ \
59 _fmt(OP_ATTACH_EDIT_LANGUAGE, N_("Edit the 'Content-Language' of the attachment")) \
60 /* L10N: Help for Compose function: <edit-mime> */ \
61 _fmt(OP_ATTACH_EDIT_MIME, N_("Edit attachment using mailcap entry")) \
62 /* L10N: Help for Attach, Compose, Index function: <edit-type> */ \
63 _fmt(OP_ATTACH_EDIT_TYPE, N_("Edit attachment content type")) \
64 /* L10N: Help for Compose function: <filter-entry> */ \
65 _fmt(OP_ATTACH_FILTER, N_("Filter attachment through a shell command")) \
66 /* L10N: Help for Compose function: <get-attachment> */ \
67 _fmt(OP_ATTACH_GET_ATTACHMENT, N_("Get a temporary copy of an attachment")) \
68 /* L10N: Help for Compose function: <group-alternatives> */ \
69 _fmt(OP_ATTACH_GROUP_ALTS, N_("Group tagged attachments as 'multipart/alternative'")) \
70 /* L10N: Help for Compose function: <group-multilingual> */ \
71 _fmt(OP_ATTACH_GROUP_LINGUAL, N_("Group tagged attachments as 'multipart/multilingual'")) \
72 /* L10N: Help for Compose function: <group-related> */ \
73 _fmt(OP_ATTACH_GROUP_RELATED, N_("Group tagged attachments as 'multipart/related'")) \
74 /* L10N: Help for Compose function: <move-down> */ \
75 _fmt(OP_ATTACH_MOVE_DOWN, N_("Move an attachment down in the attachment list")) \
76 /* L10N: Help for Compose function: <move-up> */ \
77 _fmt(OP_ATTACH_MOVE_UP, N_("Move an attachment up in the attachment list")) \
78 /* L10N: Help for Compose function: <new-mime> */ \
79 _fmt(OP_ATTACH_NEW_MIME, N_("Compose new attachment using mailcap entry")) \
80 /* L10N: Help for Attach, Compose function: <print-entry> */ \
81 _fmt(OP_ATTACH_PRINT, N_("Print the current entry")) \
82 /* L10N: Help for Compose function: <rename-attachment> */ \
83 _fmt(OP_ATTACH_RENAME_ATTACHMENT, N_("Send attachment with a different name")) \
84 /* L10N: Help for Compose, Attach function: <copy-file> */ \
85 _fmt(OP_ATTACH_SAVE, N_("Save message/attachment to a mailbox/file")) \
86 /* L10N: Help for Compose function: <toggle-disposition> */ \
87 _fmt(OP_ATTACH_TOGGLE_DISPOSITION, N_("Toggle disposition between inline/attachment")) \
88 /* L10N: Help for Compose function: <toggle-recode> */ \
89 _fmt(OP_ATTACH_TOGGLE_RECODE, N_("Toggle recoding of this attachment")) \
90 /* L10N: Help for Compose function: <toggle-unlink> */ \
91 _fmt(OP_ATTACH_TOGGLE_UNLINK, N_("Toggle whether to delete file after sending it")) \
92 /* L10N: Help for Attach function: <undelete-entry> */ \
93 _fmt(OP_ATTACH_UNDELETE, N_("Undelete the current entry")) \
94 /* L10N: Help for Compose function: <ungroup-attachment> */ \
95 _fmt(OP_ATTACH_UNGROUP, N_("Ungroup 'multipart' attachment")) \
96 /* L10N: Help for Compose function: <update-encoding> */ \
97 _fmt(OP_ATTACH_UPDATE_ENCODING, N_("Update an attachment's encoding info")) \
98 /* L10N: Help for Attach, Compose function: <view-attach> */ \
99 _fmt(OP_ATTACH_VIEW, N_("View attachment using mailcap entry if necessary")) \
100 /* L10N: Help for Attach, Compose function: <view-mailcap> */ \
101 _fmt(OP_ATTACH_VIEW_MAILCAP, N_("Force viewing of attachment using mailcap")) \
102 /* L10N: Help for Attach, Compose function: <view-pager> */ \
103 _fmt(OP_ATTACH_VIEW_PAGER, N_("View attachment in pager using copiousoutput mailcap")) \
104 /* L10N: Help for Attach, Compose function: <view-text> */ \
105 _fmt(OP_ATTACH_VIEW_TEXT, N_("View attachment as text")) \
106 /* L10N: Help for Compose function: <preview-page-down> */ \
107 _fmt(OP_PREVIEW_PAGE_DOWN, N_("Show the next page of the message")) \
108 /* L10N: Help for Compose function: <preview-page-up> */ \
109 _fmt(OP_PREVIEW_PAGE_UP, N_("Show the previous page of the message")) \
110

◆ OPS_AUTOCRYPT

#define OPS_AUTOCRYPT ( _fmt)
Value:
/* L10N: Help for Index function: <autocrypt-acct-menu> */ \
_fmt(OP_AUTOCRYPT_ACCT_MENU, N_("Manage autocrypt accounts")) \
/* L10N: Help for Autocrypt function: <create-account> */ \
_fmt(OP_AUTOCRYPT_CREATE_ACCT, N_("Create a new autocrypt account")) \
/* L10N: Help for Autocrypt function: <delete-account> */ \
_fmt(OP_AUTOCRYPT_DELETE_ACCT, N_("Delete the current account")) \
/* L10N: Help for Autocrypt function: <toggle-active> */ \
_fmt(OP_AUTOCRYPT_TOGGLE_ACTIVE, N_("Toggle the current account active/inactive")) \
/* L10N: Help for Autocrypt function: <toggle-prefer-encrypt> */ \
_fmt(OP_AUTOCRYPT_TOGGLE_PREFER, N_("Toggle the current account prefer-encrypt flag")) \
/* L10N: Help for Compose function: <autocrypt-menu> */ \
_fmt(OP_COMPOSE_AUTOCRYPT_MENU, N_("Show autocrypt compose menu options"))
#define N_(a)
Definition message.h:32

Definition at line 112 of file opcodes.h.

112#define OPS_AUTOCRYPT(_fmt) \
113 /* L10N: Help for Index function: <autocrypt-acct-menu> */ \
114 _fmt(OP_AUTOCRYPT_ACCT_MENU, N_("Manage autocrypt accounts")) \
115 /* L10N: Help for Autocrypt function: <create-account> */ \
116 _fmt(OP_AUTOCRYPT_CREATE_ACCT, N_("Create a new autocrypt account")) \
117 /* L10N: Help for Autocrypt function: <delete-account> */ \
118 _fmt(OP_AUTOCRYPT_DELETE_ACCT, N_("Delete the current account")) \
119 /* L10N: Help for Autocrypt function: <toggle-active> */ \
120 _fmt(OP_AUTOCRYPT_TOGGLE_ACTIVE, N_("Toggle the current account active/inactive")) \
121 /* L10N: Help for Autocrypt function: <toggle-prefer-encrypt> */ \
122 _fmt(OP_AUTOCRYPT_TOGGLE_PREFER, N_("Toggle the current account prefer-encrypt flag")) \
123 /* L10N: Help for Compose function: <autocrypt-menu> */ \
124 _fmt(OP_COMPOSE_AUTOCRYPT_MENU, N_("Show autocrypt compose menu options"))

◆ OPS_CORE

#define OPS_CORE ( _fmt)

Definition at line 129 of file opcodes.h.

129#define OPS_CORE(_fmt) \
130 /* L10N: Help for Index function: <alias-dialog> */ \
131 _fmt(OP_ALIAS_DIALOG, N_("Open the aliases dialog")) \
132 /* L10N: Help for Pager: <bottom-page> */ \
133 _fmt(OP_BOTTOM_PAGE, N_("Move to the bottom of the page")) \
134 /* L10N: Help for Attach, Index function: <bounce-message> */ \
135 _fmt(OP_BOUNCE_MESSAGE, N_("Remail a message to another user")) \
136 /* L10N: Help for Browser function: <goto-folder> */ \
137 _fmt(OP_BROWSER_GOTO_FOLDER, N_("Swap the current folder position with $folder if it exists")) \
138 /* L10N: Help for Browser function: <select-new> */ \
139 _fmt(OP_BROWSER_NEW_FILE, N_("Select a new file in this directory")) \
140 /* L10N: Help for Browser function: <subscribe> */ \
141 _fmt(OP_BROWSER_SUBSCRIBE, N_("Subscribe to current mbox (IMAP/NNTP only)")) \
142 /* L10N: Help for Browser function: <display-filename> */ \
143 _fmt(OP_BROWSER_TELL, N_("Display the currently selected file's name")) \
144 /* L10N: Help for Browser function: <toggle-subscribed> */ \
145 _fmt(OP_BROWSER_TOGGLE_LSUB, N_("Toggle view all/subscribed mailboxes (IMAP only)")) \
146 /* L10N: Help for Browser function: <unsubscribe> */ \
147 _fmt(OP_BROWSER_UNSUBSCRIBE, N_("Unsubscribe from current mbox (IMAP/NNTP only)")) \
148 /* L10N: Help for Browser function: <view-file> */ \
149 _fmt(OP_BROWSER_VIEW_FILE, N_("View file")) \
150 /* L10N: Help for Browser, Index function: <catchup> */ \
151 _fmt(OP_CATCHUP, N_("Mark all articles in newsgroup as read")) \
152 /* L10N: Help for Browser function: <change-dir> */ \
153 _fmt(OP_CHANGE_DIRECTORY, N_("Change directories")) \
154 /* L10N: Help for Browser function: <check-new> */ \
155 _fmt(OP_CHECK_NEW, N_("Check mailboxes for new mail")) \
156 /* L10N: Help for Generic function: <check-stats> */ \
157 _fmt(OP_CHECK_STATS, N_("Calculate message statistics for all mailboxes")) \
158 /* L10N: Help for Compose function: <edit-file> */ \
159 _fmt(OP_COMPOSE_EDIT_FILE, N_("Edit the file to be attached")) \
160 /* L10N: Help for Compose function: <edit-message> */ \
161 _fmt(OP_COMPOSE_EDIT_MESSAGE, N_("Edit the message")) \
162 /* L10N: Help for Compose function: <ispell> */ \
163 _fmt(OP_COMPOSE_ISPELL, N_("Run ispell on the message")) \
164 /* L10N: Help for Compose function: <postpone-message> */ \
165 _fmt(OP_COMPOSE_POSTPONE_MESSAGE, N_("Save this message to send later")) \
166 /* L10N: Help for Compose function: <rename-file> */ \
167 _fmt(OP_COMPOSE_RENAME_FILE, N_("Rename/move an attached file")) \
168 /* L10N: Help for Compose function: <send-message> */ \
169 _fmt(OP_COMPOSE_SEND_MESSAGE, N_("Send the message")) \
170 /* L10N: Help for Attach, Index function: <compose-to-sender> */ \
171 _fmt(OP_COMPOSE_TO_SENDER, N_("Compose new message to the current message sender")) \
172 /* L10N: Help for Compose function: <write-fcc> */ \
173 _fmt(OP_COMPOSE_WRITE_MESSAGE, N_("Write the message to a folder")) \
174 /* L10N: Help for Index function: <copy-message> */ \
175 _fmt(OP_COPY_MESSAGE, N_("Copy a message to a file/mailbox")) \
176 /* L10N: Help for Index, Query function: <create-alias> */ \
177 _fmt(OP_CREATE_ALIAS, N_("Create an alias from a message sender")) \
178 /* L10N: Help for Browser function: <create-mailbox> */ \
179 _fmt(OP_CREATE_MAILBOX, N_("Create a new mailbox (IMAP only)")) \
180 /* L10N: Help for Generic function: <current-bottom> */ \
181 _fmt(OP_CURRENT_BOTTOM, N_("Move entry to bottom of screen")) \
182 /* L10N: Help for Generic function: <current-middle> */ \
183 _fmt(OP_CURRENT_MIDDLE, N_("Move entry to middle of screen")) \
184 /* L10N: Help for Generic function: <current-top> */ \
185 _fmt(OP_CURRENT_TOP, N_("Move entry to top of screen")) \
186 /* L10N: Help for Index function: <decode-copy> */ \
187 _fmt(OP_DECODE_COPY, N_("Make decoded (text/plain) copy")) \
188 /* L10N: Help for Index function: <decode-save> */ \
189 _fmt(OP_DECODE_SAVE, N_("Make decoded copy (text/plain) and delete")) \
190 /* L10N: Help for Alias, Postpone, Index function: <delete-entry> */ \
191 _fmt(OP_DELETE, N_("Delete the current entry")) \
192 /* L10N: Help for Browser function: <delete-mailbox> */ \
193 _fmt(OP_DELETE_MAILBOX, N_("Delete the current mailbox (IMAP only)")) \
194 /* L10N: Help for Index function: <delete-subthread> */ \
195 _fmt(OP_DELETE_SUBTHREAD, N_("Delete all messages in subthread")) \
196 /* L10N: Help for Index function: <delete-thread> */ \
197 _fmt(OP_DELETE_THREAD, N_("Delete all messages in thread")) \
198 /* L10N: Help for Browser function: <descend-directory> */ \
199 _fmt(OP_DESCEND_DIRECTORY, N_("Descend into a directory")) \
200 /* L10N: Help for Index function: <display-address> */ \
201 _fmt(OP_DISPLAY_ADDRESS, N_("Display full address of sender")) \
202 /* L10N: Help for Attach, Compose, Index function: <display-toggle-weed> */ \
203 _fmt(OP_DISPLAY_HEADERS, N_("Display message and toggle header weeding")) \
204 /* L10N: Help for Index function: <display-message> */ \
205 _fmt(OP_DISPLAY_MESSAGE, N_("Display a message")) \
206 /* L10N: Help for Editor function: <backspace> */ \
207 _fmt(OP_EDITOR_BACKSPACE, N_("Delete the char in front of the cursor")) \
208 /* L10N: Help for Editor function: <backward-char> */ \
209 _fmt(OP_EDITOR_BACKWARD_CHAR, N_("Move the cursor one character to the left")) \
210 /* L10N: Help for Editor function: <backward-word> */ \
211 _fmt(OP_EDITOR_BACKWARD_WORD, N_("Move the cursor to the beginning of the word")) \
212 /* L10N: Help for Editor function: <bol> */ \
213 _fmt(OP_EDITOR_BOL, N_("Jump to the beginning of the line")) \
214 /* L10N: Help for Editor function: <capitalize-word> */ \
215 _fmt(OP_EDITOR_CAPITALIZE_WORD, N_("Capitalize the word")) \
216 /* L10N: Help for Editor function: <complete> */ \
217 _fmt(OP_EDITOR_COMPLETE, N_("Complete filename or alias")) \
218 /* L10N: Help for Editor function: <complete-query> */ \
219 _fmt(OP_EDITOR_COMPLETE_QUERY, N_("Complete address with query")) \
220 /* L10N: Help for Editor function: <delete-char> */ \
221 _fmt(OP_EDITOR_DELETE_CHAR, N_("Delete the char under the cursor")) \
222 /* L10N: Help for Editor function: <downcase-word> */ \
223 _fmt(OP_EDITOR_DOWNCASE_WORD, N_("Convert the word to lower case")) \
224 /* L10N: Help for Editor function: <eol> */ \
225 _fmt(OP_EDITOR_EOL, N_("Jump to the end of the line")) \
226 /* L10N: Help for Editor function: <forward-char> */ \
227 _fmt(OP_EDITOR_FORWARD_CHAR, N_("Move the cursor one character to the right")) \
228 /* L10N: Help for Editor function: <forward-word> */ \
229 _fmt(OP_EDITOR_FORWARD_WORD, N_("Move the cursor to the end of the word")) \
230 /* L10N: Help for Editor function: <history-down> */ \
231 _fmt(OP_EDITOR_HISTORY_DOWN, N_("Scroll down through the history list")) \
232 /* L10N: Help for Editor function: <history-search> */ \
233 _fmt(OP_EDITOR_HISTORY_SEARCH, N_("Search through the history list")) \
234 /* L10N: Help for Editor function: <history-up> */ \
235 _fmt(OP_EDITOR_HISTORY_UP, N_("Scroll up through the history list")) \
236 /* L10N: Help for Editor function: <kill-eol> */ \
237 _fmt(OP_EDITOR_KILL_EOL, N_("Delete chars from cursor to end of line")) \
238 /* L10N: Help for Editor function: <kill-eow> */ \
239 _fmt(OP_EDITOR_KILL_EOW, N_("Delete chars from the cursor to the end of the word")) \
240 /* L10N: Help for Editor function: <kill-line> */ \
241 _fmt(OP_EDITOR_KILL_LINE, N_("Delete chars from cursor to beginning the line")) \
242 /* L10N: Help for Editor function: <kill-whole-line> */ \
243 _fmt(OP_EDITOR_KILL_WHOLE_LINE, N_("Delete all chars on the line")) \
244 /* L10N: Help for Editor function: <kill-word> */ \
245 _fmt(OP_EDITOR_KILL_WORD, N_("Delete the word in front of the cursor")) \
246 /* L10N: Help for Editor function: <mailbox-cycle> */ \
247 _fmt(OP_EDITOR_MAILBOX_CYCLE, N_("Cycle among incoming mailboxes")) \
248 /* L10N: Help for Editor function: <quote-char> */ \
249 _fmt(OP_EDITOR_QUOTE_CHAR, N_("Quote the next typed key")) \
250 /* L10N: Help for Editor function: <transpose-chars> */ \
251 _fmt(OP_EDITOR_TRANSPOSE_CHARS, N_("Transpose character under cursor with previous")) \
252 /* L10N: Help for Editor function: <upcase-word> */ \
253 _fmt(OP_EDITOR_UPCASE_WORD, N_("Convert the word to upper case")) \
254 /* L10N: Help for Index function: <edit-label> */ \
255 _fmt(OP_EDIT_LABEL, N_("Add, change, or delete a message's label")) \
256 /* L10N: Help for Index function: <edit-or-view-raw-message> */ \
257 _fmt(OP_EDIT_OR_VIEW_RAW_MESSAGE, N_("Edit the raw message if the mailbox is not read-only, otherwise view it")) \
258 /* L10N: Help for Index, Index function: <edit> */ \
259 _fmt(OP_EDIT_RAW_MESSAGE, N_("Edit the raw message (edit and edit-raw-message are synonyms)")) \
260 /* L10N: Help for Generic function: <end-cond> */ \
261 _fmt(OP_END_COND, N_("End of conditional execution (noop)")) \
262 /* L10N: Help for Generic function: <enter-command> */ \
263 _fmt(OP_ENTER_COMMAND, N_("Enter a neomuttrc command")) \
264 /* L10N: Help for Browser function: <enter-mask> */ \
265 _fmt(OP_ENTER_MASK, N_("Enter a file mask")) \
266 /* L10N: Help for Generic function: <exit> */ \
267 _fmt(OP_EXIT, N_("Exit this menu")) \
268 /* L10N: Help for Generic function: <first-entry> */ \
269 _fmt(OP_FIRST_ENTRY, N_("Move to the first entry")) \
270 /* L10N: Help for Index function: <flag-message> */ \
271 _fmt(OP_FLAG_MESSAGE, N_("Toggle a message's 'important' flag")) \
272 /* L10N: Help for Attach, Index function: <followup-message> */ \
273 _fmt(OP_FOLLOWUP, N_("Followup to newsgroup")) \
274 /* L10N: Help for Attach, Index function: <forward-message> */ \
275 _fmt(OP_FORWARD_MESSAGE, N_("Forward a message with comments")) \
276 /* L10N: Help for Attach, Index function: <forward-to-group> */ \
277 _fmt(OP_FORWARD_TO_GROUP, N_("Forward to newsgroup")) \
278 /* L10N: Help for Generic function: <select-entry> */ \
279 _fmt(OP_GENERIC_SELECT_ENTRY, N_("Select the current entry")) \
280 /* L10N: Help for Index function: <get-children> */ \
281 _fmt(OP_GET_CHILDREN, N_("Get all children of the current message")) \
282 /* L10N: Help for Index function: <get-message> */ \
283 _fmt(OP_GET_MESSAGE, N_("Get message with Message-ID")) \
284 /* L10N: Help for Index function: <get-parent> */ \
285 _fmt(OP_GET_PARENT, N_("Get parent of the current message")) \
286 /* L10N: Help for Browser function: <goto-parent> */ \
287 _fmt(OP_GOTO_PARENT, N_("Go to parent directory")) \
288 /* L10N: Help for Attach, Index function: <group-chat-reply> */ \
289 _fmt(OP_GROUP_CHAT_REPLY, N_("Reply to all recipients preserving To/Cc")) \
290 /* L10N: Help for Attach, Index function: <group-reply> */ \
291 _fmt(OP_GROUP_REPLY, N_("Reply to all recipients")) \
292 /* L10N: Help for Generic function: <half-down> */ \
293 _fmt(OP_HALF_DOWN, N_("Scroll down 1/2 page")) \
294 /* L10N: Help for Generic function: <half-up> */ \
295 _fmt(OP_HALF_UP, N_("Scroll up 1/2 page")) \
296 /* L10N: Help for Editor, Generic function: <help> */ \
297 _fmt(OP_HELP, N_("This screen")) \
298 /* L10N: Help for Generic function: <jump> */ \
299 _fmt(OP_JUMP, N_("Jump to an index number")) \
300 /* L10N: Help for Generic function: <last-entry> */ \
301 _fmt(OP_LAST_ENTRY, N_("Move to the last entry")) \
302 /* L10N: Help for Index function: <limit-current-thread> */ \
303 _fmt(OP_LIMIT_CURRENT_THREAD, N_("Limit view to current thread")) \
304 /* L10N: Help for Index function: <list-action> */ \
305 _fmt(OP_LIST_ACTION, N_("Perform mailing list action")) \
306 /* L10N: Help for List function: <list-archive> */ \
307 _fmt(OP_LIST_ARCHIVE, N_("Retrieve list archive information")) \
308 /* L10N: Help for List function: <list-help> */ \
309 _fmt(OP_LIST_HELP, N_("Retrieve list help")) \
310 /* L10N: Help for List function: <list-owner> */ \
311 _fmt(OP_LIST_OWNER, N_("Contact list owner")) \
312 /* L10N: Help for List function: <list-post> */ \
313 _fmt(OP_LIST_POST, N_("Post to mailing list")) \
314 /* L10N: Help for Attach, Index function: <list-reply> */ \
315 _fmt(OP_LIST_REPLY, N_("Reply to specified mailing list")) \
316 /* L10N: Help for Attach, Index, List function: <list-subscribe> */ \
317 _fmt(OP_LIST_SUBSCRIBE, N_("Subscribe to a mailing list")) \
318 /* L10N: Help for Attach, Index, List function: <list-unsubscribe> */ \
319 _fmt(OP_LIST_UNSUBSCRIBE, N_("Unsubscribe from a mailing list")) \
320 /* L10N: Help for Browser function: <reload-active> */ \
321 _fmt(OP_LOAD_ACTIVE, N_("Load list of all newsgroups from NNTP server")) \
322 /* L10N: Help for executing a macro */ \
323 _fmt(OP_MACRO, N_("Execute a macro")) \
324 /* L10N: Help for Alias, Index, Query function: <mail> */ \
325 _fmt(OP_MAIL, N_("Compose a new mail message")) \
326 /* L10N: Help for Browser, Index function: <mailbox-list> */ \
327 _fmt(OP_MAILBOX_LIST, N_("List mailboxes with new mail")) \
328 /* L10N: Help for Index function: <break-thread> */ \
329 _fmt(OP_MAIN_BREAK_THREAD, N_("Break the thread in two")) \
330 /* L10N: Help for Index function: <change-folder> */ \
331 _fmt(OP_MAIN_CHANGE_FOLDER, N_("Open a different folder")) \
332 /* L10N: Help for Index function: <change-folder-readonly> */ \
333 _fmt(OP_MAIN_CHANGE_FOLDER_READONLY, N_("Open a different folder in read only mode")) \
334 /* L10N: Help for Index function: <change-newsgroup> */ \
335 _fmt(OP_MAIN_CHANGE_GROUP, N_("Open a different newsgroup")) \
336 /* L10N: Help for Index function: <change-newsgroup-readonly> */ \
337 _fmt(OP_MAIN_CHANGE_GROUP_READONLY, N_("Open a different newsgroup in read only mode")) \
338 /* L10N: Help for Index function: <clear-flag> */ \
339 _fmt(OP_MAIN_CLEAR_FLAG, N_("Clear a status flag from a message")) \
340 /* L10N: Help for Index function: <close-all-threads> */ \
341 _fmt(OP_MAIN_CLOSE_ALL_THREADS, N_("Collapse all threads")) \
342 /* L10N: Help for Index function: <close-thread> */ \
343 _fmt(OP_MAIN_CLOSE_THREAD, N_("Collapse current thread")) \
344 /* L10N: Help for Index function: <collapse-all> */ \
345 _fmt(OP_MAIN_COLLAPSE_ALL, N_("Collapse/uncollapse all threads")) \
346 /* L10N: Help for Index function: <collapse-thread> */ \
347 _fmt(OP_MAIN_COLLAPSE_THREAD, N_("Collapse/uncollapse current thread")) \
348 /* L10N: Help for Index function: <delete-pattern> */ \
349 _fmt(OP_MAIN_DELETE_PATTERN, N_("Delete non-hidden messages matching a pattern")) \
350 /* L10N: Help for Index function: <fetch-mail> */ \
351 _fmt(OP_MAIN_FETCH_MAIL, N_("Retrieve mail from POP server")) \
352 /* L10N: Help for Index function: <imap-fetch-mail> */ \
353 _fmt(OP_MAIN_IMAP_FETCH, N_("Force retrieval of mail from IMAP server")) \
354 /* L10N: Help for Index function: <imap-logout-all> */ \
355 _fmt(OP_MAIN_IMAP_LOGOUT_ALL, N_("Logout from all IMAP servers")) \
356 /* L10N: Help for Alias, Index, Query function: <limit> */ \
357 _fmt(OP_MAIN_LIMIT, N_("Show only messages matching a pattern")) \
358 /* L10N: Help for Index function: <link-threads> */ \
359 _fmt(OP_MAIN_LINK_THREADS, N_("Link tagged message to the current one")) \
360 /* L10N: Help for Index, Index function: <modify-labels> */ \
361 _fmt(OP_MAIN_MODIFY_TAGS, N_("Modify (notmuch/imap) tags")) \
362 /* L10N: Help for Index, Index function: <modify-labels-then-hide> */ \
363 _fmt(OP_MAIN_MODIFY_TAGS_THEN_HIDE, N_("Modify (notmuch/imap) tags and then hide message")) \
364 /* L10N: Help for Index function: <next-new> */ \
365 _fmt(OP_MAIN_NEXT_NEW, N_("Jump to the next new message")) \
366 /* L10N: Help for Index function: <next-new-then-unread> */ \
367 _fmt(OP_MAIN_NEXT_NEW_THEN_UNREAD, N_("Jump to the next new or unread message")) \
368 /* L10N: Help for Index function: <next-subthread> */ \
369 _fmt(OP_MAIN_NEXT_SUBTHREAD, N_("Jump to the next subthread")) \
370 /* L10N: Help for Index function: <next-thread> */ \
371 _fmt(OP_MAIN_NEXT_THREAD, N_("Jump to the next thread")) \
372 /* L10N: Help for Index function: <next-undeleted> */ \
373 _fmt(OP_MAIN_NEXT_UNDELETED, N_("Move to the next undeleted message")) \
374 /* L10N: Help for Index function: <next-unread> */ \
375 _fmt(OP_MAIN_NEXT_UNREAD, N_("Jump to the next unread message")) \
376 /* L10N: Help for Index function: <next-unread-mailbox> */ \
377 _fmt(OP_MAIN_NEXT_UNREAD_MAILBOX, N_("Open next mailbox with new mail")) \
378 /* L10N: Help for Index function: <previous-unread-mailbox> */ \
379 _fmt(OP_MAIN_PREV_UNREAD_MAILBOX, N_("Open previous mailbox with new mail")) \
380 /* L10N: Help for Index function: <open-all-threads> */ \
381 _fmt(OP_MAIN_OPEN_ALL_THREADS, N_("Uncollapse all threads")) \
382 /* L10N: Help for Index function: <open-thread> */ \
383 _fmt(OP_MAIN_OPEN_THREAD, N_("Uncollapse current thread")) \
384 /* L10N: Help for Index function: <parent-message> */ \
385 _fmt(OP_MAIN_PARENT_MESSAGE, N_("Jump to parent message in thread")) \
386 /* L10N: Help for Index function: <previous-new> */ \
387 _fmt(OP_MAIN_PREV_NEW, N_("Jump to the previous new message")) \
388 /* L10N: Help for Index function: <previous-new-then-unread> */ \
389 _fmt(OP_MAIN_PREV_NEW_THEN_UNREAD, N_("Jump to the previous new or unread message")) \
390 /* L10N: Help for Index function: <previous-subthread> */ \
391 _fmt(OP_MAIN_PREV_SUBTHREAD, N_("Jump to previous subthread")) \
392 /* L10N: Help for Index function: <previous-thread> */ \
393 _fmt(OP_MAIN_PREV_THREAD, N_("Jump to previous thread")) \
394 /* L10N: Help for Index function: <previous-undeleted> */ \
395 _fmt(OP_MAIN_PREV_UNDELETED, N_("Move to the previous undeleted message")) \
396 /* L10N: Help for Index function: <previous-unread> */ \
397 _fmt(OP_MAIN_PREV_UNREAD, N_("Jump to the previous unread message")) \
398 /* L10N: Help for Index function: <quasi-delete> */ \
399 _fmt(OP_MAIN_QUASI_DELETE, N_("Delete from NeoMutt, don't touch on disk")) \
400 /* L10N: Help for Index function: <read-subthread> */ \
401 _fmt(OP_MAIN_READ_SUBTHREAD, N_("Mark the current subthread as read")) \
402 /* L10N: Help for Index function: <read-thread> */ \
403 _fmt(OP_MAIN_READ_THREAD, N_("Mark the current thread as read")) \
404 /* L10N: Help for Index function: <root-message> */ \
405 _fmt(OP_MAIN_ROOT_MESSAGE, N_("Jump to root message in thread")) \
406 /* L10N: Help for Index function: <set-flag> */ \
407 _fmt(OP_MAIN_SET_FLAG, N_("Set a status flag on a message")) \
408 /* L10N: Help for Index function: <show-limit> */ \
409 _fmt(OP_MAIN_SHOW_LIMIT, N_("Show currently active limit pattern")) \
410 /* L10N: Help for Index function: <sync-mailbox> */ \
411 _fmt(OP_MAIN_SYNC_FOLDER, N_("Save changes to mailbox")) \
412 /* L10N: Help for Alias, Index, Query function: <tag-pattern> */ \
413 _fmt(OP_MAIN_TAG_PATTERN, N_("Tag non-hidden messages matching a pattern")) \
414 /* L10N: Help for Index function: <undelete-pattern> */ \
415 _fmt(OP_MAIN_UNDELETE_PATTERN, N_("Undelete non-hidden messages matching a pattern")) \
416 /* L10N: Help for Alias, Index, Query function: <untag-pattern> */ \
417 _fmt(OP_MAIN_UNTAG_PATTERN, N_("Untag non-hidden messages matching a pattern")) \
418 /* L10N: Help for Index function: <mark-message> */ \
419 _fmt(OP_MARK_MSG, N_("Create a hotkey macro for the current message")) \
420 /* L10N: Help for Generic function: <middle-page> */ \
421 _fmt(OP_MIDDLE_PAGE, N_("Move to the middle of the page")) \
422 /* L10N: Help for Generic function: <next-entry> */ \
423 _fmt(OP_NEXT_ENTRY, N_("Move to the next entry")) \
424 /* L10N: Help for Generic function: <next-line> */ \
425 _fmt(OP_NEXT_LINE, N_("Scroll down one line")) \
426 /* L10N: Help for Generic function: <next-page> */ \
427 _fmt(OP_NEXT_PAGE, N_("Move to the next page")) \
428 /* L10N: Help for Pager function: <toggle-quoted> */ \
429 _fmt(OP_PAGER_HIDE_QUOTED, N_("Toggle display of quoted text")) \
430 /* L10N: Help for Pager function: <skip-headers> */ \
431 _fmt(OP_PAGER_SKIP_HEADERS, N_("Jump to first line after headers")) \
432 /* L10N: Help for Pager function: <skip-quoted> */ \
433 _fmt(OP_PAGER_SKIP_QUOTED, N_("Skip beyond quoted text")) \
434 /* L10N: Help for Attach, Compose, Index, Attach, Compose, Index function: <pipe-entry> */ \
435 _fmt(OP_PIPE, N_("Pipe message/attachment to a shell command")) \
436 /* L10N: Help for Index function: <post-message> */ \
437 _fmt(OP_POST, N_("Post message to newsgroup")) \
438 /* L10N: Help for Generic function: <previous-entry> */ \
439 _fmt(OP_PREV_ENTRY, N_("Move to the previous entry")) \
440 /* L10N: Help for Generic function: <previous-line> */ \
441 _fmt(OP_PREV_LINE, N_("Scroll up one line")) \
442 /* L10N: Help for Generic function: <previous-page> */ \
443 _fmt(OP_PREV_PAGE, N_("Move to the previous page")) \
444 /* L10N: Help for Index function: <print-message> */ \
445 _fmt(OP_PRINT, N_("Print the current entry")) \
446 /* L10N: Help for Index function: <purge-message> */ \
447 _fmt(OP_PURGE_MESSAGE, N_("Delete the current entry, bypassing the trash folder")) \
448 /* L10N: Help for Index function: <purge-thread> */ \
449 _fmt(OP_PURGE_THREAD, N_("Delete the current thread, bypassing the trash folder")) \
450 /* L10N: Help for Index, Query function: <query> */ \
451 _fmt(OP_QUERY, N_("Query external program for addresses")) \
452 /* L10N: Help for Query function: <query-append> */ \
453 _fmt(OP_QUERY_APPEND, N_("Append new query results to current results")) \
454 /* L10N: Help for Generic function: <quit> */ \
455 _fmt(OP_QUIT, N_("Save changes to mailbox and quit")) \
456 /* L10N: Help for Index function: <recall-message> */ \
457 _fmt(OP_RECALL_MESSAGE, N_("Recall a postponed message")) \
458 /* L10N: Help for Index function: <reconstruct-thread> */ \
459 _fmt(OP_RECONSTRUCT_THREAD, N_("Reconstruct thread containing current message")) \
460 /* L10N: Help for Editor, Generic function: <redraw-screen> */ \
461 _fmt(OP_REDRAW, N_("Clear and redraw the screen")) \
462 /* L10N: Help for Browser function: <rename-mailbox> */ \
463 _fmt(OP_RENAME_MAILBOX, N_("Rename the current mailbox (IMAP only)")) \
464 /* L10N: Help for Attach, Index function: <reply> */ \
465 _fmt(OP_REPLY, N_("Reply to a message")) \
466 /* L10N: Help for Attach, Index function: <resend-message> */ \
467 _fmt(OP_RESEND, N_("Use the current message as a template for a new one")) \
468 /* L10N: Help for Index function: <save-message> */ \
469 _fmt(OP_SAVE, N_("Save message/attachment to a mailbox/file")) \
470 /* L10N: Help for Generic function: <search> */ \
471 _fmt(OP_SEARCH, N_("Search for a regular expression")) \
472 /* L10N: Help for Generic function: <search-next> */ \
473 _fmt(OP_SEARCH_NEXT, N_("Search for next match")) \
474 /* L10N: Help for Generic function: <search-opposite> */ \
475 _fmt(OP_SEARCH_OPPOSITE, N_("Search for next match in opposite direction")) \
476 /* L10N: Help for Generic function: <search-reverse> */ \
477 _fmt(OP_SEARCH_REVERSE, N_("Search backwards for a regular expression")) \
478 /* L10N: Help for Pager function: <search-toggle> */ \
479 _fmt(OP_SEARCH_TOGGLE, N_("Toggle search pattern coloring")) \
480 /* L10N: Help for Generic function: <shell-escape> */ \
481 _fmt(OP_SHELL_ESCAPE, N_("Invoke a command in a subshell")) \
482 /* L10N: Help for Generic function: <show-log-messages> */ \
483 _fmt(OP_SHOW_LOG_MESSAGES, N_("Show log (and debug) messages")) \
484 /* L10N: Help for Browser, Query, Alias, Index function: <sort> */ \
485 _fmt(OP_SORT, N_("Sort messages")) \
486 /* L10N: Help for Alias, Browser, Index, Query function: <sort-alias-reverse> */ \
487 _fmt(OP_SORT_REVERSE, N_("Sort messages in reverse order")) \
488 /* L10N: Help for Browser function: <subscribe-pattern> */ \
489 _fmt(OP_SUBSCRIBE_PATTERN, N_("Subscribe to newsgroups matching a pattern")) \
490 /* L10N: Help for Generic, Postpone function: <tag-entry> */ \
491 _fmt(OP_TAG, N_("Tag the current entry")) \
492 /* L10N: Help for Generic function: <tag-prefix> */ \
493 _fmt(OP_TAG_PREFIX, N_("Apply next function to tagged messages")) \
494 /* L10N: Help for Generic function: <tag-prefix-cond> */ \
495 _fmt(OP_TAG_PREFIX_COND, N_("Apply next function ONLY to tagged messages")) \
496 /* L10N: Help for Index function: <tag-subthread> */ \
497 _fmt(OP_TAG_SUBTHREAD, N_("Tag the current subthread")) \
498 /* L10N: Help for Index function: <tag-thread> */ \
499 _fmt(OP_TAG_THREAD, N_("Tag the current thread")) \
500 /* L10N: Help for Browser function: <toggle-mailboxes> */ \
501 _fmt(OP_TOGGLE_MAILBOXES, N_("Toggle whether to browse mailboxes or all files")) \
502 /* L10N: Help for Index function: <toggle-new> */ \
503 _fmt(OP_TOGGLE_NEW, N_("Toggle a message's 'new' flag")) \
504 /* L10N: Help for Index function: <toggle-read> */ \
505 _fmt(OP_TOGGLE_READ, N_("Toggle view of read messages")) \
506 /* L10N: Help for Index function: <toggle-write> */ \
507 _fmt(OP_TOGGLE_WRITE, N_("Toggle whether the mailbox will be rewritten")) \
508 /* L10N: Help for Generic function: <top-page> */ \
509 _fmt(OP_TOP_PAGE, N_("Move to the top of the page")) \
510 /* L10N: Help for Browser function: <uncatchup> */ \
511 _fmt(OP_UNCATCHUP, N_("Mark all articles in newsgroup as unread")) \
512 /* L10N: Help for Alias, Postpone, Index function: <undelete-entry> */ \
513 _fmt(OP_UNDELETE, N_("Undelete the current entry")) \
514 /* L10N: Help for Index function: <undelete-subthread> */ \
515 _fmt(OP_UNDELETE_SUBTHREAD, N_("Undelete all messages in subthread")) \
516 /* L10N: Help for Index function: <undelete-thread> */ \
517 _fmt(OP_UNDELETE_THREAD, N_("Undelete all messages in thread")) \
518 /* L10N: Help for Browser function: <unsubscribe-pattern> */ \
519 _fmt(OP_UNSUBSCRIBE_PATTERN, N_("Unsubscribe from newsgroups matching a pattern")) \
520 /* L10N: Help for Generic function: <show-version> */ \
521 _fmt(OP_VERSION, N_("Show the NeoMutt version number and date")) \
522 /* L10N: Help for Index function: <view-attachments> */ \
523 _fmt(OP_VIEW_ATTACHMENTS, N_("Show MIME attachments")) \
524 /* L10N: Help for Index function: <view-raw-message> */ \
525 _fmt(OP_VIEW_RAW_MESSAGE, N_("Show the raw message")) \
526 /* L10N: Help for Generic function: <what-key> */ \
527 _fmt(OP_WHAT_KEY, N_("Display the keycode for a key press")) \
528

◆ OPS_CRYPT

#define OPS_CRYPT ( _fmt)
Value:
/* L10N: Help for Index function: <decrypt-copy> */ \
_fmt(OP_DECRYPT_COPY, N_("Make decrypted copy")) \
/* L10N: Help for Index function: <decrypt-save> */ \
_fmt(OP_DECRYPT_SAVE, N_("Make decrypted copy and delete")) \
/* L10N: Help for Attach, Index function: <extract-keys> */ \
_fmt(OP_EXTRACT_KEYS, N_("Extract supported public keys")) \
/* L10N: Help for Attach, Compose, Index function: <forget-passphrase> */ \
_fmt(OP_FORGET_PASSPHRASE, N_("Wipe passphrases from memory")) \

Definition at line 529 of file opcodes.h.

529#define OPS_CRYPT(_fmt) \
530 /* L10N: Help for Index function: <decrypt-copy> */ \
531 _fmt(OP_DECRYPT_COPY, N_("Make decrypted copy")) \
532 /* L10N: Help for Index function: <decrypt-save> */ \
533 _fmt(OP_DECRYPT_SAVE, N_("Make decrypted copy and delete")) \
534 /* L10N: Help for Attach, Index function: <extract-keys> */ \
535 _fmt(OP_EXTRACT_KEYS, N_("Extract supported public keys")) \
536 /* L10N: Help for Attach, Compose, Index function: <forget-passphrase> */ \
537 _fmt(OP_FORGET_PASSPHRASE, N_("Wipe passphrases from memory")) \
538

◆ OPS_ENVELOPE

#define OPS_ENVELOPE ( _fmt)
Value:
/* L10N: Help for Compose function: <edit-bcc> */ \
_fmt(OP_ENVELOPE_EDIT_BCC, N_("Edit the BCC list")) \
/* L10N: Help for Compose function: <edit-cc> */ \
_fmt(OP_ENVELOPE_EDIT_CC, N_("Edit the CC list")) \
/* L10N: Help for Compose function: <edit-fcc> */ \
_fmt(OP_ENVELOPE_EDIT_FCC, N_("Enter a file to save a copy of this message in")) \
/* L10N: Help for Compose function: <edit-followup-to> */ \
_fmt(OP_ENVELOPE_EDIT_FOLLOWUP_TO, N_("Edit the Followup-To field")) \
/* L10N: Help for Compose function: <edit-from> */ \
_fmt(OP_ENVELOPE_EDIT_FROM, N_("Edit the from field")) \
/* L10N: Help for Compose function: <edit-headers> */ \
_fmt(OP_ENVELOPE_EDIT_HEADERS, N_("Edit the message with headers")) \
/* L10N: Help for Compose function: <edit-newsgroups> */ \
_fmt(OP_ENVELOPE_EDIT_NEWSGROUPS, N_("Edit the newsgroups list")) \
/* L10N: Help for Compose function: <edit-reply-to> */ \
_fmt(OP_ENVELOPE_EDIT_REPLY_TO, N_("Edit the Reply-To field")) \
/* L10N: Help for Compose function: <edit-subject> */ \
_fmt(OP_ENVELOPE_EDIT_SUBJECT, N_("Edit the subject of this message")) \
/* L10N: Help for Compose function: <edit-to> */ \
_fmt(OP_ENVELOPE_EDIT_TO, N_("Edit the TO list")) \
/* L10N: Help for Compose function: <edit-x-comment-to> */ \
_fmt(OP_ENVELOPE_EDIT_X_COMMENT_TO, N_("Edit the X-Comment-To field")) \

Definition at line 539 of file opcodes.h.

539#define OPS_ENVELOPE(_fmt) \
540 /* L10N: Help for Compose function: <edit-bcc> */ \
541 _fmt(OP_ENVELOPE_EDIT_BCC, N_("Edit the BCC list")) \
542 /* L10N: Help for Compose function: <edit-cc> */ \
543 _fmt(OP_ENVELOPE_EDIT_CC, N_("Edit the CC list")) \
544 /* L10N: Help for Compose function: <edit-fcc> */ \
545 _fmt(OP_ENVELOPE_EDIT_FCC, N_("Enter a file to save a copy of this message in")) \
546 /* L10N: Help for Compose function: <edit-followup-to> */ \
547 _fmt(OP_ENVELOPE_EDIT_FOLLOWUP_TO, N_("Edit the Followup-To field")) \
548 /* L10N: Help for Compose function: <edit-from> */ \
549 _fmt(OP_ENVELOPE_EDIT_FROM, N_("Edit the from field")) \
550 /* L10N: Help for Compose function: <edit-headers> */ \
551 _fmt(OP_ENVELOPE_EDIT_HEADERS, N_("Edit the message with headers")) \
552 /* L10N: Help for Compose function: <edit-newsgroups> */ \
553 _fmt(OP_ENVELOPE_EDIT_NEWSGROUPS, N_("Edit the newsgroups list")) \
554 /* L10N: Help for Compose function: <edit-reply-to> */ \
555 _fmt(OP_ENVELOPE_EDIT_REPLY_TO, N_("Edit the Reply-To field")) \
556 /* L10N: Help for Compose function: <edit-subject> */ \
557 _fmt(OP_ENVELOPE_EDIT_SUBJECT, N_("Edit the subject of this message")) \
558 /* L10N: Help for Compose function: <edit-to> */ \
559 _fmt(OP_ENVELOPE_EDIT_TO, N_("Edit the TO list")) \
560 /* L10N: Help for Compose function: <edit-x-comment-to> */ \
561 _fmt(OP_ENVELOPE_EDIT_X_COMMENT_TO, N_("Edit the X-Comment-To field")) \
562

◆ OPS_NOTMUCH

#define OPS_NOTMUCH ( _fmt)
Value:
/* L10N: Help for Index function: <change-vfolder> */ \
_fmt(OP_MAIN_CHANGE_VFOLDER, N_("Open a different virtual folder")) \
/* L10N: Help for Index function: <entire-thread> */ \
_fmt(OP_MAIN_ENTIRE_THREAD, N_("Read entire thread of the current message")) \
/* L10N: Help for Index function: <vfolder-from-query> */ \
_fmt(OP_MAIN_VFOLDER_FROM_QUERY, N_("Generate virtual folder from query")) \
/* L10N: Help for Index function: <vfolder-from-query-readonly> */ \
_fmt(OP_MAIN_VFOLDER_FROM_QUERY_READONLY, N_("Generate a read-only virtual folder from query")) \
/* L10N: Help for Index function: <vfolder-window-backward> */ \
_fmt(OP_MAIN_WINDOWED_VFOLDER_BACKWARD, N_("Shifts virtual folder time window backwards")) \
/* L10N: Help for Index function: <vfolder-window-forward> */ \
_fmt(OP_MAIN_WINDOWED_VFOLDER_FORWARD, N_("Shifts virtual folder time window forwards")) \
/* L10N: Help for Index function: <vfolder-window-reset> */ \
_fmt(OP_MAIN_WINDOWED_VFOLDER_RESET, N_("Resets virtual folder time window to the present"))

Definition at line 564 of file opcodes.h.

564#define OPS_NOTMUCH(_fmt) \
565 /* L10N: Help for Index function: <change-vfolder> */ \
566 _fmt(OP_MAIN_CHANGE_VFOLDER, N_("Open a different virtual folder")) \
567 /* L10N: Help for Index function: <entire-thread> */ \
568 _fmt(OP_MAIN_ENTIRE_THREAD, N_("Read entire thread of the current message")) \
569 /* L10N: Help for Index function: <vfolder-from-query> */ \
570 _fmt(OP_MAIN_VFOLDER_FROM_QUERY, N_("Generate virtual folder from query")) \
571 /* L10N: Help for Index function: <vfolder-from-query-readonly> */ \
572 _fmt(OP_MAIN_VFOLDER_FROM_QUERY_READONLY, N_("Generate a read-only virtual folder from query")) \
573 /* L10N: Help for Index function: <vfolder-window-backward> */ \
574 _fmt(OP_MAIN_WINDOWED_VFOLDER_BACKWARD, N_("Shifts virtual folder time window backwards")) \
575 /* L10N: Help for Index function: <vfolder-window-forward> */ \
576 _fmt(OP_MAIN_WINDOWED_VFOLDER_FORWARD, N_("Shifts virtual folder time window forwards")) \
577 /* L10N: Help for Index function: <vfolder-window-reset> */ \
578 _fmt(OP_MAIN_WINDOWED_VFOLDER_RESET, N_("Resets virtual folder time window to the present"))

◆ OPS_PGP

#define OPS_PGP ( _fmt)
Value:
/* L10N: Help for Compose function: <attach-key> */ \
_fmt(OP_ATTACH_ATTACH_KEY, N_("Attach a PGP public key")) \
/* L10N: Help for Attach, Index function: <check-traditional-pgp> */ \
_fmt(OP_CHECK_TRADITIONAL, N_("Check for classic PGP")) \
/* L10N: Help for Compose function: <pgp-menu> */ \
_fmt(OP_COMPOSE_PGP_MENU, N_("Show PGP options")) \
/* L10N: Help for Index function: <mail-key> */ \
_fmt(OP_MAIL_KEY, N_("Mail a PGP public key")) \
/* L10N: Help for Pgp, Smime function: <verify-key> */ \
_fmt(OP_VERIFY_KEY, N_("Verify a public key")) \
/* L10N: Help for Pgp, Smime function: <view-name> */ \
_fmt(OP_VIEW_ID, N_("View the key's user id")) \

Definition at line 583 of file opcodes.h.

583#define OPS_PGP(_fmt) \
584 /* L10N: Help for Compose function: <attach-key> */ \
585 _fmt(OP_ATTACH_ATTACH_KEY, N_("Attach a PGP public key")) \
586 /* L10N: Help for Attach, Index function: <check-traditional-pgp> */ \
587 _fmt(OP_CHECK_TRADITIONAL, N_("Check for classic PGP")) \
588 /* L10N: Help for Compose function: <pgp-menu> */ \
589 _fmt(OP_COMPOSE_PGP_MENU, N_("Show PGP options")) \
590 /* L10N: Help for Index function: <mail-key> */ \
591 _fmt(OP_MAIL_KEY, N_("Mail a PGP public key")) \
592 /* L10N: Help for Pgp, Smime function: <verify-key> */ \
593 _fmt(OP_VERIFY_KEY, N_("Verify a public key")) \
594 /* L10N: Help for Pgp, Smime function: <view-name> */ \
595 _fmt(OP_VIEW_ID, N_("View the key's user id")) \
596

◆ OPS_SIDEBAR

#define OPS_SIDEBAR ( _fmt)
Value:
/* L10N: Help for Sidebar function: <sidebar-first> */ \
_fmt(OP_SIDEBAR_FIRST, N_("Move the highlight to the first mailbox")) \
/* L10N: Help for Sidebar function: <sidebar-last> */ \
_fmt(OP_SIDEBAR_LAST, N_("Move the highlight to the last mailbox")) \
/* L10N: Help for Sidebar function: <sidebar-next> */ \
_fmt(OP_SIDEBAR_NEXT, N_("Move the highlight to next mailbox")) \
/* L10N: Help for Sidebar function: <sidebar-next-new> */ \
_fmt(OP_SIDEBAR_NEXT_NEW, N_("Move the highlight to next mailbox with new mail")) \
/* L10N: Help for Sidebar function: <sidebar-open> */ \
_fmt(OP_SIDEBAR_OPEN, N_("Open highlighted mailbox")) \
/* L10N: Help for Sidebar function: <sidebar-page-down> */ \
_fmt(OP_SIDEBAR_PAGE_DOWN, N_("Scroll the sidebar down 1 page")) \
/* L10N: Help for Sidebar function: <sidebar-page-up> */ \
_fmt(OP_SIDEBAR_PAGE_UP, N_("Scroll the sidebar up 1 page")) \
/* L10N: Help for Sidebar function: <sidebar-prev> */ \
_fmt(OP_SIDEBAR_PREV, N_("Move the highlight to previous mailbox")) \
/* L10N: Help for Sidebar function: <sidebar-prev-new> */ \
_fmt(OP_SIDEBAR_PREV_NEW, N_("Move the highlight to previous mailbox with new mail")) \
/* L10N: Help for Sidebar function: <sidebar-toggle-virtual> */ \
_fmt(OP_SIDEBAR_TOGGLE_VIRTUAL, N_("Toggle between mailboxes and virtual mailboxes")) \
/* L10N: Help for Sidebar function: <sidebar-toggle-visible> */ \
_fmt(OP_SIDEBAR_TOGGLE_VISIBLE, N_("Make the sidebar (in)visible")) \
/* L10N: Help for Sidebar function: <sidebar-start-search> */ \
_fmt(OP_SIDEBAR_START_SEARCH, N_("Fuzzy search the sidebar")) \

Definition at line 597 of file opcodes.h.

597#define OPS_SIDEBAR(_fmt) \
598 /* L10N: Help for Sidebar function: <sidebar-first> */ \
599 _fmt(OP_SIDEBAR_FIRST, N_("Move the highlight to the first mailbox")) \
600 /* L10N: Help for Sidebar function: <sidebar-last> */ \
601 _fmt(OP_SIDEBAR_LAST, N_("Move the highlight to the last mailbox")) \
602 /* L10N: Help for Sidebar function: <sidebar-next> */ \
603 _fmt(OP_SIDEBAR_NEXT, N_("Move the highlight to next mailbox")) \
604 /* L10N: Help for Sidebar function: <sidebar-next-new> */ \
605 _fmt(OP_SIDEBAR_NEXT_NEW, N_("Move the highlight to next mailbox with new mail")) \
606 /* L10N: Help for Sidebar function: <sidebar-open> */ \
607 _fmt(OP_SIDEBAR_OPEN, N_("Open highlighted mailbox")) \
608 /* L10N: Help for Sidebar function: <sidebar-page-down> */ \
609 _fmt(OP_SIDEBAR_PAGE_DOWN, N_("Scroll the sidebar down 1 page")) \
610 /* L10N: Help for Sidebar function: <sidebar-page-up> */ \
611 _fmt(OP_SIDEBAR_PAGE_UP, N_("Scroll the sidebar up 1 page")) \
612 /* L10N: Help for Sidebar function: <sidebar-prev> */ \
613 _fmt(OP_SIDEBAR_PREV, N_("Move the highlight to previous mailbox")) \
614 /* L10N: Help for Sidebar function: <sidebar-prev-new> */ \
615 _fmt(OP_SIDEBAR_PREV_NEW, N_("Move the highlight to previous mailbox with new mail")) \
616 /* L10N: Help for Sidebar function: <sidebar-toggle-virtual> */ \
617 _fmt(OP_SIDEBAR_TOGGLE_VIRTUAL, N_("Toggle between mailboxes and virtual mailboxes")) \
618 /* L10N: Help for Sidebar function: <sidebar-toggle-visible> */ \
619 _fmt(OP_SIDEBAR_TOGGLE_VISIBLE, N_("Make the sidebar (in)visible")) \
620 /* L10N: Help for Sidebar function: <sidebar-start-search> */ \
621 _fmt(OP_SIDEBAR_START_SEARCH, N_("Fuzzy search the sidebar")) \
622

◆ OPS_SMIME

#define OPS_SMIME ( _fmt)
Value:
/* L10N: Help for Compose function: <smime-menu> */ \
_fmt(OP_COMPOSE_SMIME_MENU, N_("Show S/MIME options")) \

Definition at line 623 of file opcodes.h.

623#define OPS_SMIME(_fmt) \
624 /* L10N: Help for Compose function: <smime-menu> */ \
625 _fmt(OP_COMPOSE_SMIME_MENU, N_("Show S/MIME options")) \
626

◆ OPS

#define OPS ( _fmt)
Value:
_fmt(OP_NULL, N_("Null operation")) \
OPS_ATTACH(_fmt) \
OPS_AUTOCRYPT(_fmt) \
OPS_CORE(_fmt) \
OPS_CRYPT(_fmt) \
OPS_ENVELOPE(_fmt) \
OPS_NOTMUCH(_fmt) \
OPS_PGP(_fmt) \
OPS_SIDEBAR(_fmt) \
OPS_SMIME(_fmt) \

Definition at line 627 of file opcodes.h.

627#define OPS(_fmt) \
628 _fmt(OP_NULL, N_("Null operation")) \
629 OPS_ATTACH(_fmt) \
630 OPS_AUTOCRYPT(_fmt) \
631 OPS_CORE(_fmt) \
632 OPS_CRYPT(_fmt) \
633 OPS_ENVELOPE(_fmt) \
634 OPS_NOTMUCH(_fmt) \
635 OPS_PGP(_fmt) \
636 OPS_SIDEBAR(_fmt) \
637 OPS_SMIME(_fmt) \
638

◆ DEFINE_OPS

#define DEFINE_OPS ( opcode,
help_string )
Value:
opcode,

Definition at line 645 of file opcodes.h.

Enumeration Type Documentation

◆ MuttOps

enum MuttOps

All NeoMutt Opcodes.

Opcodes, e.g. OP_TOGGLE_NEW

Enumerator
OP_MAX 

Definition at line 644 of file opcodes.h.

644 {
645#define DEFINE_OPS(opcode, help_string) opcode,
647#undef DEFINE_OPS
648 OP_MAX,
649};
#define DEFINE_OPS(opcode, help_string)
Definition opcodes.h:645
#define OPS(_fmt)
Definition opcodes.h:627
@ OP_MAX
Definition opcodes.h:648

Function Documentation

◆ opcodes_get_description()

const char * opcodes_get_description ( int op)

Get the description of an opcode.

Parameters
opOpcode, e.g. OP_HELP
Return values
strDescription of the opcode

Definition at line 68 of file opcodes.c.

69{
70 if ((op < OP_REPAINT) || (op >= OP_MAX))
71 return "[UNKNOWN]";
72
73 if (op == OP_ABORT)
74 return "Abort the current action";
75 if (op == OP_TIMEOUT)
76 return "Timeout occurred";
77 if (op == OP_REPAINT)
78 return "Repaint required";
79
80 return OpStrings[op][1];
81}
static const char * OpStrings[][2]
Lookup table mapping an opcode to its name and description e.g.
Definition opcodes.c:37
#define OP_TIMEOUT
1 second with no events
Definition opcodes.h:35
#define OP_REPAINT
Repaint is needed.
Definition opcodes.h:34
#define OP_ABORT
$abort_key pressed (Ctrl-G)
Definition opcodes.h:36
+ Here is the caller graph for this function:

◆ opcodes_get_name()

const char * opcodes_get_name ( int op)

Get the name of an opcode.

Parameters
opOpcode, e.g. OP_HELP
Return values
strName of the opcode

Definition at line 48 of file opcodes.c.

49{
50 if ((op < OP_REPAINT) || (op >= OP_MAX))
51 return "[UNKNOWN]";
52
53 if (op == OP_ABORT)
54 return "OP_ABORT";
55 if (op == OP_TIMEOUT)
56 return "OP_TIMEOUT";
57 if (op == OP_REPAINT)
58 return "OP_REPAINT";
59
60 return OpStrings[op][0];
61}
+ Here is the caller graph for this function: