From 24965a7d355ac5d9bc1d103a88827e48b87e3ce2 Mon Sep 17 00:00:00 2001 From: Kevin McCarthy Date: Thu, 25 Apr 2019 19:41:04 -0700 Subject: Add $forward_attachments quadoption for inline-forward mode. When set or answered yes, non text-decodable parts will be attached to the new message. The default value is "ask-yes", because I believe this is something people will want to use, and should be made aware of the new possible behavior. The option presents a nice middle ground between previous inline-forwarding behavior (where all the non-text parts were dropped), and $mime_forward where the entire email was included as an attachment. This was previously difficult to achieve, but after the recv-attachment refactoring: (a19e5266^..faabd621) it became possible to use the ATTACH_CONTEXT and the recvattach.c helper mutt_generate_recvattach_list() to properly deal with nesting and multiple file-handles. --- mutt.h | 1 + 1 file changed, 1 insertion(+) (limited to 'mutt.h') diff --git a/mutt.h b/mutt.h index 0ce50fab..71b66657 100644 --- a/mutt.h +++ b/mutt.h @@ -306,6 +306,7 @@ enum OPT_BOUNCE, OPT_COPY, OPT_DELETE, + OPT_FORWATTS, OPT_FORWEDIT, OPT_FCCATTACH, OPT_INCLUDE, -- cgit v1.2.3