--- /dev/null
+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 arlo.cworth.org (Postfix) with ESMTP id 60BD76DE0B29\r
+ for <notmuch@notmuchmail.org>; Thu, 11 Jun 2015 11:25:48 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.063\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.063 tagged_above=-999 required=5 tests=[AWL=0.783, \r
+ RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,\r
+ RCVD_IN_MSPIKE_WL=-0.01] 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 loBTzYaa0sel for <notmuch@notmuchmail.org>;\r
+ Thu, 11 Jun 2015 11:25:46 -0700 (PDT)\r
+Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com\r
+ [74.125.82.44]) by arlo.cworth.org (Postfix) with ESMTPS id 981E76DE0948 for\r
+ <notmuch@notmuchmail.org>; Thu, 11 Jun 2015 11:25:45 -0700 (PDT)\r
+Received: by wgbgq6 with SMTP id gq6so9779492wgb.3\r
+ for <notmuch@notmuchmail.org>; Thu, 11 Jun 2015 11:25:43 -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:subject:in-reply-to:references\r
+ :user-agent:date:message-id:mime-version:content-type;\r
+ bh=Tj/hYEZLOYShUUd8iP/5NK2tO2emh2W/rJaKqGXuB90=;\r
+ b=K48Z8Xcuh5H2mhmS4PjKIXK+Y8ZOFJt2hsTZL/tUFIb7aKUo8y63TjjXo4iLBCruvY\r
+ e+fdlcC0XbMjORp0sPdrYaAAtbZRugk93n79FHAUGqi2+FNX6yCjvdxCwoBqYYkbHkxL\r
+ gh50Db/HIb4819ZQqAiWJvWu0duxd+khOdxbygJP84mE0GeCEx1nXyXlcaGoWhS7el7z\r
+ B/4/dnjQ5I9DASSzVbxgB5oIrhqoAQHCwDlns/YrrTo0CcKzKvNzEpgwMA+YQKmJDFUp\r
+ 85OE8ZW5wtDS+HfFubUAe4pZ0R616xLRxynazyBHxVCSGIMXHJEDZzuQVO6uqhB+5wM+\r
+ quxw==\r
+X-Gm-Message-State:\r
+ ALoCoQmhSXfx7DcbMxgjEzcbZ9lA+EnH1R09DQSyfneLkNuWIzsSDeUCXelKIBlbaLfmb9eaH+sx\r
+X-Received: by 10.194.79.225 with SMTP id m1mr19270804wjx.8.1434047143658;\r
+ Thu, 11 Jun 2015 11:25:43 -0700 (PDT)\r
+Received: from localhost (mobile-access-bcee6b-244.dhcp.inet.fi.\r
+ [188.238.107.244])\r
+ by mx.google.com with ESMTPSA id a19sm13982488wiv.2.2015.06.11.11.25.42\r
+ (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Thu, 11 Jun 2015 11:25:42 -0700 (PDT)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: Xu Wang <xuwang762@gmail.com>, notmuch@notmuchmail.org\r
+Subject: Re: Understanding the "replied" tag\r
+In-Reply-To:\r
+ <CAJhTkNjHDmii67Gn77szoeriEBEwMJ=4NMMQ0qUjX3-jppQk1w@mail.gmail.com>\r
+References:\r
+ <CAJhTkNjHDmii67Gn77szoeriEBEwMJ=4NMMQ0qUjX3-jppQk1w@mail.gmail.com>\r
+User-Agent: Notmuch/0.19+86~gbed8b67 (http://notmuchmail.org) Emacs/24.4.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Thu, 11 Jun 2015 21:25:49 +0300\r
+Message-ID: <87eglije4y.fsf@nikula.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\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:25:48 -0000\r
+\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
+>\r
+> Kind regards,\r
+>\r
+> Xu\r
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> http://notmuchmail.org/mailman/listinfo/notmuch\r