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: Wed, 11 Dec 2019 10:53:06 +0000

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

Cc:

From: David Edmondson


On Tuesday, 2019-12-10 at 08:11:56 -08, Jameson Graef Rollins wrote:

> 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.

I'm not inherently against this, but I'm unsure exactly how it would
work.

For example, I set new.tags and new.ignore in my current
.notmuch-config. If they move into the database, how will I set them
before I have a database?

It seems that only “notmuch new” is currently prepared to create a new
database, but it will also import all of my email before I have a chance
to set the above parameters.

It seems that the obvious answer is “notmuch config” will create a
database if necessary. Is that the plan?

dme.
-- 
They like the smell of it in Hollywood.
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: