Re: [notmuch] [PATCH] Support multiple configuration files via $NOTMUCH_CONFIG

Subject: Re: [notmuch] [PATCH] Support multiple configuration files via $NOTMUCH_CONFIG

Date: Mon, 23 Nov 2009 03:08:58 +0100

To: Alec Berryman, notmuch@notmuchmail.org

Cc:

From: Carl Worth


On Sat, 21 Nov 2009 23:18:26 -0600, Alec Berryman <alec@thened.net> wrote:
> If present, $NOTMUCH_CONFIG will be used as the configuration file
> location.

Hi Alec, welcome to notmuch!

And thanks for this patch. I've pushed it now.

I need this quite often when setting up a new database for testing a
patch, for example. And I had an environment variable for the database
path once upon a time, before adding a configuration file. But I lost
that feature when adding the configuration file. So it's really nice to
have this functionality back again.

We should probably add support for "notmuch -f <config-filename>" as
well. I've noted that idea in the TODO file now, (which just keeps
growing somehow).

-Carl

Thread: