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 448246DE1226 for ; Wed, 3 Feb 2016 04:03:18 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.308 X-Spam-Level: X-Spam-Status: No, score=-0.308 tagged_above=-999 required=5 tests=[AWL=0.243, RP_MATCHES_RCVD=-0.55, 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 ZtQeOPYGV6WU for ; Wed, 3 Feb 2016 04:03:15 -0800 (PST) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 0273B6DE01FF for ; Wed, 3 Feb 2016 04:03:14 -0800 (PST) Received: from remotemail by fethera.tethera.net with local (Exim 4.84) (envelope-from ) id 1aQw8k-0004fc-19; Wed, 03 Feb 2016 07:02:30 -0500 Received: (nullmailer pid 8782 invoked by uid 1000); Wed, 03 Feb 2016 12:03:08 -0000 From: David Bremner To: Jan Pobrislo , notmuch@notmuchmail.org Subject: Re: [PATCH/RFC 0/3] Maildir custom flags and notmuch tags In-Reply-To: <20160202175220.12f8a712@dorje.v103.te2000> References: <1448504191-30974-1-git-send-email-igor.contato@gmail.com> <87mvsd7cxr.fsf@zancas.localnet> <20160202175220.12f8a712@dorje.v103.te2000> User-Agent: Notmuch/0.21+26~g9404723 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Wed, 03 Feb 2016 08:03:08 -0400 Message-ID: <87d1se9f2b.fsf@zancas.localnet> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.20 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: Wed, 03 Feb 2016 12:03:18 -0000 Jan Pobrislo writes: > > I think that using fixed mapping for flag meaning is a good POC step, > but that won't work without explicit support from the synchronizer to > map specific keywords to always same tags. I don't really know what > offlineimap does to synchronize keywords, if anything. Dsync already > does what it does - which is obviously to use the full dovecot format. > I see, you're talking about this "dovecot-keywords" file I guess http://wiki2.dovecot.org/MailboxFormat/Maildir Some questions that spring to mind: - This is clearly dovecot specific; I wonder what fraction of our users would benefit. I suppose that's a question about any scheme involving maildir-flags a-z; at least those can be synchronized ootb by several tools. - Notmuch new currently only indexes one copy of a message, so two files in different maildirs (i.e. a list and inbox) would be pretty much a crapshoot which tags get applied. We intend to change this behaviour eventually, but no one is working on it currently. - even if/when this behaviour changes, there is still the problem of reconciling different tag mappings from several maildirs. On the other hand, maybe not much change to the notmuch core would be needed to at least experiment with this, using e.g. hooks to notmuch-insert and notmuch-new.