[GNU EMACS] smtpmail package and queue
[notmuch-archives.git] / 3e / e6301b9af654a7206414df5081bc369cce1feb
1 Return-Path: <dme@dme.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 8FBEF431FBC\r
6         for <notmuch@notmuchmail.org>; Wed, 10 Feb 2010 03:06:35 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.001\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.001 tagged_above=-999 required=5\r
12         tests=[BAYES_50=0.001] autolearn=ham\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id 7F-Hik-tUDL9 for <notmuch@notmuchmail.org>;\r
16         Wed, 10 Feb 2010 03:06:34 -0800 (PST)\r
17 Received: from mail-ew0-f220.google.com (mail-ew0-f220.google.com\r
18         [209.85.219.220])\r
19         by olra.theworths.org (Postfix) with ESMTP id 6230F431FAE\r
20         for <notmuch@notmuchmail.org>; Wed, 10 Feb 2010 03:06:34 -0800 (PST)\r
21 Received: by ewy20 with SMTP id 20so6292786ewy.0\r
22         for <notmuch@notmuchmail.org>; Wed, 10 Feb 2010 03:06:33 -0800 (PST)\r
23 Received: by 10.213.97.78 with SMTP id k14mr6289996ebn.45.1265799993320;\r
24         Wed, 10 Feb 2010 03:06:33 -0800 (PST)\r
25 Received: from aw.hh.sledj.net (gmp-ea-fw-1.sun.com [192.18.1.36])\r
26         by mx.google.com with ESMTPS id 5sm9961813eyf.2.2010.02.10.03.06.32\r
27         (version=TLSv1/SSLv3 cipher=RC4-MD5);\r
28         Wed, 10 Feb 2010 03:06:32 -0800 (PST)\r
29 Received: by aw.hh.sledj.net (Postfix, from userid 1000)\r
30         id 74AD33A08A; Wed, 10 Feb 2010 11:06:13 +0000 (GMT)\r
31 To: notmuch <notmuch@notmuchmail.org>\r
32 From: David Edmondson <dme@dme.org>\r
33 Date: Wed, 10 Feb 2010 11:06:13 +0000\r
34 Message-ID: <87sk99xsd6.fsf@aw.hh.sledj.net>\r
35 Lines: 43\r
36 MIME-Version: 1.0\r
37 Content-Type: text/plain; charset=us-ascii\r
38 Subject: [notmuch] hello, 'automated' tagging, synchronisation\r
39 X-BeenThere: notmuch@notmuchmail.org\r
40 X-Mailman-Version: 2.1.13\r
41 Precedence: list\r
42 List-Id: "Use and development of the notmuch mail system."\r
43         <notmuch.notmuchmail.org>\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
45         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
47 List-Post: <mailto:notmuch@notmuchmail.org>\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
51 X-List-Received-Date: Wed, 10 Feb 2010 11:06:35 -0000\r
52 \r
53 Hello. I've been trying out notmuch for a few days, so far it looks very\r
54 useful. Thank you to all those who have participated in implementing\r
55 it. I have a couple of questions:\r
56 \r
57 1. How do others add some 'automatic' tagging of new messages? At the\r
58    moment I'm using a script[1] which tags messages after running\r
59    `notmuch new`. This passes over the same data multiple times, which\r
60    seems wasteful but may be inevitable. Combined with a small amount of\r
61    lisp...\r
62 \r
63    (setq notmuch-folder-list '("mine" "inbox" "rss" "unread"\r
64                      "os-xen" "os-discuss" "os-laptop" "os-network"\r
65                      "xen-changelog" "xen-devel" "xen-users"\r
66                      "list/fork" "list/interesting-people" "list/sun-alumni" "list/notmuch"))\r
67    (setq notmuch-folders (mapcar\r
68          '(lambda (f) (cons f (concat "tag:" f " AND tag:unread")))\r
69          notmuch-folder-list))\r
70 \r
71    ...things mostly work out.\r
72 \r
73 2. Sometimes it's useful to use another computer. Having the Maildir\r
74    folders duplicated there is simple (already using offlineimap), as is\r
75    building the search database. Missing are the tags, particularly if\r
76    they were hand applied. So far my (unimplemented) solution for this\r
77    is to dump/restore the tags and store the dump under version\r
78    control. Moving from one computer to another (which I don't do very\r
79    often) would involve:\r
80          a$ notmuch dump >tags\r
81          a$ git commit tags\r
82          a$ git push\r
83          b$ git pull\r
84          b$ notmuch restore tags\r
85    With appropriate amounts of conflict resolution should I update the\r
86    tags on both a and b.\r
87 \r
88    What does everyone else do about this?\r
89 \r
90 Footnotes: \r
91 [1]  http://dme.org/tmp/run-notmuch\r
92 \r
93 dme.\r
94 -- \r
95 David Edmondson, http://dme.org\r