From: David Bremner Date: Sat, 13 Jun 2015 21:14:54 +0000 (+0200) Subject: Re: search query "replytoid:" X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5eaee01c2e2e2d1d37da9b469bfe149e75f8e238;p=notmuch-archives.git Re: search query "replytoid:" --- diff --git a/e3/54cc6a51414da9f9ed4510f5abb7701c229c85 b/e3/54cc6a51414da9f9ed4510f5abb7701c229c85 new file mode 100644 index 000000000..0fa93a0b5 --- /dev/null +++ b/e3/54cc6a51414da9f9ed4510f5abb7701c229c85 @@ -0,0 +1,71 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id DDFBF6DE0B20 + for ; Sat, 13 Jun 2015 14:16:41 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.194 +X-Spam-Level: +X-Spam-Status: No, score=0.194 tagged_above=-999 required=5 tests=[AWL=0.194] + autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id Sgk8VshFkXji for ; + Sat, 13 Jun 2015 14:16:40 -0700 (PDT) +Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net + [87.98.215.224]) + by arlo.cworth.org (Postfix) with ESMTPS id EB0A96DE0948 + for ; Sat, 13 Jun 2015 14:16:39 -0700 (PDT) +Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim + 4.80) (envelope-from ) + id 1Z3slk-0008In-Cu; Sat, 13 Jun 2015 21:15:12 +0000 +Received: (nullmailer pid 12039 invoked by uid 1000); Sat, 13 Jun 2015 + 21:14:54 -0000 +From: David Bremner +To: Xu Wang , notmuch@notmuchmail.org +Subject: Re: search query "replytoid:" +In-Reply-To: + +References: + +User-Agent: Notmuch/0.20.1+21~g4e79903 (http://notmuchmail.org) Emacs/24.4.1 + (x86_64-pc-linux-gnu) +Date: Sat, 13 Jun 2015 23:14:54 +0200 +Message-ID: <877fr79upd.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +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: Sat, 13 Jun 2015 21:16:42 -0000 + +Xu Wang writes: + +> Dear all, +> +> Is it possible to search based on which message ID a message +> *responds* to? For example, suppose message id is MESSAGEID. I want to +> find all emails that responded to MESSAGEID. How to enter such a query +> into notmuch? + +Threads aren't exactly the concept you ask for, because the include the +messages before the message-id in question as well. Nonetheless, maybe +the following helps: + + +% notmuch show $(notmuch search --output=threads $MESAGEID) + +or + +% notmuch search --output=messages $(notmuch search --output=threads $MESAGEID)