Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 6A84240DBF6 for ; Thu, 11 Nov 2010 07:51:43 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gfj1Rqmn9tuK for ; Thu, 11 Nov 2010 07:51:31 -0800 (PST) Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36]) by olra.theworths.org (Postfix) with ESMTP id 117E640DBE4 for ; Thu, 11 Nov 2010 07:51:31 -0800 (PST) Received: from localhost (unknown [192.168.200.4]) by max.feld.cvut.cz (Postfix) with ESMTP id 093E619F333B; Thu, 11 Nov 2010 16:51:30 +0100 (CET) X-Virus-Scanned: IMAP AMAVIS Received: from max.feld.cvut.cz ([192.168.200.1]) by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new, port 10044) with ESMTP id clbN+W5DecSo; Thu, 11 Nov 2010 16:51:28 +0100 (CET) Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34]) by max.feld.cvut.cz (Postfix) with ESMTP id 9E79D19F3326; Thu, 11 Nov 2010 16:51:28 +0100 (CET) Received: from steelpick.2x.cz (note-sojka.felk.cvut.cz [147.32.86.30]) (Authenticated sender: sojkam1) by imap.feld.cvut.cz (Postfix) with ESMTPSA id 90DE2FA004; Thu, 11 Nov 2010 16:51:28 +0100 (CET) Received: from wsh by steelpick.2x.cz with local (Exim 4.72) (envelope-from ) id 1PGZQu-0001BN-Ct; Thu, 11 Nov 2010 16:51:28 +0100 From: Michal Sojka To: Carl Worth , notmuch@notmuchmail.org Subject: Re: [PATCH v4 0/4] Maildir synchronization In-Reply-To: <87mxpgq50f.fsf@yoom.home.cworth.org> References: <87tyk3vpxd.fsf@wsheee.2x.cz> <1288560558-18915-1-git-send-email-sojkam1@fel.cvut.cz> <877hgsrjau.fsf@yoom.home.cworth.org> <87d3qhq527.fsf@resox.2x.cz> <874obrmww9.fsf@yoom.home.cworth.org> <87iq066cbd.fsf@steelpick.2x.cz> <87oc9ykzae.fsf@yoom.home.cworth.org> <877hgm2hjg.fsf@steelpick.2x.cz> <87lj52knbp.fsf@yoom.home.cworth.org> <874obp325b.fsf@steelpick.2x.cz> <87fwv9ktu1.fsf@yoom.home.cworth.org> <87mxpgq50f.fsf@yoom.home.cworth.org> User-Agent: Notmuch/0.4-30-ga01dbf0 (http://notmuchmail.org) Emacs/23.2.1 (x86_64-pc-linux-gnu) Date: Thu, 11 Nov 2010 16:51:28 +0100 Message-ID: <87vd43hn9b.fsf@steelpick.2x.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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 Nov 2010 15:51:43 -0000 On Wed, 10 Nov 2010, Carl Worth wrote: > I'm thinking of documenting/implementing this such that the > _flags_to_tags function merges (as a logical OR) the set of flags from > all filenames for a given email message, and then computes tags from the > final set. This does assume a particular kind of life-cycle for the > flags, (that they are additionally unset, and once set for the logical > message will not want to be cleared again). This lifecycle seems correct > for things like the flags for "seen" or "replied" as documented in the > original maildir specification. Does this mean, that if I want to remove the replied tag (for example) I can still do it by manipulating flags, i.e. I would remove the R flag from all messages with the coreposnding Message-ID? Or does it mean that the only way is to remove the replied tag in notmuch? I'd prefer the first. -Michal