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 7E625431FBC for ; Thu, 3 Dec 2009 01:48:06 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org 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 eDyk+-myhJXF for ; Thu, 3 Dec 2009 01:48:06 -0800 (PST) Received: from mout.perfora.net (mout.perfora.net [74.208.4.194]) by olra.theworths.org (Postfix) with ESMTP id E9A6D431FAE for ; Thu, 3 Dec 2009 01:48:05 -0800 (PST) Received: from smtp06.online.nl (smtp06.online.nl [194.134.42.51]) by mx.perfora.net (node=mxus1) with ESMTP (Nemesis) id 0MJAdm-1NHmBi2zk2-002mue for notmuch@notmuchmail.org; Thu, 03 Dec 2009 04:48:04 -0500 Received: from smtp06.online.nl (localhost [127.0.0.1]) by smtp06.online.nl (Postfix) with ESMTP id 3EAA296087 for ; Thu, 3 Dec 2009 10:48:02 +0100 (CET) Received: from home.veldthuis.com (s55919504.adsl.wanadoo.nl [85.145.149.4]) by smtp06.online.nl (Postfix) with ESMTP for ; Thu, 3 Dec 2009 10:48:02 +0100 (CET) Received: by home.veldthuis.com (Postfix, from userid 501) id EE7E12F783F; Thu, 3 Dec 2009 10:48:00 +0100 (CET) Content-Type: text/plain; charset=UTF-8 From: Marten Veldthuis To: notmuch In-reply-to: <87ws1583ea.fsf@yoom.home.cworth.org> References: <1259100630-13673-1-git-send-email-jan@ryngle.com> <87ws1583ea.fsf@yoom.home.cworth.org> Date: Thu, 03 Dec 2009 10:48:00 +0100 Message-Id: <1259830240-sup-2467@gopher.local> User-Agent: Sup/0.9 Content-Transfer-Encoding: 8bit X-Online-Scanned: by Cloudmark authority (on smtp06.online.nl) Subject: Re: [notmuch] [PATCH 0/4] Make tags applied by 'notmuch new' configurable. X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 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 Dec 2009 09:48:06 -0000 Excerpts from Carl Worth's message of Wed Dec 02 22:36:13 +0100 2009: > As a side-note, I would recommend against making your auto-tagging > scripts process only new messages. You can get a much more reliable > setup by having your auto-tagging scripts apply to the global > database. And this is not inefficient at all if you simply ensure that > you only match messages which need the tag added. I can see one clear case where that would become a problem: mistaggings. If I set up something so that in 99% of the cases, it'd tag new mail correctly with say "inbox unread mytag", I could quickly pick the mistagged ones out and remove the offending tag. If you do it like above however, the autotag script would come merrily along and retag them. -- - Marten