Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 5d / 0b7d99b4885a46d21b163b9bd1bbf6640e291d
1 Return-Path: <teythoon@jade-hamburg.de>\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 18411431FAF\r
6         for <notmuch@notmuchmail.org>; Mon,  8 Jul 2013 23:42:13 -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.001\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.001 tagged_above=-999 required=5\r
12         tests=[UNPARSEABLE_RELAY=0.001] 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 tTAnCYOK8dDK for <notmuch@notmuchmail.org>;\r
16         Mon,  8 Jul 2013 23:42:04 -0700 (PDT)\r
17 Received: from mail.cryptobitch.de (cryptobitch.de [88.198.7.68])\r
18         (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id ABC77431FAE\r
21         for <notmuch@notmuchmail.org>; Mon,  8 Jul 2013 23:42:04 -0700 (PDT)\r
22 Received: from mail.jade-hamburg.de (mail.jade-hamburg.de [85.183.11.228])\r
23         (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
24         (No client certificate requested)\r
25         by mail.cryptobitch.de (Postfix) with ESMTPSA id A9B1261B068\r
26         for <notmuch@notmuchmail.org>; Tue,  9 Jul 2013 08:42:02 +0200 (CEST)\r
27 Received: by mail.jade-hamburg.de (Postfix, from userid 401)\r
28         id 0F27FDF2A4; Tue,  9 Jul 2013 08:42:01 +0200 (CEST)\r
29 Received: from thinkbox.jade-hamburg.de (unknown\r
30         [IPv6:fe80::216:d3ff:fe3e:5058%br0])\r
31         (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
32         (No client certificate requested) (Authenticated sender: teythoon)\r
33         by mail.jade-hamburg.de (Postfix) with ESMTPSA id 52A40DF29F;\r
34         Tue,  9 Jul 2013 08:41:56 +0200 (CEST)\r
35 Received: from teythoon by thinkbox.jade-hamburg.de with local (Exim 4.80)\r
36         (envelope-from <teythoon@thinkbox.jade-hamburg.de>)\r
37         id 1UwRcZ-0007Ky-LG; Tue, 09 Jul 2013 08:41:55 +0200\r
38 Content-Type: text/plain; charset="utf-8"\r
39 MIME-Version: 1.0\r
40 Content-Transfer-Encoding: quoted-printable\r
41 To: Tomi Ollila <tomi.ollila@iki.fi>, \r
42 From: Justus Winter <4winter@informatik.uni-hamburg.de>\r
43 In-Reply-To: <m2ppuvq3iv.fsf@guru.guru-group.fi>\r
44 References: <1372171016-11935-1-git-send-email-tomi.ollila@iki.fi>\r
45         <20130625152159.17799.36764@thinkbox.jade-hamburg.de>\r
46         <m2ppuvq3iv.fsf@guru.guru-group.fi>\r
47 Message-ID: <20130709064155.26399.23139@thinkbox.jade-hamburg.de>\r
48 User-Agent: alot/0.3.4\r
49 Subject: Re: [RFC PATCH] Python bindings: CDLL("libnotmuch.3.dylib") on Darwin\r
50 Date: Tue, 09 Jul 2013 08:41:55 +0200\r
51 Cc: , notmuch mailing list <notmuch@notmuchmail.org>\r
52 X-BeenThere: notmuch@notmuchmail.org\r
53 X-Mailman-Version: 2.1.13\r
54 Precedence: list\r
55 List-Id: "Use and development of the notmuch mail system."\r
56         <notmuch.notmuchmail.org>\r
57 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
58         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
59 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
60 List-Post: <mailto:notmuch@notmuchmail.org>\r
61 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
62 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
63         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
64 X-List-Received-Date: Tue, 09 Jul 2013 06:42:13 -0000\r
65 \r
66 Quoting Tomi Ollila (2013-07-06 14:25:12)\r
67 > On Tue, Jun 25 2013, Justus Winter <4winter@informatik.uni-hamburg.de> wr=\r
68 ote:\r
69 > =\r
70 \r
71 > > Quoting Tomi Ollila (2013-06-25 16:36:56)\r
72 > >> Use os.uname() to check for 'Darwin' and load "libnotmuch.3.dylib"\r
73 > >> instead of "libnotmuch.so.3" if that is the case.\r
74 > >> ---\r
75 > >> =\r
76 \r
77 > >> This is followup to thread starting from\r
78 > >> =\r
79 \r
80 > >>   id:1369540418-94177-1-git-send-email-Julian@GrayVines.com\r
81 > >> =\r
82 \r
83 > >> For anyone interested: this is basically no-overhead addition as ctypes\r
84 > >> already loads os module (is "available" as ctypes._os) -- Comparison u=\r
85 sing\r
86 > >> strace(1) showed that uname system call is used in addition to other p=\r
87 rocessing.\r
88 > >> =\r
89 \r
90 > >> This patch is modeled after _lb_'s comments on IRC:\r
91 > >> =\r
92 \r
93 > >> < _lb_> nmlib =3D CDLL("libnotmuch.so.3") needs to be replaced with\r
94 > >>         nmlib =3D CDLL("libnotmuch.3.dylib") in OSX\r
95 > >> < _lb_> Works like a charm! Mmm... I'll have to subscribe to the list\r
96 > >>         to send the patch...\r
97 > >> < _lb_> I guess the quid of the question is to have an os detection\r
98 > >>         if so it loads the right lib?\r
99 > >> =\r
100 \r
101 > >> ... a few days ago, but the patch didn't arrive yet ;D\r
102 > >> =\r
103 \r
104 > >> I tested that this still works on Linux, but did not test on Mac OS X;\r
105 > >> also I did not think much how to handle the importing and the if test.\r
106 > >> =\r
107 \r
108 > >> Anyone using Mac care to take over -- you are probably more interested\r
109 > >> of getting this thing to work :D\r
110 > >\r
111 > > Looks good, though I'd prefer not to do the from..import\r
112 > > thing. os.uname is just as short and more concise, you can see where\r
113 > > the uname function comes from.\r
114 > >\r
115 > > If anyone on OSX confirms that this works I'll merge the patch.\r
116 > =\r
117 \r
118 > if you push id:1372171016-11935-1-git-send-email-tomi.ollila@iki.fi\r
119 > =\r
120 \r
121 > based on id:1372772667-sup-392@indy.local\r
122 > =\r
123 \r
124 > I'll make a NEWS entry and ask whether David includes this to 0.16\r
125 > ( id:87ip0rj7vn.fsf@zancas.localnet )\r
126 > =\r
127 \r
128 > (In a separate mail Steven Schmeiser told (when I asked) that he applied\r
129 > the patch verbatim on OS X 10.8)\r
130 \r
131 Done, and many thanks for keeping an eye on this.\r
132 \r
133 Justus\r