Re: [PATCH v6 03/10] reply: Require that only one message is returned
authorAustin Clements <amdragon@MIT.EDU>
Mon, 12 Mar 2012 00:29:36 +0000 (20:29 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:45:24 +0000 (09:45 -0800)
3e/84422ceeb2c38e5da0b7c357ea7df8ec25e9ca [new file with mode: 0644]

diff --git a/3e/84422ceeb2c38e5da0b7c357ea7df8ec25e9ca b/3e/84422ceeb2c38e5da0b7c357ea7df8ec25e9ca
new file mode 100644 (file)
index 0000000..4f0b153
--- /dev/null
@@ -0,0 +1,100 @@
+Return-Path: <amdragon@mit.edu>\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 C5ABB431FAE\r
+       for <notmuch@notmuchmail.org>; Sun, 11 Mar 2012 17:29:39 -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 C4pDUdgQy6KM for <notmuch@notmuchmail.org>;\r
+       Sun, 11 Mar 2012 17:29:39 -0700 (PDT)\r
+Received: from dmz-mailsec-scanner-8.mit.edu (DMZ-MAILSEC-SCANNER-8.MIT.EDU\r
+       [18.7.68.37])\r
+       by olra.theworths.org (Postfix) with ESMTP id 20FD0431FAF\r
+       for <notmuch@notmuchmail.org>; Sun, 11 Mar 2012 17:29:39 -0700 (PDT)\r
+X-AuditID: 12074425-b7f4a6d0000008e0-16-4f5d4372ce00\r
+Received: from mailhub-auth-2.mit.edu ( [18.7.62.36])\r
+       by dmz-mailsec-scanner-8.mit.edu (Symantec Messaging Gateway) with SMTP\r
+       id FB.69.02272.2734D5F4; Sun, 11 Mar 2012 20:29:38 -0400 (EDT)\r
+Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])\r
+       by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id q2C0Tbdv031921; \r
+       Sun, 11 Mar 2012 20:29:38 -0400\r
+Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91])\r
+       (authenticated bits=0)\r
+       (User authenticated as amdragon@ATHENA.MIT.EDU)\r
+       by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q2C0Taku011362\r
+       (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
+       Sun, 11 Mar 2012 20:29:37 -0400 (EDT)\r
+Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.77)\r
+       (envelope-from <amdragon@mit.edu>)\r
+       id 1S6t8q-00037y-A0; Sun, 11 Mar 2012 20:29:36 -0400\r
+Date: Sun, 11 Mar 2012 20:29:36 -0400\r
+From: Austin Clements <amdragon@MIT.EDU>\r
+To: Jani Nikula <jani@nikula.org>\r
+Subject: Re: [PATCH v6 03/10] reply: Require that only one message is returned\r
+Message-ID: <20120312002936.GA2754@mit.edu>\r
+References: <1329893199-21630-1-git-send-email-awg+notmuch@xvx.ca>\r
+       <1329893199-21630-4-git-send-email-awg+notmuch@xvx.ca>\r
+       <87fwdh8jmh.fsf@nikula.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+In-Reply-To: <87fwdh8jmh.fsf@nikula.org>\r
+User-Agent: Mutt/1.5.21 (2010-09-15)\r
+X-Brightmail-Tracker:\r
+ H4sIAAAAAAAAA+NgFuplleLIzCtJLcpLzFFi42IRYrdT0S1yjvU3uHlN1+LInlnsFk3TnS2u\r
+       35zJ7MDscev+a3aPZ6tuMXs0/VjMGsAcxWWTkpqTWZZapG+XwJWxcspq5oLD7BWnrp9ia2Bs\r
+       Yuti5OSQEDCRuDHrFTOELSZx4d56oDgXh5DAPkaJ/9PvskM4GxglfjXNgnJOMkncWTCRBcJZ\r
+       wijxbNt8VpB+FgFVie/Td7GA2GwCGhLb9i9nBLFFBBQlNp/cD2YzCzhLPD7+GmyfsICfROOx\r
+       brB6XgFtiT+tExkhhs5klFj0oxUqIShxcuYTFohmLYkb/14ydTFyANnSEsv/cYCYnEC77r0T\r
+       B6kQFVCRmHJyG9sERqFZSJpnIWmehdC8gJF5FaNsSm6Vbm5iZk5xarJucXJiXl5qka6FXm5m\r
+       iV5qSukmRnCou6juYJxwSOkQowAHoxIPL5dBlL8Qa2JZcWXuIUZJDiYlUV5/x1h/Ib6k/JTK\r
+       jMTijPii0pzU4kOMEhzMSiK8Dw2BcrwpiZVVqUX5MClpDhYlcV5NrXd+QgLpiSWp2ampBalF\r
+       MFkZDg4lCd4uJ6BGwaLU9NSKtMycEoQ0EwcnyHAeoOGfQGp4iwsSc4sz0yHypxgVpcR5r4Ek\r
+       BEASGaV5cL2wVPSKURzoFWHeByBVPMA0Btf9CmgwE9Dgz1zRIINLEhFSUg2MGefn8QXp32Pt\r
+       v/lq358nLc8fVooWx6Tqa3Ut4Fl0d/LWyOY1lQuf7BKqDPNxtNia2ym6We7HiQQLzxwj0X/M\r
+       J9ffCffc7X/C8OWiiwaf+grNt5Rc53y67eA6tg/p+XYzZTYa3vsY+01gisSOmWKSpy5Ntmfe\r
+       ff1z/Nr55kHJOTum3Fkwz9auWYmlOCPRUIu5qDgRAIPfGBcgAwAA\r
+Cc: notmuch@notmuchmail.org\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: Mon, 12 Mar 2012 00:29:39 -0000\r
+\r
+Quoth Jani Nikula on Mar 10 at  1:00 am:\r
+> On Tue, 21 Feb 2012 23:46:32 -0700, Adam Wolfe Gordon <awg+notmuch@xvx.ca> wrote:\r
+> > As the semantics of replying to multiple messages have not yet been\r
+> > defined well, make notmuch reply require that the search given returns\r
+> > only a single message.\r
+> \r
+> Is there any real reason, apart from consistency between\r
+> --format=default and --format=json, to disable the current multiple\r
+> message reply? Also "notmuch show" has format specific features and\r
+> limitations.\r
+> \r
+> I agree the semantics should be clarified, and eventually multiple\r
+> message reply should be uniformly supported by all formats, including\r
+> --format=json, but IMHO this patch should be dropped (and the TODO patch\r
+> amended accordingly).\r
+\r
+I agree with Jani.  We might as well leave the existing format as it\r
+is and say in the TODO that we should both fix multiple reply and\r
+support it in the JSON format.\r
+\r
+> BR,\r
+> Jani.\r