Re: Getting the right root mail of the thread
authorJani Nikula <jani@nikula.org>
Sat, 2 Nov 2013 14:58:52 +0000 (16:58 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:57:56 +0000 (09:57 -0800)
e5/e771ada221e8fab8e8be7ce56e1f0388586080 [new file with mode: 0644]

diff --git a/e5/e771ada221e8fab8e8be7ce56e1f0388586080 b/e5/e771ada221e8fab8e8be7ce56e1f0388586080
new file mode 100644 (file)
index 0000000..db6aa70
--- /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 EC025431FDB\r
+       for <notmuch@notmuchmail.org>; Sat,  2 Nov 2013 07:58:59 -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 uSV83UVTTh3O for <notmuch@notmuchmail.org>;\r
+       Sat,  2 Nov 2013 07:58:55 -0700 (PDT)\r
+Received: from mail-ee0-f48.google.com (mail-ee0-f48.google.com\r
+ [74.125.83.48])       (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
+ certificate requested)        by olra.theworths.org (Postfix) with ESMTPS id\r
+ 0D1D8431FD0   for <notmuch@notmuchmail.org>; Sat,  2 Nov 2013 07:58:54 -0700\r
+ (PDT)\r
+Received: by mail-ee0-f48.google.com with SMTP id d49so287730eek.21\r
+       for <notmuch@notmuchmail.org>; Sat, 02 Nov 2013 07:58:53 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=1e100.net; s=20130820;\r
+       h=x-gm-message-state:from:to:cc:subject:in-reply-to:references\r
+       :user-agent:date:message-id:mime-version:content-type;\r
+       bh=kNIMKjI61ZSJdB8sL0tVCLdA6dSLq2uZOv2vR6U92IU=;\r
+       b=IDYNvyeoJOKrClrrg0HX5l7DNKj6hdoYUpHEVZApGh03FwNTFIzHaLJ278s3XLYMDb\r
+       iiy/AOGWAZmkoIJxj4wzJeN+SoNTPHj+Tjoo4T6rRfV3ppPJt8SZ4+3UhJu/tfPgpX3l\r
+       fSc3OloJRhplI915xkpSMFjnvgAWQHilJ6h4dYABTSgRRxkxN6MA29juHkM/E404v7EJ\r
+       B6Fa6stq/Sg2CvoOcszNsDkwkLvQ/S0eRAnq+jYScSCoPuXgju6yc9Oc//lfkTgQcA5c\r
+       XGvH7saoqe18C0v37LJWUuYSb6alTbnX06WDFoSb7uaOhOrcN7YicBaZGkvX0zEukLhg\r
+       18ZA==\r
+X-Gm-Message-State:\r
+ ALoCoQlKsdU9eMvzuVG4AAPzc8HC4t3uqKr3mIbUf/ivq/ruuJ8KZHCNo3g0slyHTcI444Bn51zY\r
+X-Received: by 10.14.103.133 with SMTP id f5mr8122697eeg.48.1383404333798;\r
+       Sat, 02 Nov 2013 07:58:53 -0700 (PDT)\r
+Received: from localhost (dsl-hkibrasgw2-58c36f-91.dhcp.inet.fi.\r
+       [88.195.111.91])\r
+       by mx.google.com with ESMTPSA id a6sm21462985eei.10.2013.11.02.07.58.52\r
+       for <multiple recipients>\r
+       (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+       Sat, 02 Nov 2013 07:58:53 -0700 (PDT)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: Felipe Contreras <felipe.contreras@gmail.com>\r
+Subject: Re: Getting the right root mail of the thread\r
+In-Reply-To:\r
+ <CAMP44s19GP0w9UTTzeos2wQXHuYLpfF74BdJpxvLy=RD16=HXg@mail.gmail.com>\r
+References: <5274f93e254b5_6de7f51e7849@nysa.notmuch>\r
+       <87zjpmoqtz.fsf@nikula.org>\r
+       <CAMP44s19GP0w9UTTzeos2wQXHuYLpfF74BdJpxvLy=RD16=HXg@mail.gmail.com>\r
+User-Agent: Notmuch/0.16+106~g03cba67 (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Sat, 02 Nov 2013 16:58:52 +0200\r
+Message-ID: <87wqkqono3.fsf@nikula.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+Cc: "notmuch@notmuchmail.org" <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: Sat, 02 Nov 2013 14:59:00 -0000\r
+\r
+On Sat, 02 Nov 2013, Felipe Contreras <felipe.contreras@gmail.com> wrote:\r
+> On Sat, Nov 2, 2013 at 7:50 AM, Jani Nikula <jani@nikula.org> wrote:\r
+>> On Sat, 02 Nov 2013, Felipe Contreras <felipe.contreras@gmail.com> wrote:\r
+>\r
+>>> I think there should be a way to get the root mail of a thread,\r
+>>> irrespective of the search order.\r
+>>\r
+>> Largely agreed. It's just that nobody's gotten around to doing this\r
+>> yet. At the cli level I think the consensus is that the structured\r
+>> (sexp/json) output format should contain multiple (or all) subjects.\r
+>\r
+> What about the default? (--format=text). What about user-interfaces\r
+> that must display a summary of a thread?\r
+\r
+To be honest, we haven't had much interest in adding new content or\r
+features to the text output formats. It's just much easier to do this in\r
+a backwards compatible way in the structured output formats, for which\r
+we also have the format versioning. The emacs ui uses the sexp format\r
+for the thread summaries.\r
+\r
+That said, if someone were interested in amending notmuch search\r
+--format=text --output=summary, I don't think we'd have anything against\r
+it. I'd say a new option to specify a format string would be the way to\r
+go.\r
+\r
+\r
+BR,\r
+Jani.\r