notmuch-vim doesn't respect notmuch config defaults

David Bremner david at tethera.net
Thu Oct 2 04:24:18 PDT 2014


Sergei Shilovsky <sshilovsky at gmail.com> writes:

> I would suggest to use `notmuch config list` to get configuration
> values in vim if possible

I guess this is a general question we haven't really resolved, namely
sharing configuration information between various notmuch frontends.
.notmuch-config is really the configuration file for the notmuch CLI; it
isn't read by library, so clients using language bindings won't see it
at all by default.

On a somewhat related note I've been thinking how to best associate
configuration information with a database (see e.g. the thread at
id:1411805835-3563-1-git-send-email-david at tethera.net ). Note that this
would not help this particular case.

Offhand, I wouldn't be personally to some interface at the library level
wrapping the reading and writing of ~/.notmuch-config, although as I
mentioned before, the size and complexity of notmuch-config.c perturb me
a little as far as being suitable for library code.

d


More information about the notmuch mailing list