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

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

Date: Tue, 10 Dec 2019 08:11:56 -0800

To: Jorge P. de Morais Neto, Daniel Kahn Gillmor, Tomi Ollila, notmuch@notmuchmail.org

Cc:

From: Jameson Graef Rollins


On Sun, Dec 08 2019, Jorge P. de Morais Neto <jorge+list@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.
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: