From: David Bremner Date: Wed, 3 Feb 2016 15:38:30 +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=56e4a99e91d1c4293a31fe741ff9aee1936dc7b8;p=notmuch-archives.git Re: [PATCH/RFC 0/3] Maildir custom flags and notmuch tags --- diff --git a/93/cd719cc1802ea4e15f34c0772b7bc3f92b4868 b/93/cd719cc1802ea4e15f34c0772b7bc3f92b4868 new file mode 100644 index 000000000..9cac45418 --- /dev/null +++ b/93/cd719cc1802ea4e15f34c0772b7bc3f92b4868 @@ -0,0 +1,80 @@ +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 3A12B6DE132D + for ; Wed, 3 Feb 2016 07:38:40 -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 po2DNjZnxqyg for ; + Wed, 3 Feb 2016 07:38:36 -0800 (PST) +Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) + by arlo.cworth.org (Postfix) with ESMTPS id 8DF1B6DE1329 + for ; Wed, 3 Feb 2016 07:38:36 -0800 (PST) +Received: from remotemail by fethera.tethera.net with local (Exim 4.84) + (envelope-from ) + id 1aQzVA-0007LU-Va; Wed, 03 Feb 2016 10:37:53 -0500 +Received: (nullmailer pid 7120 invoked by uid 1000); + Wed, 03 Feb 2016 15:38:30 -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: <20160203153250.56aa0b2b@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> +User-Agent: Notmuch/0.21+5~gca076ce (http://notmuchmail.org) Emacs/24.4.1 + (x86_64-pc-linux-gnu) +Date: Wed, 03 Feb 2016 11:38:30 -0400 +Message-ID: <87egctyfbd.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 15:38:40 -0000 + +Jan Pobrislo writes: + +> +> Every such maildir extension out there that I know of was invented for +> some specific application. Out of the two documented formats there are, +> the dovecot-keywords file is: +> +> 1) more limited (26 tags maximum) +> 2) simpler to implement, especially wrt. detecting changes +> 3) usable out of the box with some tools, as you noted + +Actually, I just mean the extra maildir flags. I guess only the dovecot +sync tool syncs dovecot-keywords. And I don't think "notmuch+dsync +users" is a very big group, fwiw. + +>> 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. +> +> 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 +