Re: [PATCH v4 01/16] add util/search-path.{c, h} to test for executables in $PATH
[notmuch-archives.git] / c0 / d7d7dea723b35d0d222770443b1773a3a660f4
1 Return-Path: <wking@tremily.us>\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 5001B6DE0AF8\r
6  for <notmuch@notmuchmail.org>; Sat, 13 Feb 2016 14:02:57 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.008\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.008 tagged_above=-999 required=5 tests=[AWL=0.109, \r
12  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13  RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=disabled\r
14 Received: from arlo.cworth.org ([127.0.0.1])\r
15  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
16  with ESMTP id Ot-AcNZGzlaL for <notmuch@notmuchmail.org>;\r
17  Sat, 13 Feb 2016 14:02:54 -0800 (PST)\r
18 Received: from resqmta-po-12v.sys.comcast.net (resqmta-po-12v.sys.comcast.net\r
19  [96.114.154.171])\r
20  by arlo.cworth.org (Postfix) with ESMTPS id EDC9C6DE0A9A\r
21  for <notmuch@notmuchmail.org>; Sat, 13 Feb 2016 14:02:53 -0800 (PST)\r
22 Received: from resomta-po-11v.sys.comcast.net ([96.114.154.235])\r
23  by resqmta-po-12v.sys.comcast.net with comcast\r
24  id Hy2L1s00554zqzk01y2rlW; Sat, 13 Feb 2016 22:02:51 +0000\r
25 Received: from mail.tremily.us ([73.221.72.168])\r
26  by resomta-po-11v.sys.comcast.net with comcast\r
27  id Hy2q1s00D3dr3C901y2qn5; Sat, 13 Feb 2016 22:02:51 +0000\r
28 Received: by mail.tremily.us (Postfix, from userid 1000)\r
29  id 3E4911BB13C0; Sat, 13 Feb 2016 14:02:50 -0800 (PST)\r
30 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin;\r
31  t=1455400970; bh=45wzIGEsdghEmA45XR9PqbKEntGVK8Ld7BMbVnLzaVw=;\r
32  h=Date:From:To:Cc:Subject:References:In-Reply-To;\r
33  b=CGxURpCiFB1Q0ms6syHl4isfPWC5qfmyp+2LePsO/Piod0fuCsJi0r4PbxC7WpIOK\r
34  g4c69wYVlhSU1wFFqWrZGw15pBYOoedSTGidkZh1t6Em/3HV6EIyI7DX0y4+2h3oy9\r
35  kPGflSTX8jS1eqHWHaoPHUCzky0YMMN8bUthGT60=\r
36 Date: Sat, 13 Feb 2016 14:02:50 -0800\r
37 From: "W. Trevor King" <wking@tremily.us>\r
38 To: David Bremner <david@tethera.net>\r
39 Cc: David Edmondson <dme@dme.org>, notmuch@notmuchmail.org\r
40 Subject: Re: nmbug in the Debian packages?\r
41 Message-ID: <20160213220250.GB4265@odin.tremily.us>\r
42 References: <cun37t5r91p.fsf@disaster-area.hh.sledj.net>\r
43  <87twlj8mix.fsf@maritornes.cs.unb.ca>\r
44  <20160208193804.GE4265@odin.tremily.us>\r
45  <87lh6o79vb.fsf@zancas.localnet>\r
46 MIME-Version: 1.0\r
47 Content-Type: multipart/signed; micalg=pgp-sha1;\r
48  protocol="application/pgp-signature"; boundary="i1dAbsF9+zgeqzLb"\r
49 Content-Disposition: inline\r
50 In-Reply-To: <87lh6o79vb.fsf@zancas.localnet>\r
51 OpenPGP: id=39A2F3FA2AB17E5D8764F388FC29BDCDF15F5BE8;\r
52  url=http://tremily.us/pubkey.txt\r
53 User-Agent: Mutt/1.5.23 (2014-03-12)\r
54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;\r
55  s=q20140121; t=1455400971;\r
56  bh=M7vqzfhmrVFOa4+fk9lEuEOnM6VNKNDTzPaEEgOMku0=;\r
57  h=Received:Received:Received:Date:From:To:Subject:Message-ID:\r
58  MIME-Version:Content-Type;\r
59  b=B9EMb7UZXMyWiJJAkCSTZcpgfnakaDJsZtlmbI2VVWLxDc45v61WdPXEq0PsRaw3Q\r
60  OacDJXx0FFMGYnCq5gsCucT4GrC0XHE48ynCQ0q0x9fKYZ0vixS4zyp1xmFhG8Qlr6\r
61  ZKwT2+5bvKAvESQhEV+KHhzgsLCQgMnjtcoITeRV6hMJYGUyujB0S2kom1XIFqC7mG\r
62  QeKs53ijXha6R4bJATPNm2UqfN6DrQoWalslQqKaf61ORkLTu0nm+O83yVN1rzd46H\r
63  fNecdd9GNXOxppV2UcEgYdzDa1Ky8/e0U2x7qtmKgQ9kjs3Ba383z6OLqdjLV7bYrX\r
64  3a/Uumd2oKFKQ==\r
65 X-BeenThere: notmuch@notmuchmail.org\r
66 X-Mailman-Version: 2.1.20\r
67 Precedence: list\r
68 List-Id: "Use and development of the notmuch mail system."\r
69  <notmuch.notmuchmail.org>\r
70 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
71  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
72 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
73 List-Post: <mailto:notmuch@notmuchmail.org>\r
74 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
75 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
76  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
77 X-List-Received-Date: Sat, 13 Feb 2016 22:02:57 -0000\r
78 \r
79 \r
80 --i1dAbsF9+zgeqzLb\r
81 Content-Type: text/plain; charset=utf-8\r
82 Content-Disposition: inline\r
83 Content-Transfer-Encoding: quoted-printable\r
84 \r
85 On Sat, Feb 13, 2016 at 02:17:44PM -0400, David Bremner wrote:\r
86 > > On Mon, Feb 08, 2016 at 07:33:10AM -0400, David Bremner wrote:\r
87 > >> We can include it in /usr/bin along and install a proper man page=E2=\r
88 =80=A6\r
89 > >\r
90 > > I'm happy to write up a man page.  Do you want it in a separate\r
91 > > directory from nmbug-status / notmuch-report [1]?  Do you want to\r
92 > > rename nmbug to something notmuch-* namespaced?\r
93 >\r
94 > I guess if we're going to treat it as a first class citizen, then\r
95 > yeah, it should be in the notmuch- namespace.\r
96 \r
97 I'd floated notmuch-dtag earlier [1].  Does that sound right?  Or do\r
98 folks prefer another name?\r
99 \r
100 > It would also need some tests.\r
101 \r
102 In tests/, or devel/dtag/tests?  If the latter, how should I handle\r
103 the test framework?  Symlinks to the main tests/?  Copies?  Sharness\r
104 submodule?  Other ideas?\r
105 \r
106 > I'm not sure how (or if) to address the problem that most notmuch\r
107 > commands are actually invoked via the main binary, but I don't think\r
108 > we have any logic to transform "notmuch foo" to a call to an\r
109 > external binary notmuch-foo.\r
110 \r
111 That seems like something that could be handled independently.  If\r
112 folks want to set it up, adjusting the !command handler in notmuch.c's\r
113 main() or adjusting find_command to fall back to =E2=80=9Cthis is probably =\r
114 an\r
115 external command=E2=80=9D seem doable.\r
116 \r
117 Cheers,\r
118 Trevor\r
119 \r
120 [1]: id:20151231202815.GL3680@odin.tremily.us\r
121      http://thread.gmane.org/gmane.mail.notmuch.general/21535/focus=3D21536\r
122 \r
123 --=20\r
124 This email may be signed or encrypted with GnuPG (http://www.gnupg.org).\r
125 For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy\r
126 \r
127 --i1dAbsF9+zgeqzLb\r
128 Content-Type: application/pgp-signature; name="signature.asc"\r
129 Content-Description: OpenPGP digital signature\r
130 \r
131 -----BEGIN PGP SIGNATURE-----\r
132 Version: GnuPG v2\r
133 \r
134 iQIcBAEBAgAGBQJWv6gGAAoJEAPqygegUbGsHtsP/RvYS0K8bnIRX3cc7bBrx83B\r
135 u/rHYcfs/HSC9TNm9V/QkbYhKWAeYxYdtaZa7UP4+fcP34yG4vwWeLtQPTU+vxtP\r
136 +daRqbCP5700AGW4JA7A343GWHUJFh++I528Lazpywvf0OQlk1xoX6g5gi6GoXJp\r
137 hhaJ51nl6QxuSylqvfWuUd9Qp5IWM0AY5ABWJcGKkMBrKROLy/pdCidC1zyZQWvg\r
138 SKuWSgD0GfmEcUp4DUZD8QNXBZt2CUPB4RPXJBAaKhuTPagKEAbBwF08Htd6yVOZ\r
139 DsnOVYGJtW25Fihzg8BOCW9nP2VX4ybMhZ4oWEBNG0p88+ann1hrkNM0N8hK7KgR\r
140 xn0tX32MA7WhDYIfB82nLIZa0ACyUccTVMeC06M1QM37yHfcr1ESb4CeHDUJ/2jf\r
141 TOPMFhHJ55A2/hwACLNba44IZp+N616t2i8udO8474ue/2MnkVqjLB6YewaC3YRU\r
142 6Bgi1H2yDdaowwmoTbc578p5JQvyn32dokOHWs4/5CpDplqlWBDmGheHQ4hGvDFl\r
143 JaTDE9Xh83qqUCF7j+NnD1A6OfG5gmmenoPYogJ9zAdf+sXSZUHTzOA3GpTkltXS\r
144 27QvD72s1T/ZaRvsIXD+keWAytGw9+G5i9FOEvWg9RRuWEP6VF6Es/o9l7kymd7e\r
145 rQQjEEMzH0Ww1RSFNhi3\r
146 =lGlO\r
147 -----END PGP SIGNATURE-----\r
148 \r
149 --i1dAbsF9+zgeqzLb--\r