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?

Also, it seems like a bug that notmuch was unable to find any of my email when 
I had previously set "database.path" to "$HOME/mail/.notmuch". It seems like it 
was looking for the mail in "database.path" when it should have been looking in 
"database.mail_root".

Finally, the manpage of notmuch-config(1) seems to be incorrect when it says 
that database.path will use a ".notmuch" subdirectory when "database.mail_root" 
is unset. In particular, "notmuch config get database.mail_root" returns 
"$HOME/mail", however "database.path" is still using a ".notmuch" subdirectory.
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org

Reply via email to