Re: [PATCH] test: test folder renames
[notmuch-archives.git] / c2 / 9afff7851f6d9c26e59c0325d8f0179dc1c475
1 Return-Path: <cworth@cworth.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 006B3431FBC\r
6         for <notmuch@notmuchmail.org>; Thu,  3 Dec 2009 14:27:07 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id xmfBq65oVEYH for <notmuch@notmuchmail.org>;\r
11         Thu,  3 Dec 2009 14:27:06 -0800 (PST)\r
12 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
13         by olra.theworths.org (Postfix) with ESMTP id 23F6F431FAE\r
14         for <notmuch@notmuchmail.org>; Thu,  3 Dec 2009 14:27:06 -0800 (PST)\r
15 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
16         id B99482542FB; Thu,  3 Dec 2009 14:27:05 -0800 (PST)\r
17 From: Carl Worth <cworth@cworth.org>\r
18 To: Notmuch list <notmuch@notmuchmail.org>\r
19 Date: Thu, 03 Dec 2009 14:27:05 -0800\r
20 Message-ID: <874oo7hex2.fsf@yoom.home.cworth.org>\r
21 MIME-Version: 1.0\r
22 Content-Type: multipart/signed; boundary="=-=-=";\r
23         micalg=pgp-sha1; protocol="application/pgp-signature"\r
24 Subject: [notmuch] Quick thoughts on a notmuch daemon\r
25 X-BeenThere: notmuch@notmuchmail.org\r
26 X-Mailman-Version: 2.1.12\r
27 Precedence: list\r
28 List-Id: "Use and development of the notmuch mail system."\r
29         <notmuch.notmuchmail.org>\r
30 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
31         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
32 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
33 List-Post: <mailto:notmuch@notmuchmail.org>\r
34 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
35 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
36         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
37 X-List-Received-Date: Thu, 03 Dec 2009 22:27:07 -0000\r
38 \r
39 --=-=-=\r
40 \r
41 Here's a little idea in case someone wants to write some code before I\r
42 get around to it.\r
43 \r
44 Two current problems:\r
45 \r
46   1. You can't read mail (updating tags, etc.) at the same time new mail\r
47      is being incorporated to the database. So if you have "notmuch new"\r
48      as a cron job, then you will sometimes see "failed to obtain write\r
49      lock" in emacs.\r
50 \r
51   2. Lots of people want to interact with a notmuch database on a remote\r
52      server, for obvious reasons.\r
53 \r
54 A simple solution would be a notmuch daemon that can accept commands on\r
55 stdin, (in basically the exact same form as the current notmuch\r
56 command-line interface). If the daemon does the job of periodically\r
57 incorporating new mail, then the only command necessary to solve (1)\r
58 above would be the tag command.\r
59 \r
60 But with the other commands in place, (such as search and show), then\r
61 this could operate over ssh and all that would be necessary is one\r
62 additional command not in the current command line, (for "give me this\r
63 file"). And then the client could just maintain a local cache of mail\r
64 files as needed.\r
65 \r
66 So that might be a nice project for somebody, and would likely be very\r
67 useful for many people.\r
68 \r
69 -Carl\r
70 \r
71 --=-=-=\r
72 Content-Type: application/pgp-signature\r
73 \r
74 -----BEGIN PGP SIGNATURE-----\r
75 Version: GnuPG v1.4.10 (GNU/Linux)\r
76 \r
77 iD8DBQFLGDs56JDdNq8qSWgRAsbzAKCUgls2BGlhNkM5yAMLi0N3s5xvegCeIOq3\r
78 l+cPVUCmjZIYSep6G2HToFg=\r
79 =48W1\r
80 -----END PGP SIGNATURE-----\r
81 --=-=-=--\r