X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=init.h;h=1dcd56ce0ec43b1ce3789aeb09cc24ff966e5e39;hp=34601d36973819893d0aa1605b17279cc3f7d447;hb=50cf2c861c766ecec67a3a3d1925c3d74d7f618c;hpb=0ecf3d77dc355f4bea99910a9dfb6f5866c9f73a diff --git a/init.h b/init.h index 34601d3..1dcd56c 100644 --- a/init.h +++ b/init.h @@ -105,10 +105,43 @@ struct feature_t { # ifndef USE_GNUTLS # define USE_GNUTLS # endif +# ifndef USE_DOTLOCK +# define USE_DOTLOCK +# endif +# ifndef DL_STANDALONE +# define DL_STANDALONE +# endif +# ifndef USE_HCACHE +# define USE_HCACHE +# endif +# ifndef HAVE_LIBIDN +# define HAVE_LIBIDN +# endif +# ifndef HAVE_GETADDRINFO +# define HAVE_GETADDRINFO +# endif #endif struct option_t MuttVars[] = { /*++*/ + {"abort_noattach", DT_QUAD, R_NONE, OPT_ATTACH, M_NO}, + /* + ** .pp + ** This variable specifies whether to abort sending if no attachment + ** was made but the content references them, i.e. the content + ** matches the regular expression given in + ** $$$attach_remind_regexp. If a match was found and this + ** variable is set to \fIyes\fP, message sending will be aborted + ** but the mail will be send nevertheless if set to \fIno\fP. + ** + ** .pp + ** This variable and $$$attach_remind_regexp are intended to + ** remind the user to attach files if the message's text + ** references them. + ** + ** .pp + ** See also the $$$attach_remind_regexp variable. + */ {"abort_nosubject", DT_QUAD, R_NONE, OPT_SUBJECT, M_ASKYES}, /* ** .pp @@ -210,7 +243,8 @@ struct option_t MuttVars[] = { ** This variable is valid only if $$strict_mime is unset. */ #ifdef USE_NNTP - {"ask_follow_up", DT_BOOL, R_NONE, OPTASKFOLLOWUP, 0}, + {"ask_followup_to", DT_SYN, R_NONE, UL "nntp_ask_followup_to", 0}, + {"nntp_ask_followup_to", DT_BOOL, R_NONE, OPTASKFOLLOWUP, 0}, /* ** .pp ** Availability: NNTP @@ -219,7 +253,8 @@ struct option_t MuttVars[] = { ** If \fIset\fP, Mutt-ng will prompt you for the \fTFollowup-To:\fP header ** field before editing the body of an outgoing news article. */ - {"ask_x_comment_to", DT_BOOL, R_NONE, OPTASKXCOMMENTTO, 0}, + {"ask_x_comment_to", DT_SYN, R_NONE, UL "nntp_ask_x_comment_to", 0}, + {"nntp_ask_x_comment_to", DT_BOOL, R_NONE, OPTASKXCOMMENTTO, 0}, /* ** .pp ** Availability: NNTP @@ -254,6 +289,16 @@ struct option_t MuttVars[] = { ** .dt %|X .dd pad to the end of the line with character "X" ** .de */ + {"attach_remind_regexp", DT_RX, R_NONE, UL &AttachRemindRegexp, UL "attach"}, + /* + ** .pp + ** If this variable is non-empty, muttng will scan a message's contents + ** before sending for this regular expression. If it is found, it will + ** ask for what to do depending on the setting of $$$abort_noattach. + ** .pp + ** This variable and $$$abort_noattach are intended to remind the user + ** to attach files if the message's text references them. + */ {"attach_sep", DT_STR, R_NONE, UL &AttachSep, UL "\n"}, /* ** .pp @@ -321,8 +366,18 @@ struct option_t MuttVars[] = { ** \fTDelivered-To:\fP header fields when bouncing messages. ** Postfix users may wish to \fIunset\fP this variable. */ + { "braille_friendly", DT_BOOL, R_NONE, OPTBRAILLEFRIENDLY, 0 }, + /* + ** .pp + ** When this variable is set, mutt will place the cursor at the beginning + ** of the current line in menus, even when the arrow_cursor variable + ** is unset, making it easier for blind persons using Braille displays to + ** follow these menus. The option is disabled by default because many + ** visual terminals don't permit making the cursor invisible. + */ #ifdef USE_NNTP - {"catchup_newsgroup", DT_QUAD, R_NONE, OPT_CATCHUP, M_ASKYES}, + {"catchup_newsgroup", DT_SYN, R_NONE, UL "nntp_catchup", 0}, + {"nntp_catchup", DT_QUAD, R_NONE, OPT_CATCHUP, M_ASKYES}, /* ** .pp ** Availability: NNTP @@ -480,6 +535,19 @@ struct option_t MuttVars[] = { ** deleting will automatically be purged without prompting. If set to ** \fIno\fP, messages marked for deletion will be kept in the mailbox. */ + {"delete_space", DT_BOOL, R_NONE, OPTDELSP, 0}, + /* + ** .pp + ** When sending messages with \fTformat=flowed\fP by \fIsetting\fP the + ** $$$text_flowed variable, this variable specifies whether to also + ** set the \fTDelSp\fP parameter to \fTyes\fP. If this is \fIunset\fP, + ** no additional parameter will be send as a value of \fTno\fP already + ** is the default behavior. + ** + ** .pp + ** \fBNote:\fP this variable only has an effect on \fIoutgoing\fP messages + ** (if $$$text_flowed is \fIset\fP) but not on incomming. + */ {"delete_untag", DT_BOOL, R_NONE, OPTDELETEUNTAG, 1}, /* ** .pp @@ -515,7 +583,7 @@ struct option_t MuttVars[] = { /* ** .pp ** \fBNote:\fP you should not enable this unless you are using Sendmail - ** 8.8.x or greater. + ** 8.8.x or greater or in connection with the SMTP support via libESMTP. ** .pp ** This variable sets the request for when notification is returned. The ** string consists of a comma separated list (no spaces!) of one or more @@ -530,7 +598,7 @@ struct option_t MuttVars[] = { /* ** .pp ** \fBNote:\fP you should not enable this unless you are using Sendmail - ** 8.8.x or greater. + ** 8.8.x or greater or in connection with the SMTP support via libESMTP. ** .pp ** This variable controls how much of your message is returned in DSN ** messages. It may be set to either \fIhdrs\fP to return just the @@ -552,9 +620,6 @@ struct option_t MuttVars[] = { ** This option allows you to edit the header of your outgoing messages ** along with the body of your message. */ - {"edit_hdrs", DT_SYN, R_NONE, UL "edit_headers", 0}, - /* - */ {"editor", DT_PATH, R_NONE, UL &Editor, 0}, /* ** .pp @@ -569,6 +634,13 @@ struct option_t MuttVars[] = { ** they contain the string ``\fTFrom \fP'' (note the trailing space) ** in the beginning of a line. Useful to avoid the tampering certain mail ** delivery and transport agents tend to do with messages. + ** + ** .pp + ** \fBNote:\fP as mutt-ng currently violates RfC3676 defining + ** \fTformat=flowed\fP, it's