From: David Bremner Date: Wed, 3 Feb 2016 16:04:14 +0000 (+2000) Subject: Re: [PATCH/RFC 0/3] Maildir custom flags and notmuch tags X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ac249baec4bdcb51657632a58d634a28811bda9b;p=notmuch-archives.git Re: [PATCH/RFC 0/3] Maildir custom flags and notmuch tags --- diff --git a/4a/4f8b0985d2eb36f24f962f81437fce143af9dd b/4a/4f8b0985d2eb36f24f962f81437fce143af9dd new file mode 100644 index 000000000..ee214f989 --- /dev/null +++ b/4a/4f8b0985d2eb36f24f962f81437fce143af9dd @@ -0,0 +1,77 @@ +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 367B66DE1216 + for ; Wed, 3 Feb 2016 08:04:23 -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 mOzJkBORrY-D for ; + Wed, 3 Feb 2016 08:04:18 -0800 (PST) +Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) + by arlo.cworth.org (Postfix) with ESMTPS id 627146DE119C + for ; Wed, 3 Feb 2016 08:04:18 -0800 (PST) +Received: from remotemail by fethera.tethera.net with local (Exim 4.84) + (envelope-from ) + id 1aQzu5-0007h5-9w; Wed, 03 Feb 2016 11:03:37 -0500 +Received: (nullmailer pid 20156 invoked by uid 1000); + Wed, 03 Feb 2016 16:04:14 -0000 +From: David Bremner +To: Jan Pobrislo +Cc: notmuch@notmuchmail.org +Subject: Re: [PATCH/RFC 0/3] Maildir custom flags and notmuch tags +In-Reply-To: <20160203165650.4ae528c1@dorje.v103.te2000> +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> + <20160203165650.4ae528c1@dorje.v103.te2000> +User-Agent: Notmuch/0.21+5~gca076ce (http://notmuchmail.org) Emacs/24.4.1 + (x86_64-pc-linux-gnu) +Date: Wed, 03 Feb 2016 12:04:14 -0400 +Message-ID: <878u31ye4h.fsf@tesseract.cs.unb.ca> +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 16:04:23 -0000 + +Jan Pobrislo writes: + +> 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. + +For changes to dovecot-keywords files, you're on your own. But changes +to the actual maildir flags are file renames, which should trigger an +increase in lastmod counter; if not I'd consider that a bug. + +d