Re: Database path discovery in bindings

2020-04-22 Thread Kirill Elagin
On Wed, Apr 22, 2020 at 9:28 PM Tomi Ollila wrote: > > There has been thoughts to dump the configuration file, and put the > configuration to the database -- so then the bindings can just open the > database to find the configuration oh wait... > > In this case we'd find the database in

Database path discovery in bindings

2020-04-20 Thread Kirill Elagin
Hello, Notmuch contains a bit of logic for “normalising” the database path: it can be relative to $HOME and fallsback to $MAILDIR or $HOME/mail. However, this logic is implemented in `notmuch_config_open` and is not available through bindings. So if a third-party tool wants to discover the