From 04e4889123886830d8d978c5301be0404d50ff07 Mon Sep 17 00:00:00 2001 From: Xu Wang Date: Fri, 12 Jun 2015 14:39:10 +2000 Subject: [PATCH] Re: Understanding the "replied" tag --- db/a77612b335e0c5c848c181510ee30aad3ff608 | 134 ++++++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100644 db/a77612b335e0c5c848c181510ee30aad3ff608 diff --git a/db/a77612b335e0c5c848c181510ee30aad3ff608 b/db/a77612b335e0c5c848c181510ee30aad3ff608 new file mode 100644 index 000000000..7abc1b98c --- /dev/null +++ b/db/a77612b335e0c5c848c181510ee30aad3ff608 @@ -0,0 +1,134 @@ +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 D5C536DE0B29 + for ; Thu, 11 Jun 2015 11:39:14 -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 tlK4f7ZzM_7n for ; + Thu, 11 Jun 2015 11:39:12 -0700 (PDT) +Received: from mail-ob0-f193.google.com (mail-ob0-f193.google.com + [209.85.214.193]) + by arlo.cworth.org (Postfix) with ESMTPS id 49D3E6DE0948 + for ; Thu, 11 Jun 2015 11:39:12 -0700 (PDT) +Received: by obcuy5 with SMTP id uy5so3198720obc.0 + for ; Thu, 11 Jun 2015 11:39:11 -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 + :cc:content-type; + bh=jea5eGMcK2t/o1xzirZAxt7VZ66ObnsLx1UyQMcwDSY=; + b=YopDRAkuHpGzM9+2QUQSzuxlSi+uYKyPTmG/dmivbJ1r+0VhkTRiuBrt4dF7ca71O8 + bTqjF87eivDR6R+TL4tq9h6YVqMLcqVr9yB50d5r/ZZzSnAUblocbUS5krtAwI1O9lmJ + yTRQ9nm/wbEWAry4fTDFpiPEDiESPlMkAKJFDYm35y99BJibeWUGKyvHNjXRg+cC+aJ6 + phVSX49JSyMopdQlUaDAvi/pBlrD3HxlK8/xZsmdaF9gHhwSQIwYG7ytN7rCVnZ6uW5H + dNOe23Wkvzt9kTDA3y1ARLleQLCiWR9kVwUQAMYmoByViISDehH7sbheMEhnOm3cyMWi + ZuKQ== +MIME-Version: 1.0 +X-Received: by 10.182.87.36 with SMTP id u4mr9029675obz.50.1434047950466; Thu, + 11 Jun 2015 11:39:10 -0700 (PDT) +Received: by 10.182.241.167 with HTTP; Thu, 11 Jun 2015 11:39:10 -0700 (PDT) +In-Reply-To: <87eglije4y.fsf@nikula.org> +References: + + <87eglije4y.fsf@nikula.org> +Date: Thu, 11 Jun 2015 14:39:10 -0400 +Message-ID: + +Subject: Re: Understanding the "replied" tag +From: Xu Wang +To: Jani Nikula +Content-Type: text/plain; charset=UTF-8 +X-Mailman-Approved-At: Sat, 13 Jun 2015 07:49:29 -0700 +Cc: notmuch@notmuchmail.org +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: Thu, 11 Jun 2015 18:39:14 -0000 + +On Thu, Jun 11, 2015 at 2:25 PM, Jani Nikula wrote: +> On Thu, 11 Jun 2015, Xu Wang wrote: +>> Dear all, +>> +>> First, I am extremely excited to be a part of this list now. notmuch +>> has really helped me. Thank you go all individuals working to improve +>> it and to help others to know how to use it. +>> +>> I would really like to know if a message has been replied to (e.g. +>> using a certain message id). It seems that all I need to do is check +>> for the "replied" tag. But often this tag is not there, even when +>> there has been a reply (I have confirmed this through the thread +>> display and checking the message that replied to the message to make +>> sure it indeed has header "replied-to:"). +>> +>> I have looked in mutt, and also I see many situations where there is +>> no 'r' flag, especially for emails sent from me. +>> +>> The following returns true: +>> notmuch config get maildir.synchronize_flags +>> +>> So at least both are giving same answer, but I'm not sure why not +>> saying "replied" thread is correct. +>> +>> What is incorrect for my way of thinking about "replied"? Do I +>> misunderstand what it is supposed to do or am I not updating the flags +>> correctly? +> +> Notmuch deals with the "replied" tag in two ways. +> +> First, the tag is synchronized with the maildir flag R, both ways. This +> is the "R" in the filename after ":2,". See [1] for details. +> +> Second, the notmuch-emacs interface adds the "replied" tag upon sending +> the reply. You can customize this tag, but note that only "replied" gets +> synchronized to maildir flags. +> +> If you use a MUA that doesn't either add the R flag or call notmuch to +> add the "replied" tag, you'll lose this bit of information. +> +> You might also find [2] relevant. +> +> BR, +> Jani. +> +> +> [1] http://cr.yp.to/proto/maildir.html +> [2] http://notmuchmail.org/special-tags/ + +Thank you so much, Jani. This is very informative to me. I think I +have a good understanding now of what is going on. + +My question then is this: + +I trust notmuch more than mutt, because notmuch is aware of threads +and all mail boxes. Also note that I often use gmail web interface to +reply emails. + +Am I correct in the following: if notmuch wanted to, when I run +"notmuch new", notmuch has the information that it could +(theoretically) update and correct all of the "replied" tags. Is that +correct? If so, my next question is: why doesn't it do that? + +I think I'm close to getting notmuch intution on its goals. + +Kind regards, + +Xu -- 2.26.2