--- /dev/null
+Return-Path: <xuwang762@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id D5C536DE0B29\r
+ for <notmuch@notmuchmail.org>; Thu, 11 Jun 2015 11:39:14 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.578\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.578 tagged_above=-999 required=5\r
+ tests=[AWL=-0.008, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,\r
+ DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25,\r
+ FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,\r
+ RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id tlK4f7ZzM_7n for <notmuch@notmuchmail.org>;\r
+ Thu, 11 Jun 2015 11:39:12 -0700 (PDT)\r
+Received: from mail-ob0-f193.google.com (mail-ob0-f193.google.com\r
+ [209.85.214.193])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 49D3E6DE0948\r
+ for <notmuch@notmuchmail.org>; Thu, 11 Jun 2015 11:39:12 -0700 (PDT)\r
+Received: by obcuy5 with SMTP id uy5so3198720obc.0\r
+ for <notmuch@notmuchmail.org>; Thu, 11 Jun 2015 11:39:11 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=mime-version:in-reply-to:references:date:message-id:subject:from:to\r
+ :cc:content-type;\r
+ bh=jea5eGMcK2t/o1xzirZAxt7VZ66ObnsLx1UyQMcwDSY=;\r
+ b=YopDRAkuHpGzM9+2QUQSzuxlSi+uYKyPTmG/dmivbJ1r+0VhkTRiuBrt4dF7ca71O8\r
+ bTqjF87eivDR6R+TL4tq9h6YVqMLcqVr9yB50d5r/ZZzSnAUblocbUS5krtAwI1O9lmJ\r
+ yTRQ9nm/wbEWAry4fTDFpiPEDiESPlMkAKJFDYm35y99BJibeWUGKyvHNjXRg+cC+aJ6\r
+ phVSX49JSyMopdQlUaDAvi/pBlrD3HxlK8/xZsmdaF9gHhwSQIwYG7ytN7rCVnZ6uW5H\r
+ dNOe23Wkvzt9kTDA3y1ARLleQLCiWR9kVwUQAMYmoByViISDehH7sbheMEhnOm3cyMWi\r
+ ZuKQ==\r
+MIME-Version: 1.0\r
+X-Received: by 10.182.87.36 with SMTP id u4mr9029675obz.50.1434047950466; Thu,\r
+ 11 Jun 2015 11:39:10 -0700 (PDT)\r
+Received: by 10.182.241.167 with HTTP; Thu, 11 Jun 2015 11:39:10 -0700 (PDT)\r
+In-Reply-To: <87eglije4y.fsf@nikula.org>\r
+References:\r
+ <CAJhTkNjHDmii67Gn77szoeriEBEwMJ=4NMMQ0qUjX3-jppQk1w@mail.gmail.com>\r
+ <87eglije4y.fsf@nikula.org>\r
+Date: Thu, 11 Jun 2015 14:39:10 -0400\r
+Message-ID:\r
+ <CAJhTkNhcUjM0ut+8JQX1ifVhPL4D+kLzoHz_nTRxQrmFJT4scA@mail.gmail.com>\r
+Subject: Re: Understanding the "replied" tag\r
+From: Xu Wang <xuwang762@gmail.com>\r
+To: Jani Nikula <jani@nikula.org>\r
+Content-Type: text/plain; charset=UTF-8\r
+X-Mailman-Approved-At: Sat, 13 Jun 2015 07:49:29 -0700\r
+Cc: notmuch@notmuchmail.org\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\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: Thu, 11 Jun 2015 18:39:14 -0000\r
+\r
+On Thu, Jun 11, 2015 at 2:25 PM, Jani Nikula <jani@nikula.org> wrote:\r
+> On Thu, 11 Jun 2015, Xu Wang <xuwang762@gmail.com> wrote:\r
+>> Dear all,\r
+>>\r
+>> First, I am extremely excited to be a part of this list now. notmuch\r
+>> has really helped me. Thank you go all individuals working to improve\r
+>> it and to help others to know how to use it.\r
+>>\r
+>> I would really like to know if a message has been replied to (e.g.\r
+>> using a certain message id). It seems that all I need to do is check\r
+>> for the "replied" tag. But often this tag is not there, even when\r
+>> there has been a reply (I have confirmed this through the thread\r
+>> display and checking the message that replied to the message to make\r
+>> sure it indeed has header "replied-to:<MSG-ID>").\r
+>>\r
+>> I have looked in mutt, and also I see many situations where there is\r
+>> no 'r' flag, especially for emails sent from me.\r
+>>\r
+>> The following returns true:\r
+>> notmuch config get maildir.synchronize_flags\r
+>>\r
+>> So at least both are giving same answer, but I'm not sure why not\r
+>> saying "replied" thread is correct.\r
+>>\r
+>> What is incorrect for my way of thinking about "replied"? Do I\r
+>> misunderstand what it is supposed to do or am I not updating the flags\r
+>> correctly?\r
+>\r
+> Notmuch deals with the "replied" tag in two ways.\r
+>\r
+> First, the tag is synchronized with the maildir flag R, both ways. This\r
+> is the "R" in the filename after ":2,". See [1] for details.\r
+>\r
+> Second, the notmuch-emacs interface adds the "replied" tag upon sending\r
+> the reply. You can customize this tag, but note that only "replied" gets\r
+> synchronized to maildir flags.\r
+>\r
+> If you use a MUA that doesn't either add the R flag or call notmuch to\r
+> add the "replied" tag, you'll lose this bit of information.\r
+>\r
+> You might also find [2] relevant.\r
+>\r
+> BR,\r
+> Jani.\r
+>\r
+>\r
+> [1] http://cr.yp.to/proto/maildir.html\r
+> [2] http://notmuchmail.org/special-tags/\r
+\r
+Thank you so much, Jani. This is very informative to me. I think I\r
+have a good understanding now of what is going on.\r
+\r
+My question then is this:\r
+\r
+I trust notmuch more than mutt, because notmuch is aware of threads\r
+and all mail boxes. Also note that I often use gmail web interface to\r
+reply emails.\r
+\r
+Am I correct in the following: if notmuch wanted to, when I run\r
+"notmuch new", notmuch has the information that it could\r
+(theoretically) update and correct all of the "replied" tags. Is that\r
+correct? If so, my next question is: why doesn't it do that?\r
+\r
+I think I'm close to getting notmuch intution on its goals.\r
+\r
+Kind regards,\r
+\r
+Xu\r