Re: Hi all
[notmuch-archives.git] / 39 / e2f4658d1c7c72f71563daa4f21b5bda87f349
1 Return-Path: <tomi.ollila@iki.fi>\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 069556DE0B22\r
6  for <notmuch@notmuchmail.org>; Sat,  2 May 2015 01:37:33 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 1.107\r
10 X-Spam-Level: *\r
11 X-Spam-Status: No, score=1.107 tagged_above=-999 required=5 tests=[AWL=0.455, \r
12  SPF_NEUTRAL=0.652] autolearn=disabled\r
13 Received: from arlo.cworth.org ([127.0.0.1])\r
14  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
15  with ESMTP id AoJF-Cq4mmrb for <notmuch@notmuchmail.org>;\r
16  Sat,  2 May 2015 01:37:30 -0700 (PDT)\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
18  by arlo.cworth.org (Postfix) with ESMTP id 5F2A16DE09ED\r
19  for <notmuch@notmuchmail.org>; Sat,  2 May 2015 01:37:29 -0700 (PDT)\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
21  by guru.guru-group.fi (Postfix) with ESMTP id ACDFC10005A;\r
22  Sat,  2 May 2015 11:37:03 +0300 (EEST)\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>\r
24 To: Stefano Zacchiroli <zack@upsilon.cc>, Jack Peirce <JPeirce@sourcecode.com>\r
25 Subject: Re: notmuch-mutt BSD compatibility\r
26 In-Reply-To: <20150501083623.GA6796@upsilon.cc>\r
27 References: <20150501052438.GA19579@ganesh.Home>\r
28  <20150501083623.GA6796@upsilon.cc>\r
29 User-Agent: Notmuch/0.19+109~ge80275e (http://notmuchmail.org) Emacs/24.3.1\r
30  (x86_64-unknown-linux-gnu)\r
31 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
32  $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
33  !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
34 Date: Sat, 02 May 2015 11:37:02 +0300\r
35 Message-ID: <m2pp6j74up.fsf@guru.guru-group.fi>\r
36 MIME-Version: 1.0\r
37 Content-Type: text/plain; charset=utf-8\r
38 Content-Transfer-Encoding: quoted-printable\r
39 Cc: "notmuch@notmuchmail.org" <notmuch@notmuchmail.org>\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.18\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44  <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Sat, 02 May 2015 08:37:33 -0000\r
53 \r
54 On Fri, May 01 2015, Stefano Zacchiroli <zack@upsilon.cc> wrote:\r
55 \r
56 > On Fri, May 01, 2015 at 05:24:39AM +0000, Jack Peirce wrote:\r
57 >> Some of the flags used in the notmuch-mutt script included in the\r
58 >> contrib directory are not supported by the OpenBSD implementation of\r
59 >> ln and xargs.\r
60 >\r
61 > I wasn't aware of that, so thanks for spotting it and for your patch.\r
62 >\r
63 > The patch looks good to me. I've also tested on my GNU/Linux machine and\r
64 > it works fine.\r
65 >\r
66 > David, please consider the attached (format-)patch for inclusion into\r
67 > the upcoming release of Notmuch.\r
68 \r
69 This change LGTM.\r
70 \r
71 Tomi\r
72 \r
73 >\r
74 > Cheers.\r
75 > --=20\r
76 > Stefano Zacchiroli  . . . . . . .  zack@upsilon.cc . . . . o . . . o . o\r
77 > Ma=C3=AEtre de conf=C3=A9rences . . . . . http://upsilon.cc/zack . . . o =\r
78 . . . o o\r
79 > Former Debian Project Leader  . . @zack on identi.ca . . o o o . . . o .\r
80 > =C2=AB the first rule of tautology club is the first rule of tautology cl=\r
81 ub =C2=BB\r
82 > From 8641b7bc815d3a50a25069018faeb773b30499f2 Mon Sep 17 00:00:00 2001\r
83 > From: Jack Peirce <JPeirce@sourcecode.com>\r
84 > Date: Fri, 1 May 2015 10:32:05 +0200\r
85 > Subject: [PATCH] notmuch-mutt: fix xargs/ln usage for OpenBSD compatibili=\r
86 ty\r
87 >\r
88 > - xargs: use -r flag instead of --no-run-if-empty\r
89 > - ln: use -I flag/3rd form of ln command instead of -t flag/4th form\r
90 >\r
91 > Signed-off-by: Stefano Zacchiroli <zack@upsilon.cc>\r
92 > ---\r
93 >  contrib/notmuch-mutt/notmuch-mutt | 2 +-\r
94 >  1 file changed, 1 insertion(+), 1 deletion(-)\r
95 >\r
96 > diff --git a/contrib/notmuch-mutt/notmuch-mutt b/contrib/notmuch-mutt/not=\r
97 much-mutt\r
98 > index 126cbf4..b47b365 100755\r
99 > --- a/contrib/notmuch-mutt/notmuch-mutt\r
100 > +++ b/contrib/notmuch-mutt/notmuch-mutt\r
101 > @@ -50,7 +50,7 @@ sub search($$$) {\r
102 >      empty_maildir($maildir);\r
103 >      system("notmuch search --output=3Dfiles $dup_option $query"\r
104 >          . " | sed -e 's: :\\\\ :g'"\r
105 > -        . " | xargs --no-run-if-empty ln -s -t $maildir/cur/");\r
106 > +        . " | xargs -r -I searchoutput ln -s searchoutput $maildir/cur/");\r
107 >  }\r
108 >=20=20\r
109 >  sub prompt($$) {\r
110 > --=20\r
111 > 2.1.4\r
112 >\r
113 > _______________________________________________\r
114 > notmuch mailing list\r
115 > notmuch@notmuchmail.org\r
116 > http://notmuchmail.org/mailman/listinfo/notmuch\r