Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 66 / b978acd94b9ecba03868778d22579ff4ec2967
1 Return-Path: <bremner@tesseract.cs.unb.ca>\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 0E0D4431FC7\r
6         for <notmuch@notmuchmail.org>; Sun, 28 Sep 2014 11:28:57 -0700 (PDT)\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 MlSeJfCv7q4d for <notmuch@notmuchmail.org>;\r
16         Sun, 28 Sep 2014 11:28:53 -0700 (PDT)\r
17 Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])\r
18         (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 9A82D431FAE\r
21         for <notmuch@notmuchmail.org>; Sun, 28 Sep 2014 11:28:53 -0700 (PDT)\r
22 Received: from remotemail by yantan.tethera.net with local (Exim 4.80)\r
23         (envelope-from <bremner@tesseract.cs.unb.ca>) id 1XYJDD-0005fn-QG\r
24         for notmuch@notmuchmail.org; Sun, 28 Sep 2014 15:28:47 -0300\r
25 Received: (nullmailer pid 31273 invoked by uid 1000); Sun, 28 Sep 2014\r
26         18:28:41 -0000\r
27 From: David Bremner <david@tethera.net>\r
28 To: notmuch@notmuchmail.org\r
29 Subject: \r
30 Date: Sun, 28 Sep 2014 20:28:16 +0200\r
31 Message-Id: <1411928899-29625-1-git-send-email-david@tethera.net>\r
32 X-Mailer: git-send-email 2.1.0\r
33 In-Reply-To: <87iok8vog6.fsf@steelpick.2x.cz>\r
34 References: <87iok8vog6.fsf@steelpick.2x.cz>\r
35 X-BeenThere: notmuch@notmuchmail.org\r
36 X-Mailman-Version: 2.1.13\r
37 Precedence: list\r
38 List-Id: "Use and development of the notmuch mail system."\r
39         <notmuch.notmuchmail.org>\r
40 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
41         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
42 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
43 List-Post: <mailto:notmuch@notmuchmail.org>\r
44 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
45 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
47 X-List-Received-Date: Sun, 28 Sep 2014 18:28:57 -0000\r
48 \r
49 Here's one approach to keeping config information at the library\r
50 level.  IMHO, a key philosophical point is that this metadata is\r
51 associated with a database, not with the library.\r
52 \r
53 Having every key map to a distinct file is arguably not as nice for\r
54 humans to edit, but it avoids certain concurrency complications;\r
55 e.g. glib can atomically write a keyfile (like we use for\r
56 .notmuch-config), but that means e.g. the result of two concurrent\r
57 updates to different keys is not a valid serialization.\r
58 \r
59 It won't be very efficient for huge numbers of keys, but for keeping\r
60 some static metadata associated with a notmuch database, this should\r
61 work ok.\r
62 \r
63 In addition to needing some polishing (documentation? what\r
64 documentation?), this isn't actually used anywhere in notmuch.\r
65 \r