On Sat 2017-12-30 16:07:40 -0400, David Bremner wrote: > Just a rebase against current master, based on discussion in IRC > today. AFAIK, the general approach could be extended to support a > "NOTMUCH_DATABASE_DIRECTORY" environment variable, which if think is > what Tomi was suggesting previously. I'm not sure i understand the rationale here -- it looks like this might move the notmuch database directory away from its historic location alongside the set of maildirs (then "mailstore"). is that right? where would each such notmuch database live if there were two different mailstores? how is any given mailstore bound to the associated notmuch database itself? does the user point explicitly to both the mailstore and the database? or does pointing to the mailstore reveal the location of the database? or vice versa? is it possible (or should it be) to have one mailstore that is indexed by multiple databases? i ask because i've been thinking about ways to protect the index itself, but i want to make sure i understand all the different ways that the mailstore and the database are (or are not) coupled to each other. --dkg