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 8FBEF431FBC for ; Wed, 10 Feb 2010 03:06:35 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 tests=[BAYES_50=0.001] autolearn=ham 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 7F-Hik-tUDL9 for ; Wed, 10 Feb 2010 03:06:34 -0800 (PST) Received: from mail-ew0-f220.google.com (mail-ew0-f220.google.com [209.85.219.220]) by olra.theworths.org (Postfix) with ESMTP id 6230F431FAE for ; Wed, 10 Feb 2010 03:06:34 -0800 (PST) Received: by ewy20 with SMTP id 20so6292786ewy.0 for ; Wed, 10 Feb 2010 03:06:33 -0800 (PST) Received: by 10.213.97.78 with SMTP id k14mr6289996ebn.45.1265799993320; Wed, 10 Feb 2010 03:06:33 -0800 (PST) Received: from aw.hh.sledj.net (gmp-ea-fw-1.sun.com [192.18.1.36]) by mx.google.com with ESMTPS id 5sm9961813eyf.2.2010.02.10.03.06.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 10 Feb 2010 03:06:32 -0800 (PST) Received: by aw.hh.sledj.net (Postfix, from userid 1000) id 74AD33A08A; Wed, 10 Feb 2010 11:06:13 +0000 (GMT) To: notmuch From: David Edmondson Date: Wed, 10 Feb 2010 11:06:13 +0000 Message-ID: <87sk99xsd6.fsf@aw.hh.sledj.net> Lines: 43 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [notmuch] hello, 'automated' tagging, synchronisation 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, 10 Feb 2010 11:06:35 -0000 Hello. I've been trying out notmuch for a few days, so far it looks very useful. Thank you to all those who have participated in implementing it. I have a couple of questions: 1. How do others add some 'automatic' tagging of new messages? At the moment I'm using a script[1] which tags messages after running `notmuch new`. This passes over the same data multiple times, which seems wasteful but may be inevitable. Combined with a small amount of lisp... (setq notmuch-folder-list '("mine" "inbox" "rss" "unread" "os-xen" "os-discuss" "os-laptop" "os-network" "xen-changelog" "xen-devel" "xen-users" "list/fork" "list/interesting-people" "list/sun-alumni" "list/notmuch")) (setq notmuch-folders (mapcar '(lambda (f) (cons f (concat "tag:" f " AND tag:unread"))) notmuch-folder-list)) ...things mostly work out. 2. Sometimes it's useful to use another computer. Having the Maildir folders duplicated there is simple (already using offlineimap), as is building the search database. Missing are the tags, particularly if they were hand applied. So far my (unimplemented) solution for this is to dump/restore the tags and store the dump under version control. Moving from one computer to another (which I don't do very often) would involve: a$ notmuch dump >tags a$ git commit tags a$ git push b$ git pull b$ notmuch restore tags With appropriate amounts of conflict resolution should I update the tags on both a and b. What does everyone else do about this? Footnotes: [1] http://dme.org/tmp/run-notmuch dme. -- David Edmondson, http://dme.org