From: Rocco Rutte Date: Fri, 12 Jun 2009 21:10:00 +0000 (+0200) Subject: Turn $fcc_attach into a quadoption. Closes #2528. X-Git-Tag: neomutt-20160307~581 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d9f7fdb971fda51627b1f2b8a64c7e20292efb19;p=neomutt Turn $fcc_attach into a quadoption. Closes #2528. --- diff --git a/ChangeLog b/ChangeLog index b19d7832c..ed0a44c03 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2009-06-12 21:32 +0200 Rocco Rutte (a9117f697b27) + + * handler.c: Don't insert Content-Description/form name into reply. + Closes #3164. + +2009-06-12 18:00 +0200 Rocco Rutte (d7afcf9a9f76) + + * ChangeLog, pgpkey.c: Allow ! suffix for pgp keys via $pgp_sign_as + and prompt. Closes #1928. + 2009-06-12 13:43 +0200 Rocco Rutte (ed206ad41108) * ChangeLog, commands.c, recvcmd.c: Warn before bouncing messages diff --git a/UPDATING b/UPDATING index 707dd07ba..903d464f0 100644 --- a/UPDATING +++ b/UPDATING @@ -5,6 +5,7 @@ The keys used are: !: modified feature, -: deleted feature, +: new feature hg tip: + ! $fcc_attach is a quadoption now + $honor_disposition to honor Content-Disposition headers + $search_context specifies number of context lines for search results in pager/page-based menus diff --git a/init.h b/init.h index b3ed426f3..e9319c012 100644 --- a/init.h +++ b/init.h @@ -726,7 +726,7 @@ struct option_t MuttVars[] = { ** \fBNote:\fP this variable has no effect when the $$autoedit ** variable is \fIset\fP. */ - { "fcc_attach", DT_BOOL, R_NONE, OPTFCCATTACH, 1 }, + { "fcc_attach", DT_QUAD, R_NONE, OPT_FCCATTACH, M_YES }, /* ** .pp ** This variable controls whether or not attachments on outgoing messages diff --git a/mutt.h b/mutt.h index 17f8db2fc..a0e335431 100644 --- a/mutt.h +++ b/mutt.h @@ -264,6 +264,7 @@ enum OPT_COPY, OPT_DELETE, OPT_FORWEDIT, + OPT_FCCATTACH, OPT_INCLUDE, OPT_MFUPTO, OPT_MIMEFWD, @@ -337,7 +338,6 @@ enum OPTENCODEFROM, OPTENVFROM, OPTFASTREPLY, - OPTFCCATTACH, OPTFCCCLEAR, OPTFOLLOWUPTO, OPTFORCENAME, diff --git a/send.c b/send.c index 96b2d5e4d..a04e0157c 100644 --- a/send.c +++ b/send.c @@ -1692,7 +1692,8 @@ main_loop: msg->content = clear_content; /* check to see if the user wants copies of all attachments */ - if (!option (OPTFCCATTACH) && msg->content->type == TYPEMULTIPART) + if (query_quadoption (OPT_FCCATTACH, _("Save attachments in Fcc?")) != M_YES && + msg->content->type == TYPEMULTIPART) { if (WithCrypto && (mutt_strcmp (msg->content->subtype, "encrypted") == 0 ||