From 86c8fdfd9ff863c3b48da64ce606502d99518a10 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Mon, 4 Mar 2013 12:32:31 +2000 Subject: [PATCH] Re: [PATCH 6/6] cli: add top level --config=FILE option --- 09/083edfa2843b3b02b79405774960fd3b100f7a | 68 +++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 09/083edfa2843b3b02b79405774960fd3b100f7a diff --git a/09/083edfa2843b3b02b79405774960fd3b100f7a b/09/083edfa2843b3b02b79405774960fd3b100f7a new file mode 100644 index 000000000..851b4c3cf --- /dev/null +++ b/09/083edfa2843b3b02b79405774960fd3b100f7a @@ -0,0 +1,68 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id F2808431FAF + for ; Sun, 3 Mar 2013 08:32:38 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id nCnHJlCs6P7o for ; + Sun, 3 Mar 2013 08:32:38 -0800 (PST) +Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 85021431FAE + for ; Sun, 3 Mar 2013 08:32:38 -0800 (PST) +Received: from fctnnbsc30w-156034082078.dhcp-dynamic.fibreop.nb.bellaliant.net + ([156.34.82.78] helo=zancas.localnet) + by tesseract.cs.unb.ca with esmtpsa + (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) + (envelope-from ) + id 1UCBq1-0000bW-4E; Sun, 03 Mar 2013 12:32:37 -0400 +Received: from bremner by zancas.localnet with local (Exim 4.80) + (envelope-from ) + id 1UCBpv-0001V8-GS; Sun, 03 Mar 2013 12:32:31 -0400 +From: David Bremner +To: Jani Nikula , notmuch@notmuchmail.org +Subject: Re: [PATCH 6/6] cli: add top level --config=FILE option +In-Reply-To: + <231895226338fb6b24eea0ffeef565992822aca8.1359495450.git.jani@nikula.org> +References: + <231895226338fb6b24eea0ffeef565992822aca8.1359495450.git.jani@nikula.org> +User-Agent: Notmuch/0.15.2+32~g16aa65b (http://notmuchmail.org) Emacs/24.2.1 + (x86_64-pc-linux-gnu) +Date: Sun, 03 Mar 2013 12:32:31 -0400 +Message-ID: <87vc98xx40.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain +X-Spam_bar: - +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sun, 03 Mar 2013 16:32:39 -0000 + +Jani Nikula writes: + +> Let the user specify the config file on the command line. +> +> - config = notmuch_config_open (local, NULL, command->create_config); +> + config = notmuch_config_open (local, config_file_name, command->create_config); +> if (!config) +> return 1; + +LGTM -- 2.26.2