X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=init.h;h=1dcd56ce0ec43b1ce3789aeb09cc24ff966e5e39;hp=f7745f29afb28c442d59a2b80792f229e2b4c140;hb=28b09c881c2b1175298a3b94e09106f77a94eb88;hpb=e01486aabea6f0af36933158bd58b9ab03b30add diff --git a/init.h b/init.h index f7745f2..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 @@ -542,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 @@ -557,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 @@ -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