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