1 Add keep_to option to control where To: recipients are copied on group-reply (To: or Cc:).
5 diff -urN mutt-1.5.23.orig/send.c mutt-1.5.23/send.c
6 --- mutt-1.5.23.orig/send.c 2014-10-12 16:55:39.680846728 +0200
7 +++ mutt-1.5.23/send.c 2014-10-12 16:55:52.104179682 +0200
9 (!in->mail_followup_to || hmfupto != MUTT_YES))
11 /* if (!mutt_addr_is_user(in->to)) */
12 - if (flags & SENDGROUPREPLY)
13 + if ( (flags & SENDGROUPREPLY) || ! option(OPTKEEPTO) )
14 rfc822_append (&out->cc, in->to, 1);
16 rfc822_append (&out->to, in->to, 1);
17 --- mutt-2.0.6/init.h.orig 2021-04-07 17:47:28.950795784 +0000
18 +++ mutt-2.0.6/init.h 2021-04-07 17:48:57.734130406 +0000
19 @@ -1874,6 +1874,12 @@
20 ** from your spool mailbox to your $$mbox mailbox, or as a result of
21 ** a ``$mbox-hook'' command.
23 + { "keep_to", DT_BOOL, R_NONE, OPTKEEPTO, 0 },
26 + ** Controls where recipients from ``To:'' list go on group-reply. If \fIset\fP
27 + ** they are copied to ``To:'' otherwise to ``Cc:''.
29 { "mail_check", DT_NUM, R_NONE, {.p=&BuffyTimeout}, {.l=5} },
32 --- mutt-2.0.6/mutt.h.orig 2021-04-07 17:47:28.950795784 +0000
33 +++ mutt-2.0.6/mutt.h 2021-04-07 17:50:34.977465090 +0000
39 OPTMUTTLISPINLINEEVAL,