Re: Hi all
[notmuch-archives.git] / 27 / a99431cf723008faa4bd6f910d5c850ddc1d42
1 Return-Path: <zack@upsilon.cc>\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 arlo.cworth.org (Postfix) with ESMTP id E13C46DE0274\r
6  for <notmuch@notmuchmail.org>; Fri,  1 May 2015 01:44:45 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.953\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.953 tagged_above=-999 required=5 tests=[AWL=1.605, \r
12  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13  RP_MATCHES_RCVD=-0.55, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001]\r
14  autolearn=disabled\r
15 Received: from arlo.cworth.org ([127.0.0.1])\r
16  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
17  with ESMTP id IbhFdylCGlmg for <notmuch@notmuchmail.org>;\r
18  Fri,  1 May 2015 01:44:43 -0700 (PDT)\r
19 X-Greylist: delayed 495 seconds by postgrey-1.35 at arlo;\r
20  Fri, 01 May 2015 01:44:42 PDT\r
21 Received: from upsilon.cc (upsilon.cc [178.32.142.91])\r
22  by arlo.cworth.org (Postfix) with ESMTP id A07056DE0140\r
23  for <notmuch@notmuchmail.org>; Fri,  1 May 2015 01:44:42 -0700 (PDT)\r
24 Received: from timira.takhisis.invalid (unknown [78.194.69.54])\r
25  by upsilon.cc (Postfix) with ESMTPSA id 588921018C;\r
26  Fri,  1 May 2015 10:36:24 +0200 (CEST)\r
27 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=upsilon.cc; s=mail;\r
28  t=1430469384; bh=agfY/KhuKg2+3WU3t5rQ2gzM2dc93QAMep/X3Ke4mtE=;\r
29  h=Date:From:To:Cc:Subject:References:In-Reply-To:From;\r
30  b=XHHIS1Pm3Nv2Rzj0y3dA+21dyIQEn4JQqWwSp4V1XVH1jKjYUU6L3VLrBMVIZGUXn\r
31  AdXkBxqfDY5dm8Sn7Un6CcQdBVQfcKOQT8l8A5uhP31P002NTqnsNuWgTfA560vkp0\r
32  Rg329gZlRKBHJpNJeyFZ5AWIpTjl0nX7MYytgjok=\r
33 Received: by timira.takhisis.invalid (Postfix, from userid 1000)\r
34  id 08E8D60131; Fri,  1 May 2015 10:36:24 +0200 (CEST)\r
35 Date: Fri, 1 May 2015 10:36:24 +0200\r
36 From: Stefano Zacchiroli <zack@upsilon.cc>\r
37 To: Jack Peirce <JPeirce@sourcecode.com>\r
38 Subject: Re: notmuch-mutt BSD compatibility\r
39 Message-ID: <20150501083623.GA6796@upsilon.cc>\r
40 References: <20150501052438.GA19579@ganesh.Home>\r
41 MIME-Version: 1.0\r
42 Content-Type: multipart/signed; micalg=pgp-sha256;\r
43  protocol="application/pgp-signature"; boundary="MW5yreqqjyrRcusr"\r
44 Content-Disposition: inline\r
45 In-Reply-To: <20150501052438.GA19579@ganesh.Home>\r
46 User-Agent: Mutt/1.5.23 (2014-03-12)\r
47 Cc: "notmuch@notmuchmail.org" <notmuch@notmuchmail.org>\r
48 X-BeenThere: notmuch@notmuchmail.org\r
49 X-Mailman-Version: 2.1.18\r
50 Precedence: list\r
51 List-Id: "Use and development of the notmuch mail system."\r
52  <notmuch.notmuchmail.org>\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
54  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
56 List-Post: <mailto:notmuch@notmuchmail.org>\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
59  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
60 X-List-Received-Date: Fri, 01 May 2015 08:44:46 -0000\r
61 \r
62 \r
63 --MW5yreqqjyrRcusr\r
64 Content-Type: multipart/mixed; boundary="3V7upXqbjpZ4EhLz"\r
65 Content-Disposition: inline\r
66 \r
67 \r
68 --3V7upXqbjpZ4EhLz\r
69 Content-Type: text/plain; charset=iso-8859-1\r
70 Content-Disposition: inline\r
71 Content-Transfer-Encoding: quoted-printable\r
72 \r
73 On Fri, May 01, 2015 at 05:24:39AM +0000, Jack Peirce wrote:\r
74 > Some of the flags used in the notmuch-mutt script included in the\r
75 > contrib directory are not supported by the OpenBSD implementation of\r
76 > ln and xargs.\r
77 \r
78 I wasn't aware of that, so thanks for spotting it and for your patch.\r
79 \r
80 The patch looks good to me. I've also tested on my GNU/Linux machine and\r
81 it works fine.\r
82 \r
83 David, please consider the attached (format-)patch for inclusion into\r
84 the upcoming release of Notmuch.\r
85 \r
86 Cheers.\r
87 --=20\r
88 Stefano Zacchiroli  . . . . . . .  zack@upsilon.cc . . . . o . . . o . o\r
89 Ma=EEtre de conf=E9rences . . . . . http://upsilon.cc/zack . . . o . . . o o\r
90 Former Debian Project Leader  . . @zack on identi.ca . . o o o . . . o .\r
91 =AB the first rule of tautology club is the first rule of tautology club =BB\r
92 \r
93 --3V7upXqbjpZ4EhLz\r
94 Content-Type: text/x-diff; charset=us-ascii\r
95 Content-Disposition: attachment; filename="0001-notmuch-mutt-fix-xargs-ln-usage-for-OpenBSD-compatib.patch"\r
96 Content-Transfer-Encoding: quoted-printable\r
97 \r
98 =46rom 8641b7bc815d3a50a25069018faeb773b30499f2 Mon Sep 17 00:00:00 2001\r
99 =46rom: Jack Peirce <JPeirce@sourcecode.com>\r
100 Date: Fri, 1 May 2015 10:32:05 +0200\r
101 Subject: [PATCH] notmuch-mutt: fix xargs/ln usage for OpenBSD compatibility\r
102 \r
103 - xargs: use -r flag instead of --no-run-if-empty\r
104 - ln: use -I flag/3rd form of ln command instead of -t flag/4th form\r
105 \r
106 Signed-off-by: Stefano Zacchiroli <zack@upsilon.cc>\r
107 ---\r
108  contrib/notmuch-mutt/notmuch-mutt | 2 +-\r
109  1 file changed, 1 insertion(+), 1 deletion(-)\r
110 \r
111 diff --git a/contrib/notmuch-mutt/notmuch-mutt b/contrib/notmuch-mutt/notmu=\r
112 ch-mutt\r
113 index 126cbf4..b47b365 100755\r
114 --- a/contrib/notmuch-mutt/notmuch-mutt\r
115 +++ b/contrib/notmuch-mutt/notmuch-mutt\r
116 @@ -50,7 +50,7 @@ sub search($$$) {\r
117      empty_maildir($maildir);\r
118      system("notmuch search --output=3Dfiles $dup_option $query"\r
119            . " | sed -e 's: :\\\\ :g'"\r
120 -          . " | xargs --no-run-if-empty ln -s -t $maildir/cur/");\r
121 +          . " | xargs -r -I searchoutput ln -s searchoutput $maildir/cur/");\r
122  }\r
123 =20\r
124  sub prompt($$) {\r
125 --=20\r
126 2.1.4\r
127 \r
128 \r
129 --3V7upXqbjpZ4EhLz--\r
130 \r
131 --MW5yreqqjyrRcusr\r
132 Content-Type: application/pgp-signature; name="signature.asc"\r
133 Content-Description: Digital signature\r
134 \r
135 -----BEGIN PGP SIGNATURE-----\r
136 Version: GnuPG v1\r
137 \r
138 iQIVAwUBVUM7B5wxUDxthmOWAQhK8g//cjDelVZDI/N+eXBcVsTm6lAzfZkqOCeV\r
139 20s8rPvdShvNZmT3P1w9JZu5waOZAzW2w3pP85PSiiO6KVmtaJespfrMBjgfrW3F\r
140 AsrEMtpYvmsAvITrho5oHngoVDKOMezS6p3JkeqvGR3+sabABm5/sqVkdMKVRaJD\r
141 ahcTOqwi5UYecPGizkk0tvR1jRwsuLt8EuRootc6CH2S88Y+4yoEwSZE1BbylUUM\r
142 d3Y1x1hlB6hiezOTaf48YPP6qS1b5Zc9FS0J6zZaQmekurvm+S47OahB4Dyj9Pa2\r
143 19wu1UHEAqit+ImEkkbSS/xt99HGHnjNZJJAFvJwhAyh1kZ/sHvXHLsAxnsl6Et1\r
144 /yZzSNDDo3YqvMlILS6CyqIzdkPmQYoLxW9+aIDTfhQntCDwvd1qOsHuaqs5MBNG\r
145 G1wF1sA6/POGV8iTS9Mr3p99ChArYTlRDLz9AIZ8Elb60/QmmhUnwFg3940q8030\r
146 DqLqMNUweK948muVW/Nh+irRY6XEZl48JSTqNdWR0dRytpoaBKPR/l4I9E/AhVK8\r
147 g/d0JPJ+KNeW4Qk+n08TnFDd94PU3asreGcUtN0YUJLcBWjTl/F5Nt6SGnTK8ZRP\r
148 ZhLZ2C1OcZnJCybfitehwA4aCxRe5eEYY42y9YKuUhDntYAxK29ARDdXTtGh2TL5\r
149 aLXtW1WMXfg=\r
150 =AYZr\r
151 -----END PGP SIGNATURE-----\r
152 \r
153 --MW5yreqqjyrRcusr--\r