unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Jack Kamm <jackkamm@gmail.com>
To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org
Subject: Re: Breakage after updating to 0.32 (database and path issues)
Date: Sun, 16 May 2021 16:50:13 -0700	[thread overview]
Message-ID: <878s4eutl6.fsf@gmail.com> (raw)
In-Reply-To: <875yzqkgmb.fsf@tethera.net>

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

      reply	other threads:[~2021-05-16 23:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-09 14:58 Breakage after updating to 0.32 (database and path issues) Jack Kamm
2021-05-09 17:51 ` David Bremner
2021-05-09 18:08   ` Jack Kamm
2021-05-09 17:54 ` Jack Kamm
2021-05-09 18:52   ` Jack Kamm
2021-05-10 10:39   ` [PATCH] lib/open: restore default database path of $HOME/mail David Bremner
2021-05-15 12:12     ` David Bremner
2021-05-10 10:50   ` Breakage after updating to 0.32 (database and path issues) David Bremner
2021-05-16 23:50     ` Jack Kamm [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878s4eutl6.fsf@gmail.com \
    --to=jackkamm@gmail.com \
    --cc=david@tethera.net \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).