Re: [PATCH v2 0/3] cli: mail-followup-to support
authorMark Walters <markwalters1009@gmail.com>
Sat, 11 May 2013 20:05:31 +0000 (21:05 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:54:41 +0000 (09:54 -0800)
67/48421d41c956cc863a36536d867c555785d1a3 [new file with mode: 0644]

diff --git a/67/48421d41c956cc863a36536d867c555785d1a3 b/67/48421d41c956cc863a36536d867c555785d1a3
new file mode 100644 (file)
index 0000000..68f63f6
--- /dev/null
@@ -0,0 +1,127 @@
+Return-Path: <m.walters@qmul.ac.uk>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id E490E431FBC\r
+       for <notmuch@notmuchmail.org>; Sat, 11 May 2013 13:05:53 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -1.098\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-1.098 tagged_above=-999 required=5\r
+       tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001,\r
+       NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id qo6HqEFQupYo for <notmuch@notmuchmail.org>;\r
+       Sat, 11 May 2013 13:05:48 -0700 (PDT)\r
+Received: from mail2.qmul.ac.uk (mail2.qmul.ac.uk [138.37.6.6])\r
+       (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 73CF8431FAE\r
+       for <notmuch@notmuchmail.org>; Sat, 11 May 2013 13:05:48 -0700 (PDT)\r
+Received: from smtp.qmul.ac.uk ([138.37.6.40])\r
+       by mail2.qmul.ac.uk with esmtp (Exim 4.71)\r
+       (envelope-from <m.walters@qmul.ac.uk>)\r
+       id 1UbG2v-0003yT-Mh; Sat, 11 May 2013 21:05:36 +0100\r
+Received: from 93-97-24-31.zone5.bethere.co.uk ([93.97.24.31] helo=localhost)\r
+       by smtp.qmul.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.71)\r
+       (envelope-from <m.walters@qmul.ac.uk>)\r
+       id 1UbG2v-0007wC-A2; Sat, 11 May 2013 21:05:33 +0100\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH v2 0/3] cli: mail-followup-to support\r
+In-Reply-To: <cover.1364652420.git.jani@nikula.org>\r
+References: <cover.1364652420.git.jani@nikula.org>\r
+User-Agent: Notmuch/0.14+255~gff3cc55 (http://notmuchmail.org) Emacs/23.4.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Sat, 11 May 2013 21:05:31 +0100\r
+Message-ID: <87y5blcmes.fsf@qmul.ac.uk>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-Sender-Host-Address: 93.97.24.31\r
+X-QM-SPAM-Info: Sender has good ham record.  :)\r
+X-QM-Body-MD5: f2ac0168d5ed6c1dbb82e0f4dc530a60 (of first 20000 bytes)\r
+X-SpamAssassin-Score: -0.5\r
+X-SpamAssassin-SpamBar: /\r
+X-SpamAssassin-Report: The QM spam filters have analysed this message to\r
+       determine if it is\r
+       spam. We require at least 5.0 points to mark a message as spam.\r
+       This message scored -0.5 points.\r
+       Summary of the scoring: \r
+       * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\r
+       provider *      (markwalters1009[at]gmail.com)\r
+       * -0.5 AWL AWL: From: address is in the auto white-list\r
+X-QM-Scan-Virus: ClamAV says the message is clean\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 11 May 2013 20:05:54 -0000\r
+\r
+\r
+Hi\r
+\r
+On Sat, 30 Mar 2013, Jani Nikula <jani@nikula.org> wrote:\r
+> This is v2 of [1], rebased against master and with a better commit\r
+> message for patch 1/3. Patch 1/3 is trivial cleanup and IMO could just\r
+> be merged. There was debate on the actual stuff 2/3 and 3/3 [2].\r
+>\r
+> I don't think adding a --reply-to=list option to notmuch reply is a good\r
+> idea. We should just do the right thing and keep the cli simple. Perhaps\r
+> we should drop the configuration (patch 2/3) altogether, and just\r
+> support mail-followup-to?\r
+\r
+I think I don't like it as a config option: I would prefer it either as\r
+no option or a command line option (or the JSON as you suggest). I think\r
+we currently honour reply-to unconditionally and ignore mail-reply-to:\r
+is that correct? Otherwise I think the patch looks fine.\r
+\r
+> Or, perhaps notmuch reply should return *all* options in json, and let\r
+> the UI decide. Above all, let the UI change the reply style while\r
+> editing the reply. I'd probably like this approach most, more than these\r
+> patches, but I don't have the time to do it.\r
+\r
+I have some preliminary patches to do this: will post shortly.\r
+\r
+Best wishes\r
+\r
+Mark\r
+\r
+\r
+> Here are the patches anyway; perhaps they could be an intermediate step,\r
+> or just a reference for anyone willing to do the above.\r
+>\r
+>\r
+> BR,\r
+> Jani.\r
+>\r
+>\r
+> [1] id:5eaa3acc22ee5513bdce5ab931b7a79ade880e06.1362254104.git.jani@nikula.org\r
+> [2] id:20130303120745.GA4884@hili.localdomain\r
+>\r
+> Jani Nikula (3):\r
+>   cli: config: remove unnecessary braces from if blocks\r
+>   cli: add reply.honor_followup_to configuration option\r
+>   cli: support Mail-Followup-To: in notmuch reply\r
+>\r
+>  notmuch-client.h |    7 +++++++\r
+>  notmuch-config.c |   56 ++++++++++++++++++++++++++++++++++++++++++------------\r
+>  notmuch-reply.c  |   25 ++++++++++++++++++++++--\r
+>  3 files changed, 74 insertions(+), 14 deletions(-)\r
+>\r
+> -- \r
+> 1.7.10.4\r
+>\r
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> http://notmuchmail.org/mailman/listinfo/notmuch\r