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 1C62E431FD0 for ; Fri, 20 May 2011 15:39:32 -0700 (PDT) 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 Yx4VQ2USAaLf for ; Fri, 20 May 2011 15:39:30 -0700 (PDT) Received: from mail-vx0-f181.google.com (mail-vx0-f181.google.com [209.85.220.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 9FA19431FB6 for ; Fri, 20 May 2011 15:39:30 -0700 (PDT) Received: by vxb39 with SMTP id 39so3309186vxb.26 for ; Fri, 20 May 2011 15:39:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-type; bh=ic/jxNBoteJkqExD5mJp2jS0bqiENjzibq8hWBUBgbQ=; b=f2GErsTeOp1+sSFIb50ZSqbOph7VJRWDMLF6Zqre7StaFWJbSRFwFD/EXWl/lVWA0I Kuy4ehPtUDRs8c+PQm3uP/t174wuD1P0ax+Hx8SZ//tAYStq8clgjdaRdgZfbJGb+Ish fPKrzkZv732R8it8evGq28OBTKQ1mbAStBmSI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:in-reply-to:references:user-agent:date:message-id :mime-version:content-type; b=p8gVVX0AkxTDcaRnu7ofVsw90w6uBpFAyo16Z/KUXCKoe5kC7NqCnlM4UZJg9gIPUI L9NpgOmaznugeo13suApCM7rB4Rm6sv8sB7Ff5DRHXkbH24UV1tlRbjf3fZxAf7NzP9j rpKtCEd6QtBeJMgGcJjbaXmlSvD+9DyFmyOBk= Received: by 10.52.176.161 with SMTP id cj1mr241508vdc.35.1305931169957; Fri, 20 May 2011 15:39:29 -0700 (PDT) Received: from localhost (c-98-204-215-244.hsd1.md.comcast.net [98.204.215.244]) by mx.google.com with ESMTPS id x8sm901985vcr.17.2011.05.20.15.39.26 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 20 May 2011 15:39:27 -0700 (PDT) From: eric casteleijn To: Ben Gamari , notmuch Subject: Re: My mail configuration In-Reply-To: <87tyfu3k5a.fsf@gmail.com> References: <87tyfu3k5a.fsf@gmail.com> User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.2.1 (x86_64-pc-linux-gnu) Date: Fri, 20 May 2011 18:39:22 -0400 Message-ID: <87y621dmjp.fsf@eric-Studio-XPS-9100.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Fri, 20 May 2011 22:39:32 -0000 On Wed, 23 Feb 2011 09:22:57 -0500, Ben Gamari wrote: > Here is my mail sorting script that has been slowly evolving for almost > a year now. It uses the Python bindings, along with Bogofilter for spam > filtering. There is also an update-spam script which brings the > Bogofilter database in to synchronization with the notmuch tags. On this > note, if someone wants to implement the ability to hide certain tags > (say, those matching /\..+/) in the emacs interface it would be greatly > appreciated. I have notmuch configured such that all new mail starts > with just the "new" tag. The sorting script then takes it from > there. Hope this will give folks some ideas. Hi Ben, After a few previous tries, I finally came up with a notmuch setup that works for me, and it's largely thanks to your example, which I've modified slightly (of course ;) to suit my own purposes. The thing that I really liked was the 'watch' tag for mailing list messages, but after initial experimentation with it, I still felt paranoid about missing stuff that I cared about, since anything that does not go through my inbox is unlikely to ever show up on my radar. The solution I chose was to have an 'unwatch' tag (which could do with a better name, maybe 'ignore', or 'skip-inbox') that I apply to threads that I have no interest in. I also decided that (for me) this was not really tied to mailing list messages. My change made the script quite a bit simpler, (it gets rid of the unseen tag for one thing,) though at the cost of some of the original functionality, I realize. So, while I doubt this will be massively useful to you, or other people with a lot of list traffic with a very high noise-to-signal ratio, it may be of interest to others who have use cases more like my own. I put my copies under version control here: http://bazaar.launchpad.net/~thisfred/+junk/scripts/view/head:/sort_mail.py http://bazaar.launchpad.net/~thisfred/+junk/scripts/view/head:/update_junk.py (Though I'm not sure I changed anything substantial in the second one.) Also I made some simple keybindings to mark stuff as junk/unwatch in my .emacs: http://bazaar.launchpad.net/~thisfred/+junk/scripts/view/head:/.emacs#L552 Hope someone finds this of use, -- eric casteleijn https://launchpad.net/~thisfred