#include "sort.h"
/* These Config Variables are only used in addrbook.c */
-char *AliasFormat;
+char *AliasFormat; ///< Config: printf-like format string for the alias menu
short SortAlias;
#define RSORT(x) ((SortAlias & SORT_REVERSE) ? -x : x)
/* These Config Variables are only used in browser.c */
bool BrowserAbbreviateMailboxes;
-char *FolderFormat;
-char *GroupIndexFormat;
-char *NewsgroupsCharset;
+char *FolderFormat; ///< Config: printf-like format string for the browser's display of folders
+char *GroupIndexFormat; ///< Config: (nntp) printf-like format string for the browser's display of newsgroups
+char *NewsgroupsCharset; ///< Config: (nntp) Character set of newsgroups' descriptions
bool ShowOnlyUnread;
short SortBrowser;
-char *VfolderFormat;
+char *VfolderFormat; ///< Config: (notmuch) printf-like format string for the browser's display of virtual folders
static const struct Mapping FolderHelp[] = {
{ N_("Exit"), OP_EXIT },
#endif
/* These Config Variables are only used in buffy.c */
-short MailCheck;
+short MailCheck; ///< Config: Number of seconds before NeoMutt checks for new mail
bool MailCheckStats;
short MailCheckStatsInterval;
bool MaildirCheckCur;
/* These Config Variables are only used in commands.c */
unsigned char CryptVerifySig; /* verify PGP signatures */
-char *DisplayFilter;
-bool PipeDecode;
-char *PipeSep;
-bool PipeSplit;
+char *DisplayFilter; ///< Config: External command to pre-process an email before display
+bool PipeDecode; ///< Config: Decode the message when piping it
+char *PipeSep; ///< Config: Separator to add between multiple piped messages
+bool PipeSplit; ///< Config: Run the pipe command on each message separately
bool PrintDecode;
bool PrintSplit;
bool PromptAfter;
#endif
/* These Config Variables are only used in compose.c */
-char *ComposeFormat;
-char *Ispell;
+char *ComposeFormat; ///< Config: printf-like format string for the Compose panel's status bar
+char *Ispell; ///< Config: External command to perform spell-checking
unsigned char Postpone;
static const char *There_are_no_attachments = N_("There are no attachments.");
#include <stdbool.h>
#include <stdio.h>
-short ConnectTimeout = 0; /**< Config: Timeout for a network connection (for IMAP, POP or SMTP) */
+short ConnectTimeout = 0; ///< Config: Timeout for making network connections (-1 to wait indefinitely)
#ifdef USE_SSL
-const char *CertificateFile = NULL; /**< Config: File containing trusted certificates */
-const char *EntropyFile = NULL; /**< Config: File containing random data to initialise SSL */
-const char *SslCiphers = NULL; /**< Config: Ciphers to use when using SSL */
-const char *SslClientCert = NULL; /**< Config: File containing client certificates */
+const char *CertificateFile = NULL; ///< Config: File containing trusted certificates
+const char *EntropyFile = NULL; ///< Config: (ssl) File/device containing random data to initialise SSL
+const char *SslCiphers = NULL; ///< Config: Ciphers to use when using SSL
+const char *SslClientCert = NULL; ///< Config: File containing client certificates
#ifdef USE_SSL_GNUTLS
-const char *SslCaCertificatesFile = NULL; /**< Config: File containing trusted CA certificates */
-short SslMinDhPrimeBits = 0; /**< Config: Minimum keysize for Diffie-Hellman key exchange */
+const char *SslCaCertificatesFile = NULL; ///< Config: File containing trusted CA certificates
+short SslMinDhPrimeBits = 0; ///< Config: Minimum keysize for Diffie-Hellman key exchange
#endif
#endif
#ifdef USE_SOCKET
-const char *Preconnect = NULL; /**< Config: Shell command to run before making a connection */
-const char *Tunnel = NULL; /**< Config: Shell command to establish a tunnel */
+const char *Preconnect = NULL; ///< Config: Shell command to run before making a connection
+const char *Tunnel = NULL; ///< Config: Shell command to establish a tunnel
#endif
#ifdef USE_SSL
/* These Config Variables are only used in curs_main.c */
bool ChangeFolderNext;
-bool CollapseAll;
-bool CollapseFlagged;
-bool CollapseUnread;
+bool CollapseAll; ///< Config: Collapse all threads when entering a folder
+bool CollapseFlagged; ///< Config: Prevent the collapse of threads with flagged emails
+bool CollapseUnread; ///< Config: Prevent the collapse of threads with unread emails
char *MarkMacroPrefix;
bool PgpAutoDecode;
bool UncollapseJump;
#include "protos.h"
/* These Config Variables are only used in edit.c */
-char *Escape;
+char *Escape; ///< Config: Escape character to use for functions in the built-in editor.
/* SLcurses_waddnstr() can't take a "const char *", so this is only
* declared "static" (sigh)
#include "mutt/mutt.h"
/* Config items */
-bool MarkOld = false; /**< Config: If set, mark mail old when leaving mailbox */
-struct Regex *ReplyRegex = NULL; /**< Config: Regex to match reply marker "Re:" */
-char *SendCharset = NULL; /**< Config: Character sets for outgoing mail */
-char *SpamSeparator = NULL; /**< Config: Separator for multiple spam headers */
-bool Weed = false; /**< Config: If set, filter the displayed email headers */
+bool MarkOld = false; ///< Config: If set, mark mail old when leaving mailbox
+struct Regex *ReplyRegex = NULL; ///< Config: Regex to match reply marker "Re:"
+char *SendCharset = NULL; ///< Config: Character sets for outgoing mail
+char *SpamSeparator = NULL; ///< Config: Separator for multiple spam headers
+bool Weed = false; ///< Config: If set, filter the displayed email headers
/* Global variables */
struct RegexList *NoSpamList = NULL;
/**
* struct Header - The header/envelope of an email
*/
-struct Header
+struct Header ///< Config: Include the message headers in the reply email (Weed applies)
{
unsigned int security : 12; /**< bit 0-8: flags, bit 9,10: application.
see: mutt_crypt.h pgplib.h, smime.h */
/* These Config Variables are only used in mutt/idna.c */
#ifdef HAVE_LIBIDN
-bool IdnDecode;
-bool IdnEncode;
+bool IdnDecode; ///< Config: (idn) Decode internation domain names
+bool IdnEncode; ///< Config: (idn) Encode international domain names
#endif
#ifdef HAVE_LIBIDN
/**
* enum ContentType - Content-Type
*/
-enum ContentType
+enum ContentType ///< Config: Default "Content-Type" for newly composed messages
{
TYPE_OTHER,
TYPE_AUDIO,
WHERE struct Address *EnvelopeFromAddress;
WHERE struct Address *From;
-WHERE char *AliasFile;
+WHERE char *AliasFile; ///< Config: Save new aliases to this file
WHERE char *Attribution;
WHERE char *AttributionLocale;
-WHERE char *AttachFormat;
-WHERE char *ConfigCharset;
-WHERE char *DateFormat;
+WHERE char *AttachFormat; ///< Config: printf-like format string for the attachment menu
+WHERE char *ConfigCharset; ///< Config: Character set that the config files are in
+WHERE char *DateFormat; ///< Config: strftime format string for the `%d` expando
WHERE char *DsnNotify;
WHERE char *DsnReturn;
-WHERE char *Editor;
-WHERE char *Hostname;
-WHERE char *IndexFormat;
+WHERE char *Editor; ///< Config: External command to use as an email editor
+WHERE char *Hostname; ///< Config: Fully-qualified domain name of this machine
+WHERE char *IndexFormat; ///< Config: printf-like format string for the index menu (emails)
#ifdef USE_IMAP
-WHERE char *ImapUser;
+WHERE char *ImapUser; ///< Config: (imap) Username for the IMAP server
#endif
-WHERE char *Mbox;
+WHERE char *Mbox; ///< Config: Folder that receives read emails (see Move)
WHERE char *MailcapPath;
-WHERE char *Folder;
+WHERE char *Folder; ///< Config: Base folder for a set of mailboxes
#ifdef USE_HCACHE
WHERE char *HeaderCache;
#if defined(HAVE_GDBM) || defined(HAVE_BDB)
#endif /* USE_HCACHE */
#ifdef USE_SOCKET
-WHERE short NetInc;
+WHERE short NetInc; ///< Config: (socket) Update the progress bar after this many KB sent/received (0 to disable)
#endif /* USE_SOCKET */
#ifdef USE_NNTP
-WHERE char *NewsServer;
+WHERE char *NewsServer; ///< Config: (nntp) Url of the news server
#endif
WHERE char *Record;
WHERE char *Pager;
-WHERE char *PagerFormat;
+WHERE char *PagerFormat; ///< Config: printf-like format string for the pager's status bar
WHERE char *Postponed;
-WHERE char *IndentString;
+WHERE char *IndentString; ///< Config: String used to indent 'reply' text
WHERE char *PrintCommand;
-WHERE char *NewMailCommand;
+WHERE char *NewMailCommand; ///< Config: External command to run when new mail arrives
WHERE char *Realname;
WHERE char *Shell;
WHERE char *SimpleSearch;
WHERE char *SmtpUrl;
#endif /* USE_SMTP */
WHERE char *Spoolfile;
-WHERE char *StatusFormat;
-WHERE char *TsStatusFormat;
-WHERE char *TsIconFormat;
-WHERE char *Visual;
+WHERE char *StatusFormat; ///< Config: printf-like format string for the index's status line
+WHERE char *TsStatusFormat; ///< Config: printf-like format string for the terminal's status (window title)
+WHERE char *TsIconFormat; ///< Config: printf-like format string for the terminal's icon title
+WHERE char *Visual; ///< Config: Editor to use when '~v' is given in the built-in editor
-WHERE short ReadInc;
+WHERE short ReadInc; ///< Config: Update the progress bar after this many records read (0 to disable)
WHERE short SleepTime;
WHERE short Timeout;
WHERE short Wrap;
-WHERE short WriteInc;
+WHERE short WriteInc; ///< Config: Update the progress bar after this many records written (0 to disable)
#ifdef USE_SIDEBAR
WHERE short SidebarWidth;
/* -- formerly in pgp.h -- */
WHERE char *PgpDefaultKey;
WHERE char *PgpSignAs;
-WHERE char *PgpEntryFormat;
+WHERE char *PgpEntryFormat; ///< Config: printf-like format string for the PGP key selection menu
/* -- formerly in smime.h -- */
WHERE char *SmimeDefaultKey;
/* Quad-options */
WHERE unsigned char Bounce;
-WHERE unsigned char Copy;
+WHERE unsigned char Copy; ///< Config: Save outgoing emails to $record
WHERE unsigned char Delete;
WHERE unsigned char MimeForward;
WHERE unsigned char Print;
-WHERE unsigned char Quit;
+WHERE unsigned char Quit; ///< Config: Prompt before exiting NeoMutt
#ifdef USE_SSL
WHERE unsigned char SslStarttls;
#endif
WHERE unsigned char FollowupToPoster;
#endif
-WHERE bool ArrowCursor;
-WHERE bool AsciiChars;
-WHERE bool Askbcc;
-WHERE bool Askcc;
+WHERE bool ArrowCursor; ///< Config: Use an arrow '->' instead of highlighting in the index
+WHERE bool AsciiChars; ///< Config: Use plain ASCII characters, when drawing email threads
+WHERE bool Askbcc; ///< Config: Ask the user for the blind-carbon-copy recipients
+WHERE bool Askcc; ///< Config: Ask the user for the carbon-copy recipients
WHERE bool Autoedit;
WHERE bool AutoTag;
-WHERE bool Beep;
-WHERE bool BeepNew;
+WHERE bool Beep; ///< Config: Make a noise when an error occurs
+WHERE bool BeepNew; ///< Config: Make a noise when new mail arrives
WHERE bool BrailleFriendly;
-WHERE bool CheckMboxSize;
-WHERE bool Confirmappend;
-WHERE bool Confirmcreate;
+WHERE bool CheckMboxSize; ///< Config: (mbox,mmdf) Use mailbox size as an indicator of new mail
+WHERE bool Confirmappend; ///< Config: Confirm before appending emails to a mailbox
+WHERE bool Confirmcreate; ///< Config: Confirm before creating a new mailbox
WHERE bool DeleteUntag;
-WHERE bool EditHeaders;
-WHERE bool FlagSafe;
+WHERE bool EditHeaders; ///< Config: Let the user edit the email headers whilst editing an email
+WHERE bool FlagSafe; ///< Config: Protect flagged messages from deletion
WHERE bool ForwardDecode;
WHERE bool ForwardQuote;
#ifdef USE_HCACHE
#endif /* HAVE_QDBM */
#endif
WHERE bool Header;
-WHERE bool Help;
+WHERE bool Help; ///< Config: Display a help line with common key bindings
#ifdef USE_IMAP
-WHERE bool ImapCheckSubscribed;
+WHERE bool ImapCheckSubscribed; ///< Config: (imap) Ask the IMAP server for a list of subscribed folders
WHERE bool ImapListSubscribed;
WHERE bool ImapPassive;
WHERE bool ImapPeek;
WHERE bool Resolve;
WHERE bool ResumeDraftFiles;
WHERE bool SaveAddress;
-WHERE bool SaveEmpty;
+WHERE bool SaveEmpty; ///< Config: (mbox,mmdf) Preserve empty mailboxes
WHERE bool Score;
#ifdef USE_SIDEBAR
WHERE bool SidebarVisible;
#include "sort.h"
/* These Config Variables are only used in hdrline.c */
-struct MbTable *FlagChars;
-struct MbTable *FromChars;
+struct MbTable *FlagChars; ///< Config: User-configurable index flags, e.g. tagged, new, etc
+struct MbTable *FromChars; ///< Config: User-configurable index flags, e.g. to address, cc address, etc
struct MbTable *ToChars;
/**
#include "auth.h"
/* These Config Variables are only used in imap/auth.c */
-char *ImapAuthenticators;
+char *ImapAuthenticators; ///< Config: (imap) List of allowed IMAP authentication methods
/**
* imap_authenticators - Accepted authentication methods
struct BodyCache;
/* These Config Variables are only used in imap/message.c */
-char *ImapHeaders;
+char *ImapHeaders; ///< Config: (imap) Additional email headers to download when getting index
/**
* new_header_data - Create a new ImapHeaderData
#endif
/* These Config Variables are only used in imap/util.c */
-char *ImapDelimChars;
+char *ImapDelimChars; ///< Config: (imap) Characters that denote separators in IMAP folders
short ImapPipelineDepth;
/**
#endif
/* These Config Variables are only used in maildir/mh.c */
-bool CheckNew;
+bool CheckNew; ///< Config: (maildir,mh) Check for new mail while the mailbox is open
bool MaildirHeaderCacheVerify;
bool MhPurge;
char *MhSeqFlagged;
#define EILSEQ EINVAL
#endif
-char *AssumedCharset; /**< Config: Encoding schemes for messages without indication */
-char *Charset; /**< Config: User's choice of character set */
+char *AssumedCharset; ///< Config: Encoding schemes for messages without indication
+char *Charset; ///< Config: Default character set for displaying text on screen
/**
* ReplacementChar - When a Unicode character can't be displayed, use this instead
#include "string2.h"
/* These Config Variables are only used in history.c */
-short History; /**< Number of history entries stored in memory */
-char *HistoryFile; /**< File in which to store all the histories */
-bool HistoryRemoveDups; /**< Remove duplicate history entries */
-short SaveHistory; /**< Number of history entries, per category, stored on disk */
+short History; ///< Config: Number of history entries to keep in memory per category
+char *HistoryFile; ///< Config: File to save history in
+bool HistoryRemoveDups; ///< Config: Remove duplicate entries from the history
+short SaveHistory; ///< Config: Number of history entries to save per category
#define HC_FIRST HC_CMD
#include "options.h"
/* These Config Variables are only used in mutt_account.c */
-char *ImapLogin;
-char *ImapPass;
-char *NntpPass;
-char *NntpUser;
-char *PopPass;
-char *PopUser;
+char *ImapLogin; ///< Config: (imap) Login name for the IMAP server (defaults to ImapUser)
+char *ImapPass; ///< Config: (imap) Password for the IMAP server
+char *NntpPass; ///< Config: (nntp) Password for the news server
+char *NntpUser; ///< Config: (nntp) Username for the news server
+char *PopPass; ///< Config: (pop) Password of the POP server
+char *PopUser; ///< Config: (pop) Username of the POP server
char *SmtpPass;
/**
bool HideThreadSubject;
bool HideTopLimited;
bool HideTopMissing;
-bool NarrowTree;
+bool NarrowTree; ///< Config: Draw a narrower thread tree in the index
bool SortRe;
bool StrictThreads;
bool ThreadReceived;
#endif
/* These Config Variables are only used in muttlib.c */
-struct Regex *GecosMask;
+struct Regex *GecosMask; ///< Config: Regex for parsing GECOS field of /etc/passwd
static const char *xdg_env_vars[] = {
[XDG_CONFIG_HOME] = "XDG_CONFIG_HOME",
/* These Config Variables are only used in mx.c */
unsigned char CatchupNewsgroup;
-bool KeepFlagged;
-unsigned char Move;
+bool KeepFlagged; ///< Config: Don't move flagged messages from Spoolfile to Mbox
+unsigned char Move; ///< Config: Move emails from Spoolfile to Mbox when read
char *Trash;
/**
#endif
/* These Config Variables are only used in nntp/newsrc.c */
-char *NewsCacheDir;
-char *Newsrc;
+char *NewsCacheDir; ///< Config: (nntp) Directory for cached news articles
+char *Newsrc; ///< Config: (nntp) File containing list of subscribed newsgroups
struct BodyCache;
/* These Config Variables are only used in nntp/nntp.c */
char *NntpAuthenticators;
-short NntpContext;
+short NntpContext; ///< Config: (nntp) Maximum number of articles to list (0 for all articles)
bool NntpListgroup;
bool NntpLoadDescription;
short NntpPoll;
/* These Config Variables are only used in pager.c */
bool AllowAnsi;
bool HeaderColorPartial;
-short PagerContext;
+short PagerContext; ///< Config: Number of lines of overlap when changing pages in the pager
short PagerIndexLines;
bool PagerStop;
short SearchContext;
/* These Config Variables are only used in pop/pop.c */
short PopCheckinterval;
-unsigned char PopDelete;
-char *PopHost;
+unsigned char PopDelete; ///< Config: (pop) After downloading POP messages, delete them on the server
+char *PopHost; ///< Config: (pop) Url of the POP server
bool PopLast;
#ifdef USE_HCACHE
/* These Config Variables are only used in query.c */
char *QueryCommand;
-char *QueryFormat;
+char *QueryFormat; ///< Config: printf-like format string for the query menu (address book)
/**
* struct Query - An entry from an external address-book
char *AttachSep;
bool AttachSplit;
bool DigestCollapse;
-char *MessageFormat;
+char *MessageFormat; ///< Config: printf-like format string for listing attached messages
static void mutt_update_recvattach_menu(struct AttachCtx *actx, struct Menu *menu, bool init);
#include "sendlib.h"
/* These Config Variables are only used in remailer.c */
-char *MixEntryFormat;
+char *MixEntryFormat; ///< Config: (mixmaster) printf-like format string for the mixmaster chain
char *Mixmaster;
#define MIX_CAP_COMPRESS (1 << 0)
struct Regex *AbortNoattachRegex;
unsigned char AbortNosubject;
unsigned char AbortUnmodified;
-bool AskFollowUp;
-bool AskXCommentTo;
+bool AskFollowUp; ///< Config: (nntp) Ask the user for follow-up groups before editing
+bool AskXCommentTo; ///< Config: (nntp) Ask the user for the 'X-Comment-To' field before editing
char *ContentType;
bool CryptAutoencrypt;
bool CryptAutopgp;
bool CryptReplyencrypt;
bool CryptReplysign;
bool CryptReplysignencrypted;
-char *EmptySubject;
-bool FastReply;
-unsigned char FccAttach;
-bool FccClear;
+char *EmptySubject; ///< Config: Subject to use when replying to an email with none
+bool FastReply; ///< Config: Don't prompt for the recipients and subject when replying/forwarding
+unsigned char FccAttach; ///< Config: Save send message with all their attachments
+bool FccClear; ///< Config: Save sent messages unencrypted and unsigned
bool FollowupTo;
char *ForwardAttributionIntro;
char *ForwardAttributionTrailer;
unsigned char ForwardEdit;
-char *ForwardFormat;
+char *ForwardFormat; ///< Config: printf-like format string to control the subject when forwarding a message
bool ForwardReferences;
bool Hdrs;
unsigned char HonorFollowupTo;
bool IgnoreListReplyTo;
-unsigned char Include;
+unsigned char Include; ///< Config: Include a copy of the email that's being replied to
bool Metoo;
bool NmRecord;
bool PgpReplyinline;
bool EncodeFrom;
bool ForwardDecrypt;
bool HiddenHost;
-char *Inews;
+char *Inews; ///< Config: (nntp) External command to post news articles
bool MimeForwardDecode;
bool MimeSubject; /**< encode subject line with RFC2047 */
char *MimeTypeQueryCommand;
short SendmailWait;
bool Use8bitmime;
bool UseEnvelopeFrom;
-bool UserAgent;
+bool UserAgent; ///< Config: Add a 'User-Agent' head to outgoing mail
short WrapHeaders;
/**
char *SidebarDelimChars;
char *SidebarDividerChar;
bool SidebarFolderIndent;
-char *SidebarFormat;
+char *SidebarFormat; ///< Config: (sidebar) printf-like format string for the sidebar panel
char *SidebarIndentString;
bool SidebarNewMailOnly;
bool SidebarNextNewWrap;