From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id DC423429E4A for ; Wed, 14 Dec 2011 09:00:31 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 YfPbonzSP4jc for ; Wed, 14 Dec 2011 09:00:31 -0800 (PST) Received: from mail-ww0-f41.google.com (mail-ww0-f41.google.com [74.125.82.41]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 20941429E2F for ; Wed, 14 Dec 2011 09:00:31 -0800 (PST) Received: by wgbdt12 with SMTP id dt12so1570785wgb.2 for ; Wed, 14 Dec 2011 09:00:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=message-id:content-type:mime-version:content-transfer-encoding:to :from:in-reply-to:references:subject:date; bh=LCjow8rQQ93eJVVm1Ebzhp/jxJmyRkfPxGICYPhAl5w=; b=g7V2U4L8+isweU9Dua9Xeey0kn6ZfeMslKEEOL59BUtBhwVZmcjJIIPrF+eVYWfFMh 6hkGw4VFSkL0ygqGGskLzDVG+wNLLZgsf9b/NvjZOSCn+BkXnSUlWHTwFxfE90z6jAGJ IAm/i9xkTNfUfgINycYgwcCgwDYpxZFf3drMo= Received: by 10.216.136.70 with SMTP id v48mr1593983wei.48.1323882028381; Wed, 14 Dec 2011 09:00:28 -0800 (PST) Received: from localhost (dhcp-91-036.inf.ed.ac.uk. [129.215.91.36]) by mx.google.com with ESMTPS id m25sm4812396wbp.6.2011.12.14.09.00.25 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Dec 2011 09:00:26 -0800 (PST) Message-ID: <4ee8d62a.596ee30a.1833.ffffc33e@mx.google.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: Justus Winter <4winter@informatik.uni-hamburg.de>, notmuch@notmuchmail.org From: Patrick Totzke In-Reply-To: References: Subject: Re: [afew] announcing afew, an universal tagging solution with some fancy features Date: Wed, 14 Dec 2011 16:59:43 +0000 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: Wed, 14 Dec 2011 17:00:32 -0000 Hi Justus, I have just tried your script and have some questions/remarks about it: * mkdir -p ~/.config/afew ~/.local/share/afew/categories As far as I can see, this is not needed if one doesn't use ClassifyingFil= ter, so its OK not to do this directly from the setup.py somehow. But it would be nice if a first run uf `afew --learn` would create these (or die gracefully instead of raising the afew.DBACL.Backend= Error). * if you renamed the README & co to include the suffix ".md" github would n= icely render them on the project page. * I need some more info on how the config works: first, the order in which = the sections are defined specifies the filter-pipeline yes? Secondly, what exactly is a "filter object" in the config? Specifically, what do these 3 lines do: https://github.com/teythoon/afew/blob/master/docs/tag_filters#L39 * this is surely a user error: I cannot use afew for initial tagging as exp= ected: I installed as stated in the README, trained some of my existing tags and called `afew --update-reference` and= `afew --update`. The test with `afew --classify -- ..` works nicely. Now I tagges all my mails with is:new, and called `afew --tag --new`. This returns immediately without output and all my messages are still tag= ged new. Also, -vv does not result in any output.. ideas? Looking forward to replacing my sort script with this. Thanks, /p