moving the config into the database [was: Re: [PATCH] Display extra headers for emacs-mua - db config option]

Jameson Graef Rollins jrollins at caltech.edu
Tue Dec 10 08:11:56 PST 2019


On Sun, Dec 08 2019, Jorge P. de Morais Neto <jorge+list at disroot.org> wrote:
> Em [2019-12-08 dom 09:12:55-0800], Jameson Graef Rollins escreveu:
>
>> You can already use 'notmuch config list' to dump every configuration
>> item to stdout.  Would that be sufficient for personal synchronization
>> purposes.
>
> But then I would have to remember invoking
> ~notmuch config list > ~/notmuch-config~
> every time I changed Notmuch configuration.

Rather than remember, why not just have your synchronization script
retrieve the config at sync time using notmuch config/dump.  That way
you don't have to remember to do anything, and you can be agnostic about
how the configuration info is stored on disk.

Fwiw I support dkg's idea to store the config in the database itself.  I
think that's a clean simplification that makes a lot of sense.

jamie.


More information about the notmuch mailing list