On Thu 2019-11-21 08:27:04 -0400, David Bremner wrote: > Apologies for being late to the discussion of where to store the > configuration. So far we have only stored configuration in the database > where it affected the behaviour of the library API. While i'm being ambitious, i'd like also to eventually consider moving more of the existing CLI functionality into being accessible from the library. I think this would help downstream MUAs that use notmuch who currently can't (or don't want to, for whatever reason) take advantage of the existing CLI, but can use the library. If we stuff more config in the config file, then the behavior of any future move to the library will have to grapple with the config move (currently the library never reads the config file, it just opens the database). > I know some people (e.g. dkg) have suggested it would be better to > store all of the configuration in the database for consistency, while > others are disgruntled that some of the configuration is not editable > with text editor. It would still editable with a text editor -- you just need to edit the output of "notmuch dump --include config" and feed the result back into "notmuch restore" :) --dkg