[PATCH v2 0/3] cli: mail-followup-to support
authorJani Nikula <jani@nikula.org>
Sat, 30 Mar 2013 14:21:19 +0000 (16:21 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:54:06 +0000 (09:54 -0800)
60/abc483c7593164d43380a44b6fd08e31e5721e [new file with mode: 0644]

diff --git a/60/abc483c7593164d43380a44b6fd08e31e5721e b/60/abc483c7593164d43380a44b6fd08e31e5721e
new file mode 100644 (file)
index 0000000..f6a63a4
--- /dev/null
@@ -0,0 +1,101 @@
+Return-Path: <jani@nikula.org>\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 64005431FC2\r
+       for <notmuch@notmuchmail.org>; Sat, 30 Mar 2013 07:21:31 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 IEu5sGCEo63p for <notmuch@notmuchmail.org>;\r
+       Sat, 30 Mar 2013 07:21:30 -0700 (PDT)\r
+Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com\r
+       [209.85.217.171]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 95C9E431FBF\r
+       for <notmuch@notmuchmail.org>; Sat, 30 Mar 2013 07:21:30 -0700 (PDT)\r
+Received: by mail-lb0-f171.google.com with SMTP id v10so931269lbd.16\r
+       for <notmuch@notmuchmail.org>; Sat, 30 Mar 2013 07:21:29 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=google.com; s=20120113;\r
+       h=x-received:from:to:cc:subject:date:message-id:x-mailer\r
+       :x-gm-message-state;\r
+       bh=63gd+yA0gZ7HnAnTpJ9Ya6WyVxGA6ghaM9DVthrNHGw=;\r
+       b=E1uzCxMv9VRa4J6RE/rG4dfsSxNe0kDGVR/+kwH11GtOh+QOxya5qGK+P22pRofevE\r
+       mVM3tMmsEGAQt9t9rmnkrzNeQFdLe1RakpBxpYe8p39C/Cui39gus17j3p9gQ8WEe3/L\r
+       V/bZtilNbRKTu6PpkXN8nzmK+00Ios710Ju7x8hYlzL7ZJTFVCRkjx0ZQNKXPVskdqD9\r
+       hucWRhs57wU0zyv1K+rCGJUcui/ab7NrTzEYgbsm55wUWElD3VKjlNTIdEWdBP0M2gvu\r
+       eV6Susj1IP58RYRlR+x2uTk4xLMB8vYWzR3Bn8NfRE00OY9eBLqbpTcyajm/9lNQbMj1\r
+       yHRw==\r
+X-Received: by 10.112.46.231 with SMTP id y7mr2932467lbm.128.1364653288946;\r
+       Sat, 30 Mar 2013 07:21:28 -0700 (PDT)\r
+Received: from localhost (dsl-hkibrasgw4-50df51-27.dhcp.inet.fi.\r
+       [80.223.81.27])\r
+       by mx.google.com with ESMTPS id l1sm2667834lbn.8.2013.03.30.07.21.27\r
+       (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+       Sat, 30 Mar 2013 07:21:27 -0700 (PDT)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v2 0/3] cli: mail-followup-to support\r
+Date: Sat, 30 Mar 2013 16:21:19 +0200\r
+Message-Id: <cover.1364652420.git.jani@nikula.org>\r
+X-Mailer: git-send-email 1.7.10.4\r
+X-Gm-Message-State:\r
+ ALoCoQke1uRIvLEJ3eSLao7M6g3xqyjCZThVycaB4Vwgj9H3w3YHqyf2ecQ0A1XtQnsS6jgUe5+N\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, 30 Mar 2013 14:21:31 -0000\r
+\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
+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
+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