Re: [DRAFT PATCH] emacs: notmuch-version and version comparison with CLI
[notmuch-archives.git] / 10 / 3181584ccb468ac5748f93ebc67ccbc5ace454
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 DB57F4196F0\r
6         for <notmuch@notmuchmail.org>; Fri,  4 Jun 2010 17:32:54 -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: -2.89\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5\r
12         tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01]\r
13         autolearn=ham\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id hEbqxRT8Mq-Y for <notmuch@notmuchmail.org>;\r
17         Fri,  4 Jun 2010 17:32:44 -0700 (PDT)\r
18 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
19         by olra.theworths.org (Postfix) with ESMTP id 5C6CF431FC1\r
20         for <notmuch@notmuchmail.org>; Fri,  4 Jun 2010 17:32:44 -0700 (PDT)\r
21 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
22         id 03A04568F52; Fri,  4 Jun 2010 17:32:44 -0700 (PDT)\r
23 From: Carl Worth <cworth@cworth.org>\r
24 To: notmuch@notmuchmail.org\r
25 Subject: My repository is moving once again...\r
26 User-Agent: Notmuch/0.3.1-53-gd64d0cc (http://notmuchmail.org) Emacs/23.1.1\r
27         (i486-pc-linux-gnu)\r
28 Date: Fri, 04 Jun 2010 17:32:43 -0700\r
29 Message-ID: <87typiz5ck.fsf@yoom.home.cworth.org>\r
30 MIME-Version: 1.0\r
31 Content-Type: multipart/signed; boundary="=-=-=";\r
32         micalg=pgp-sha1; protocol="application/pgp-signature"\r
33 X-BeenThere: notmuch@notmuchmail.org\r
34 X-Mailman-Version: 2.1.13\r
35 Precedence: list\r
36 List-Id: "Use and development of the notmuch mail system."\r
37         <notmuch.notmuchmail.org>\r
38 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
39         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
40 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
41 List-Post: <mailto:notmuch@notmuchmail.org>\r
42 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
43 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
45 X-List-Received-Date: Sat, 05 Jun 2010 00:32:55 -0000\r
46 \r
47 --=-=-=\r
48 Content-Transfer-Encoding: quoted-printable\r
49 \r
50 After a (much-too-long) hiatus, I just pushed a batch of changes to my\r
51 notmuch repository.\r
52 \r
53 This includes the several changes that I recently reviewed on the\r
54 mailing list and said that I had committed locally and would push soon.\r
55 \r
56 Additionally, I've pushed a few of bug fixes as follows:\r
57 \r
58   * Fix to never add a partially complete message to the database.\r
59 \r
60     Various interruptions to notmuch processing, (perhaps other bugs\r
61     described below) would leave a half-complete message in the\r
62     database. And later runs of notmuch would trip and fall over on this\r
63     half-complete message. Thanks to a suggestion from Olly, notmuch now\r
64     never adds the partial documents to the database so this problem\r
65     should be avoided entirely.\r
66 \r
67   * Fix for really long message ID values.\r
68 \r
69     Scott mentioned various Xapian exceptions and notmuch internal\r
70     errors that occurred after trying to add a message with a 300+\r
71     character message ID. I've fixed this to now be handled well, (with\r
72     new tests in the test suite to handle 512-character message IDs).\r
73 \r
74   * Make things easier after "make install" (for Linux at least)\r
75 \r
76     On Linux systems, the configure script will now identify the various\r
77     paths supported by ldconfig (such as /usr/local/lib). Then, if the\r
78     prefix is to one of these places (such as /usr/local/), make install\r
79     will run ldconfig automatically. This will allow some people to be\r
80     able to more easily run notmuch immediately after installing.\r
81 \r
82     Similarly, if the notmuch library is installed to some non-system\r
83     directory, (such as --prefix=3D${HOME}/foo), then the final link of\r
84     the shared binary will include a DT_RUNPATH entry to the directory\r
85     in which the library is installed. This will also allow the notmuch\r
86     binary to work immediately after "make install" without the user\r
87     needing to set the LD_LIBRARY_PATH variable.\r
88 \r
89 I implemented this last piece only on Linux. I think OS X doesn't need\r
90 additional support for this since linking binaries against libraries\r
91 might automatically encode the paths, (though I haven't tested). I also\r
92 haven't investigated what might be the right thing to do for Solaris,\r
93 (it's probably not all that different than what I did for Linux).\r
94 \r
95 So if anybody wants to put together similar patches as needed for their\r
96 favorite platforms, then that would be great.\r
97 \r
98 =2DCarl\r
99 \r
100 =2D-=20\r
101 carl.d.worth@intel.com\r
102 \r
103 --=-=-=\r
104 Content-Type: application/pgp-signature\r
105 \r
106 -----BEGIN PGP SIGNATURE-----\r
107 Version: GnuPG v1.4.10 (GNU/Linux)\r
108 \r
109 iD8DBQFMCZsr6JDdNq8qSWgRAh98AJ96OwXHjtQnEXfrZSYhRM4vGIakwgCeLBs0\r
110 mSA9A6sJZKBIIHyKyfFRuMI=\r
111 =Ge8m\r
112 -----END PGP SIGNATURE-----\r
113 --=-=-=--\r