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 17735431FC4 for ; Thu, 3 Jul 2014 03:46:33 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled 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 7XZaL0xejfYj for ; Thu, 3 Jul 2014 03:46:25 -0700 (PDT) Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net [87.98.215.224]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 17AC1431FB6 for ; Thu, 3 Jul 2014 03:46:25 -0700 (PDT) Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim 4.72) (envelope-from ) id 1X2eTg-0004zU-Bt; Thu, 03 Jul 2014 10:42:56 +0000 Received: (nullmailer pid 22119 invoked by uid 1000); Thu, 03 Jul 2014 10:42:36 -0000 From: David Bremner To: Gaute Hope , notmuch@notmuchmail.org Subject: Re: [PATCH] Add configurable changed tag to messages that have been changed on disk In-Reply-To: <1396800683-9164-1-git-send-email-eg@gaute.vetsj.com> References: <1396800683-9164-1-git-send-email-eg@gaute.vetsj.com> User-Agent: Notmuch/0.18.1+22~gbf82697 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu) Date: Thu, 03 Jul 2014 07:42:36 -0300 Message-ID: <87fviiiuzn.fsf@maritornes.cs.unb.ca> MIME-Version: 1.0 Content-Type: text/plain 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, 03 Jul 2014 10:46:33 -0000 Gaute Hope writes: > When one of the source files for a message is changed on disk, renamed, > deleted or a new source file is added. A configurable changed tag is > is added. The tag can be configured under the option 'changed_tags' in > the [new] section, the default is none. Tests have been updated to > accept the new config option. > > notmuch-setup now asks for a changed tag after the new tags question. > > This could be useful for for example 'afew' to detect remote changes in > IMAP folders and update the FolderNameFilter to also add tags or remove > tags when a _existing_ message has been added to or removed from a > maildir. The discussion on this proposal seems to have died out without reaching a conclusion. David M expressed a strong preference for some kind of modification time field in the database. Gaute agreed with some caveats that such an approach could solve his problems as well. On the other hand, nobody seems to be actually working on such an approach at the moment. Gaute and or David do you have any interest in revisiting the series id:1323796305-28789-1-git-send-email-schnouki@schnouki.net and seeing if it can be reworked into mergeable shape? I suspect in particular something needs to be added with respect to message deletion Thomas, are you still running some variant of these patches? d