1 Return-Path: <dkg@fifthhorseman.net>
\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 4C8456DE0A9A
\r
6 for <notmuch@notmuchmail.org>; Fri, 11 Dec 2015 20:10:25 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=-0.014 tagged_above=-999 required=5
\r
12 tests=[AWL=-0.014] 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 VCAIMLToXUaC for <notmuch@notmuchmail.org>;
\r
16 Fri, 11 Dec 2015 20:10:23 -0800 (PST)
\r
17 Received: from che.mayfirst.org (che.mayfirst.org [209.234.253.108])
\r
18 by arlo.cworth.org (Postfix) with ESMTP id 633F06DE005F
\r
19 for <notmuch@notmuchmail.org>; Fri, 11 Dec 2015 20:10:23 -0800 (PST)
\r
20 Received: from fifthhorseman.net (unknown [38.109.115.130])
\r
21 by che.mayfirst.org (Postfix) with ESMTPSA id 8EA42F984;
\r
22 Fri, 11 Dec 2015 23:10:19 -0500 (EST)
\r
23 Received: by fifthhorseman.net (Postfix, from userid 1000)
\r
24 id 19AB920001; Fri, 11 Dec 2015 23:10:19 -0500 (EST)
\r
25 From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
\r
26 To: "J. Lewis Muir" <jlmuir@imca-cat.org>,
\r
27 Notmuch Mail <notmuch@notmuchmail.org>
\r
28 Subject: Re: [PATCH 7/9] add a gpg_path value for notmuch_database_t
\r
29 In-Reply-To: <566B4FCE.30802@imca-cat.org>
\r
30 References: <1449718786-28000-1-git-send-email-dkg@fifthhorseman.net>
\r
31 <1449718786-28000-8-git-send-email-dkg@fifthhorseman.net>
\r
32 <566B4FCE.30802@imca-cat.org>
\r
33 User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/24.5.1
\r
34 (x86_64-pc-linux-gnu)
\r
35 Date: Fri, 11 Dec 2015 23:10:19 -0500
\r
36 Message-ID: <87h9jofgt0.fsf@alice.fifthhorseman.net>
\r
38 Content-Type: text/plain
\r
39 X-BeenThere: notmuch@notmuchmail.org
\r
40 X-Mailman-Version: 2.1.20
\r
42 List-Id: "Use and development of the notmuch mail system."
\r
43 <notmuch.notmuchmail.org>
\r
44 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,
\r
45 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
47 List-Post: <mailto:notmuch@notmuchmail.org>
\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
49 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
51 X-List-Received-Date: Sat, 12 Dec 2015 04:10:25 -0000
\r
53 On Fri 2015-12-11 17:35:58 -0500, J. Lewis Muir wrote:
\r
54 > I guess I still don't get it. Why even have a _find_in_path function?
\r
55 > Why not just expect the gpg executable path to have already been
\r
56 > specified somehow (e.g. Notmuch configuration file, build-time constant,
\r
57 > or environment variable)?
\r
59 This is happening in the library, which doesn't read the config file,
\r
60 and doesn't depend on the environment. if a user tells the library "use
\r
61 this as your gpg executable", it seems nice to fail early for them.
\r
63 It's also nice if we want to have a default that says something like
\r
64 "use gpg2 if it's available, but gpg otherwise".
\r