]> git.pld-linux.org Git - packages/mutt.git/blob - mutt-keep_to.patch
- updated to 2.0.7
[packages/mutt.git] / mutt-keep_to.patch
1 Add keep_to option to control where To: recipients are copied on group-reply (To: or Cc:).
2
3 author: Jan Palus
4
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
8 @@ -672,7 +672,7 @@
9          (!in->mail_followup_to || hmfupto != MUTT_YES))
10      {
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);
15        else
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.
22    */
23 +  { "keep_to", DT_BOOL, R_NONE, OPTKEEPTO, 0 },
24 +  /*
25 +  ** .pp
26 +  ** Controls where recipients from ``To:'' list go on group-reply. If \fIset\fP
27 +  ** they are copied to ``To:'' otherwise to ``Cc:''.
28 +  */
29    { "mail_check",      DT_NUM,  R_NONE, {.p=&BuffyTimeout}, {.l=5} },
30    /*
31    ** .pp
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
34 @@ -479,6 +479,7 @@
35    OPTINCLUDEENCRYPTED,
36    OPTINCLUDEONLYFIRST,
37    OPTKEEPFLAGGED,
38 +  OPTKEEPTO,
39    OPTMUTTLISPINLINEEVAL,
40    OPTMAILCAPSANITIZE,
41    OPTMAILCHECKRECENT,
This page took 0.030076 seconds and 3 git commands to generate.