Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 61 / 999db2ceca6de86ecdf0e6895c7d8509ab4d9e
1 Return-Path: <jani@nikula.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 1526C431FD0\r
6         for <notmuch@notmuchmail.org>; Thu,  9 Jan 2014 23:00:04 -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.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 W0njaXu2CUrY for <notmuch@notmuchmail.org>;\r
16         Thu,  9 Jan 2014 22:59:56 -0800 (PST)\r
17 Received: from mail-ea0-f172.google.com (mail-ea0-f172.google.com\r
18         [209.85.215.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 0F7A1429E35\r
21         for <notmuch@notmuchmail.org>; Thu,  9 Jan 2014 22:57:16 -0800 (PST)\r
22 Received: by mail-ea0-f172.google.com with SMTP id q10so1538629ead.31\r
23         for <notmuch@notmuchmail.org>; Thu, 09 Jan 2014 22:51:48 -0800 (PST)\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
25         d=1e100.net; s=20130820;\r
26         h=x-gm-message-state:from:to:cc:subject:date:message-id;\r
27         bh=WZ5G3IuyNPVQRRnej9T9uE9lwWDjyDHF6c1Lo2wvmkQ=;\r
28         b=UbmPiJyjpD13orTsWnDKorIebGG1YD9fp8+BMFp+EVwqMd6yIoMd2T7EFae8v6eNoH\r
29         szozY3/m76AnYotRxM9A/4wY8/P39i3qMvQCWdlM//8ef6zr3EzXhTlpVs7ozBbHf7qj\r
30         hnvxd6mK9U9/0+7lv5oCQNeR7kcvAg+OcpsDkBlh30sPTsigM/WUgCTq6XTOjrCk3PTX\r
31         1rzTFTqImFgbKLTc1yJYGPhmTiqkxOg31gTGZZkfMk66MnYv0Oa1ktpxSRxqihGyhq3o\r
32         XlDNVQtVRmvr2R++gqxWybE+PaLSKZLaVYsFwKU5XYGoRta9DQgGpy8s0xetGKhvbiB/\r
33         PNhg==\r
34 X-Gm-Message-State:\r
35  ALoCoQmFGHS4MmluOcgL1VM6ex2UGXrjsBuf5AXE8v1T/YHJ3AfIfyXDq6wGfmUKgVm/KzF5DEL4\r
36 X-Received: by 10.14.104.7 with SMTP id h7mr5472562eeg.95.1389305925969;\r
37         Thu, 09 Jan 2014 14:18:45 -0800 (PST)\r
38 Received: from localhost (dsl-hkibrasgw2-58c36f-91.dhcp.inet.fi.\r
39         [88.195.111.91])\r
40         by mx.google.com with ESMTPSA id a45sm9378933eem.6.2014.01.09.14.18.43\r
41         for <multiple recipients>\r
42         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
43         Thu, 09 Jan 2014 14:18:45 -0800 (PST)\r
44 From: Jani Nikula <jani@nikula.org>\r
45 To: notmuch@notmuchmail.org\r
46 Subject: [PATCH 0/5] lib: make folder: prefix literal\r
47 Date: Fri, 10 Jan 2014 00:18:31 +0200\r
48 Message-Id: <cover.1389304779.git.jani@nikula.org>\r
49 X-Mailer: git-send-email 1.8.5.2\r
50 X-BeenThere: notmuch@notmuchmail.org\r
51 X-Mailman-Version: 2.1.13\r
52 Precedence: list\r
53 List-Id: "Use and development of the notmuch mail system."\r
54         <notmuch.notmuchmail.org>\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
58 List-Post: <mailto:notmuch@notmuchmail.org>\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
62 X-List-Received-Date: Fri, 10 Jan 2014 07:00:04 -0000\r
63 \r
64 Hi all, this series makes the folder: search prefix literal, or switches\r
65 it from a probabilistic prefix to a boolean prefix. With this, you have\r
66 to give the path from the maildir root to the folder you want in full,\r
67 including the maildir cur/new component, if any. Examples:\r
68 \r
69 folder:cur\r
70 folder:foo/bar\r
71 folder:""\r
72 \r
73 The last one can be used to refer to the maildir root (note that in\r
74 shell you'll need quoting to pass the double quotes to xapian,\r
75 folder:'""').\r
76 \r
77 The old probabilistic folder: prefix is problematic in a number of\r
78 ways. It's not possible to refer to the maildir root. It does stemming,\r
79 so "inboxing" would match "inbox" too. "cur" for the folder in maildir\r
80 root would match all "cur" folders across the maildir hierarchy. Likely\r
81 some others I forgot.\r
82 \r
83 WARNING! The change requires a database format version bump, and a\r
84 database upgrade, which is automatically done on 'notmuch new'. The\r
85 upgrade is irreversible if you want to try this on your database! A\r
86 complete database rebuild is required for reverting the database format\r
87 version. Make sure your backups are in order!\r
88 \r
89 The series includes some tests, including an initial upgrade test, along\r
90 with a test database in the previous format version.\r
91 \r
92 \r
93 BR,\r
94 Jani.\r
95 \r
96 \r
97 \r
98 Jani Nikula (5):\r
99   lib: make folder: prefix literal\r
100   test: fix insert folder: searches\r
101   test: fix test for literal folder: search\r
102   test: add test database in format version 1\r
103   test: add database upgrade test from format version 1\r
104 \r
105  lib/database.cc                        |  39 ++++++++-\r
106  lib/message.cc                         | 154 +++++++++++++++++----------------\r
107  lib/notmuch-private.h                  |   3 +\r
108  test/insert                            |  10 +--\r
109  test/notmuch-test                      |   1 +\r
110  test/search-by-folder                  |  24 ++++-\r
111  test/test-databases/README             |   5 ++\r
112  test/test-databases/database-v1.tar.gz | Bin 0 -> 252243 bytes\r
113  test/upgrade                           |  25 ++++++\r
114  9 files changed, 174 insertions(+), 87 deletions(-)\r
115  create mode 100644 test/test-databases/README\r
116  create mode 100644 test/test-databases/database-v1.tar.gz\r
117  create mode 100755 test/upgrade\r
118 \r
119 -- \r
120 1.8.5.2\r
121 \r