From d17e597adc46d89aa91799091c6472981f7cd660 Mon Sep 17 00:00:00 2001 From: Xu Wang Date: Sun, 14 Jun 2015 23:56:01 +2000 Subject: [PATCH] Re: search query "replytoid:" --- 88/84bb552e6a2fc72c6d5bf95fc9b983cc9e719d | 121 ++++++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 88/84bb552e6a2fc72c6d5bf95fc9b983cc9e719d diff --git a/88/84bb552e6a2fc72c6d5bf95fc9b983cc9e719d b/88/84bb552e6a2fc72c6d5bf95fc9b983cc9e719d new file mode 100644 index 000000000..4ee9a2a2c --- /dev/null +++ b/88/84bb552e6a2fc72c6d5bf95fc9b983cc9e719d @@ -0,0 +1,121 @@ +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 EFB346DE0948 + for ; Sat, 13 Jun 2015 20:56:04 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.578 +X-Spam-Level: +X-Spam-Status: No, score=-0.578 tagged_above=-999 required=5 + tests=[AWL=-0.008, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, + DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, + FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, + RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] 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 sk0gcM1Ktz0y for ; + Sat, 13 Jun 2015 20:56:02 -0700 (PDT) +Received: from mail-oi0-f46.google.com (mail-oi0-f46.google.com + [209.85.218.46]) + by arlo.cworth.org (Postfix) with ESMTPS id 221926DE0350 + for ; Sat, 13 Jun 2015 20:56:02 -0700 (PDT) +Received: by oial131 with SMTP id l131so7950080oia.3 + for ; Sat, 13 Jun 2015 20:56:01 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=mime-version:in-reply-to:references:date:message-id:subject:from:to + :content-type; bh=eRNUvmX2Mn1M3eXFNjpbn6pjuQfZq0PKa3Jgiq2+YBE=; + b=NGN8crGmFg2VA9zbzH8ZKrEAeCPa3XcFQlTQJQwFMmFBUGNupwFD9MxBNRrbSEsSDx + pBjWVIJxTtUBC/UQWVFNyCCHDBTD1+V9OQeR+m17OAHTe9mmOkbsf5pM590IL5g1YWYd + mwtQ1vMVboEPPfCJHFMgopDRhTAmG8rkSMHqZEuKdLNww4uHsKRcucYmvusZlEuW2shG + uEBhCRqkg7mVgIdNu29AvDcU1TVC+B4VN2J2w4WCP/pDIBO32mnaydaag8QS/LYHYRjU + 8v1VvFuO04066QA2KPolP7PXJPCuimyqllskxtKxZZd/UqdzsRh54eT81SjMemQM5ZCc + XUOA== +MIME-Version: 1.0 +X-Received: by 10.202.229.66 with SMTP id c63mr4263865oih.57.1434254161161; + Sat, 13 Jun 2015 20:56:01 -0700 (PDT) +Received: by 10.182.241.167 with HTTP; Sat, 13 Jun 2015 20:56:01 -0700 (PDT) +In-Reply-To: <877fr79upd.fsf@maritornes.cs.unb.ca> +References: + + <877fr79upd.fsf@maritornes.cs.unb.ca> +Date: Sat, 13 Jun 2015 23:56:01 -0400 +Message-ID: + +Subject: Re: search query "replytoid:" +From: Xu Wang +To: notmuch@notmuchmail.org +Content-Type: text/plain; charset=UTF-8 +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: Sun, 14 Jun 2015 03:56:05 -0000 + +On Sat, Jun 13, 2015 at 5:14 PM, David Bremner wrote: +> 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) + +Dear David and Suvayu, + +Thank you for your ideas. My goal is to do something like the following: +notmuch search tag:reply-required and not tag:replied + +which was discussed here: +http://notmuchmail.org/pipermail/notmuch/2010/002558.html + +However, instead of conditioning on tag:reply-required, I would like +to look at this for a specific message. For example, if I write an +important message, I can do the following: +save the message id, and then in 5 days set a cron script to check +whether my message was responded to. If it was not responded to I will +take some action to notify myself (haven't decided what yet). +It is the "If it was not responded to" part that this email thread is +about. I am now realizing that I cannot use mutt's tag "replied" +because I often send and read email from gmail or other IMap clients +(e.g. phone). Because of this (I believe), the reply tag does not get +set when it should (well not "should" but rather "when I want it to"). +For example, I often have + +abc +->def + -> ghi + +where the message def does not have the "replied" tag, even though it +was replied to (ghi replied to it). I think the reason is what I +suggested above. + +Because I cannot use the "replied" tag (unless I have misunderstood), +I thought I could just check using the message id with 'notmuch search +repliedto:', but Suvayu points out that searching for this +is not supported. + +Kind regards, + +Xu -- 2.26.2