On Mon, 21 Dec 2009 09:27:04 -0800, Carl Worth <cworth@cworth.org> wrote: > On Sun, 20 Dec 2009 15:29:15 +1100, Alex Ghitza <aghitza@gmail.com> wrote: >> It looks like we need a way to get the primary email address from the >> config file. > > Yes, we definitely need that. > >> Actually, while we're at it, we can consider making this >> more flexible and adding a new option to the config file (e.g. bcc=...) >> which would take a semicolon-separated list of email addresses (in case >> someone wants to always bcc an address other than the primary one). > > And that would be fine too. > >> Is there a nice clean way of getting the config variables in notmuch.el? >> Or should this go into a new file notmuch-compose.c? Note that the >> latter would imply having a new command like "notmuch compose". > > I think we want a new C file to make it easy to ask for options out of > the configuration file. The operation of "notmuch compose" seems simple > enough to not be necessary, (though maybe it would make it easier to get > standard behavior among different interfaces). What about adding a way to get/set config variables from the notmuch command line ? Would that be bloat ? That would even allow changing the internal format of the conf. file without breaking the clients... [Snip] Cheers Adrien