Re: Breakage after updating to 0.32 (database and path issues)

Subject: Re: Breakage after updating to 0.32 (database and path issues)

Date: Sun, 16 May 2021 16:50:13 -0700

To: David Bremner, notmuch@notmuchmail.org

Cc:

From: Jack Kamm


Hi David,

David Bremner <david@tethera.net> writes:

> Jack Kamm <jackkamm@gmail.com> writes:
>
>> Update: I was able to fix my problems by explicitly setting "database.path" to "$HOME/mail" in my .notmuch-config. Then, notmuch was able to find my emails in my "$HOME/mail" as well as my database at "$HOME/mail/.notmuch".
>>
>> Confusingly, if "database.path" wasn't explicitly set in
>> .notmuch-config, then "notmuch config get database.path" still
>> returned "$HOME/mail", but notmuch cant' find the database, instead
>> looking in ".local/share/notmuch/default". Is this a bug?
>
> It's a bit surprising that you can't reproduce this anymore, because I
> think there really was a bug here. I have sent a patch as a followup,

Is it possible that at this point the config variable had been set in
the database, so it remained set even though I commented it from my
dotfile, hence the inability to reproduce?

Just a wild guess, as I'm not sure how the database and config file
interact with each other.

I don't want to mess further with my email at the moment, so not going
to do more testing on this right now. But I'll keep an eye on it and
update if I notice anything wrong.

Thanks again, and sorry for the delayed response.

Best,
Jack
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: