X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=init.h;h=1dcd56ce0ec43b1ce3789aeb09cc24ff966e5e39;hp=1e13e522e84aea9235f69af575a26f0f6be1785c;hb=28b09c881c2b1175298a3b94e09106f77a94eb88;hpb=7dfb91fd9512d4352faf51e4f306a61bec2f43b3 diff --git a/init.h b/init.h index 1e13e52..1dcd56c 100644 --- a/init.h +++ b/init.h @@ -124,6 +124,24 @@ struct feature_t { 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 @@ -271,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 @@ -507,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 @@ -593,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