Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 64 / 42ae0163a455cf56d699a76c554ec8cdfcebbf
1 Return-Path: <sojkam1@fel.cvut.cz>\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 8E5DB431FD0\r
6         for <notmuch@notmuchmail.org>; Tue, 25 Jan 2011 02:00:32 -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\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\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 vkdFp-b9NR7S for <notmuch@notmuchmail.org>;\r
16         Tue, 25 Jan 2011 02:00:31 -0800 (PST)\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
18         by olra.theworths.org (Postfix) with ESMTP id AA809431FB6\r
19         for <notmuch@notmuchmail.org>; Tue, 25 Jan 2011 02:00:31 -0800 (PST)\r
20 Received: from localhost (unknown [192.168.200.4])\r
21         by max.feld.cvut.cz (Postfix) with ESMTP id AC5D319F32FC;\r
22         Tue, 25 Jan 2011 11:00:30 +0100 (CET)\r
23 X-Virus-Scanned: IMAP AMAVIS\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])\r
25         by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,\r
26         port 10044)\r
27         with ESMTP id Am6hLRAHj96t; Tue, 25 Jan 2011 11:00:29 +0100 (CET)\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
29         by max.feld.cvut.cz (Postfix) with ESMTP id 6254619F3312;\r
30         Tue, 25 Jan 2011 11:00:29 +0100 (CET)\r
31 Received: from steelpick.2x.cz (note-sojka.felk.cvut.cz [147.32.86.30])\r
32         (Authenticated sender: sojkam1)\r
33         by imap.feld.cvut.cz (Postfix) with ESMTPSA id 85EE515C031;\r
34         Tue, 25 Jan 2011 11:00:27 +0100 (CET)\r
35 Received: from wsh by steelpick.2x.cz with local (Exim 4.72)\r
36         (envelope-from <sojkam1@fel.cvut.cz>)\r
37         id 1PhfhL-0004zC-O1; Tue, 25 Jan 2011 11:00:27 +0100\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>\r
39 To: David Mazieres expires 2011-02-24 PST\r
40         <mazieres-468jumwyp2ei6jwxn8m5vrkyja@temporary-address.scs.stanford.edu>,\r
41         notmuch@notmuchmail.org\r
42 Subject: Re: Tag timestamps and synchronization\r
43 In-Reply-To: <x78vyanmnb.wl@ta.scs.stanford.edu>\r
44 References: <x78vyanmnb.wl@ta.scs.stanford.edu>\r
45 User-Agent: Notmuch/0.5-87-g9705d00 (http://notmuchmail.org) Emacs/23.2.1\r
46         (x86_64-pc-linux-gnu)\r
47 Date: Tue, 25 Jan 2011 11:00:27 +0100\r
48 Message-ID: <87lj29i9qc.fsf@steelpick.2x.cz>\r
49 MIME-Version: 1.0\r
50 Content-Type: text/plain; charset=us-ascii\r
51 X-BeenThere: notmuch@notmuchmail.org\r
52 X-Mailman-Version: 2.1.13\r
53 Precedence: list\r
54 List-Id: "Use and development of the notmuch mail system."\r
55         <notmuch.notmuchmail.org>\r
56 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
58 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
59 List-Post: <mailto:notmuch@notmuchmail.org>\r
60 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
61 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
62         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
63 X-List-Received-Date: Tue, 25 Jan 2011 10:00:32 -0000\r
64 \r
65 On Mon, 24 Jan 2011, dm-list-email-notmuch@scs.stanford.edu wrote:\r
66 > One of the features I would like to see from notmuch is an easier\r
67 > ability to synchronize tags across machines.  At the very least, I\r
68 > would need either incremental dump and restore, or some way to\r
69 > communicate arbitrary tags to a local imap server that shares\r
70 > notmuch's maildir (much as notmuch currently syncs the standard tags),\r
71 > so that I synchronize two maildirs with a tool like offlineimap.\r
72 \r
73 [...]\r
74 \r
75 > In the case of dovecot, the arbitrary tag format is very simple.  Each\r
76 > maildir has a file called dovecot-keywords mapping numbers 0, 1,\r
77 > ... to keywords.  Then mail file names contain lower-case letters for\r
78 > the flags they are marked with--0 => a, 1 => b, etc.--allowing up to\r
79 > 26 arbitrary tags for each maildir.  One could probably sync to\r
80 > dovecot's maildir format relatively easily in a script given\r
81 > incremental dump and restore of tags.  Or possibly notmuch could\r
82 > natively support dovecot as one of multiple back-end tag storage\r
83 > schemes.\r
84 \r
85 Hi David,\r
86 \r
87 here is my idea of solving the problem of synchronizing tags and all\r
88 message metadata. The problem, it seems, is that every program uses a\r
89 different format for message metadata. Maybe, it would be useful to\r
90 define a simple metadata format that could be used by multiple programs\r
91 (at least by notmuch, dovecot and maybe mutt) and base the\r
92 synchronization on this format. Currently, I'm thinking about a separate\r
93 file with the same base name as the message storing message metadata in\r
94 the same format as message headers so it could look like:\r
95 \r
96 tag: inbox\r
97 tag: notmuch\r
98 timestamp: 2011-01-25 10:48:00 GMT\r
99 spam: no\r
100 ...\r
101 \r
102 Then, any program could do whatever it wants with the metadata, e.g.\r
103 index them in a database etc.\r
104 \r
105 In the ideal it would work like this: Dovecot would store the metadata\r
106 in a file like described above. IMAP protocol would be extended to be\r
107 able to send such metadata corresponding to a particular UID.\r
108 offlineimap would be able to retrieve (and synchronize) the metadata\r
109 files with the IMAP server and notmuch would index the metadata\r
110 similarly as it index messages and would modify them when it change\r
111 tags.\r
112 \r
113 What do you (and others) think? Is this too wild? Too longterm?\r
114 \r
115 Cheers\r
116 Michal\r
117  \r