[notmuch] [PATCH 3/3] change config file location to be ~/.notmuch/config
Jameson Graef Rollins
jrollins at finestructure.net
Sun Nov 22 15:14:20 PST 2009
On Sun, Nov 22, 2009 at 05:24:53PM -0500, Bart Trojanowski wrote:
> I totally agree with Jamie about the config rename. I don't know if I
> agree with the database location change... but I might just need some
So I don't really like having the database stored in the maildir.
There are a couple reasons for this:
- I would prefer to keep all notmuch stuff together, including all
config files, data files, etc. In my opinion, this just makes
things easier to keep track of. No need to guess where any relevant
notmuch data is if it's all stored together in one place.
- I would prefer to not clutter my mail directories with anything
that's not mail. The notmuch database is definitely related to my
mail, but it's not exactly my mail, so I'd rather keep it somewhere
else. (I think there's a whole other thread to be started about
this, because I think the config should also hold the location of
the maildir to be indexed, not the path to the index itself, which
then makes implicit assumptions about where the maildir is.) This
point is also probably related to the fact that I've had to change
MUAs too many times to trust one indefinitely. So basically I want
to keep my mail wholly separate from anything that's processing it.
I think Carl said he wanted to keep the ability to specify exactly
where the database is stored, so if we could move away from something
that makes any implicit assumptions about relative paths between the
database and the maildir, then all should be ok.
> Would it be enough to just read .notmuch/config and fall back to
> .notmuch-config otherwise?
Yes, this is a good idea. I'll try to come up with a patch for this.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: Digital signature
More information about the notmuch