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