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 451866DE1422 for ; Wed, 3 Feb 2016 08:00:30 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.967 X-Spam-Level: X-Spam-Status: No, score=0.967 tagged_above=-999 required=5 tests=[AWL=-0.317, RCVD_IN_RP_RNBL=1.284] 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 VH4e4Fy2QpEh for ; Wed, 3 Feb 2016 08:00:27 -0800 (PST) Received: from ccx.webprojekty.cz (156.200.broadband11.iol.cz [90.178.200.156]) by arlo.cworth.org (Postfix) with ESMTP id 80B856DE0B64 for ; Wed, 3 Feb 2016 08:00:16 -0800 (PST) Received: from dorje.v103.te2000 (unknown [82.142.125.46]) (Authenticated sender: ccx@webprojekty.cz) by ccx.webprojekty.cz (Postfix) with ESMTPSA id EE8551176 for ; Wed, 3 Feb 2016 16:05:26 +0100 (CET) Date: Wed, 3 Feb 2016 17:00:13 +0100 From: Jan Pobrislo To: notmuch@notmuchmail.org Subject: Re: [PATCH/RFC 0/3] Maildir custom flags and notmuch tags Message-ID: <20160203170013.477fd4e2@dorje.v103.te2000> In-Reply-To: <87egctyfbd.fsf@tesseract.cs.unb.ca> References: <1448504191-30974-1-git-send-email-igor.contato@gmail.com> <87mvsd7cxr.fsf@zancas.localnet> <20160202175220.12f8a712@dorje.v103.te2000> <87d1se9f2b.fsf@zancas.localnet> <20160203153250.56aa0b2b@dorje.v103.te2000> <87egctyfbd.fsf@tesseract.cs.unb.ca> X-Mailer: Claws Mail 3.13.0 (GTK+ 2.24.28; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 16:00:30 -0000 On Wed, 03 Feb 2016 11:38:30 -0400 David Bremner wrote: > > I was pondering this before and would find it rather neat, but it is > > bit more complicated than it might first seem. The hook needs to be > > able to add arbitrary files to be watched for changes and deduce > > from that which files need their tags re-read. > > perhaps lastmod: queries can help here. that's more or less what they > added for. > > d > That only helps with applying tags from notmuch to maildir, not vice-versa, which is the main thing I was talking about. But it got me thinking about potential notmuch<->dovecot-keywords synchronizer running as a separate pass. Although it would have to keep it's own database of mtimes, tags, etc. is still pretty feasible to make without changes to notmuch itself. --- David: Sorry about the duplicate mail. Having to use stupid MUA ATM.