Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 1856A431FBC for ; Mon, 21 Dec 2009 11:39:12 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kkNmQ1MgXqgJ for ; Mon, 21 Dec 2009 11:39:09 -0800 (PST) Received: from mout.perfora.net (mout.perfora.net [74.208.4.195]) by olra.theworths.org (Postfix) with ESMTP id A9E54431FAE for ; Mon, 21 Dec 2009 11:39:09 -0800 (PST) Received: from mail.mymadcat.com (mymadcat.com [213.251.163.154]) by mx.perfora.net (node=mxus0) with ESMTP (Nemesis) id 0LyngF-1O77OM02Sd-015TcP for notmuch@notmuchmail.org; Mon, 21 Dec 2009 14:39:09 -0500 Received: by mail.mymadcat.com (Postfix, from userid 504) id 9F7693E2DF; Mon, 21 Dec 2009 20:39:02 +0100 (CET) Received: from mail.mymadcat.com (localhost.localdomain [127.0.0.1]) by mail.mymadcat.com (Postfix) with ESMTPSA id E62733E2C5; Mon, 21 Dec 2009 20:39:01 +0100 (CET) MIME-Version: 1.0 Date: Mon, 21 Dec 2009 20:39:01 +0100 From: Adrien BUSTANY To: Carl Worth In-Reply-To: <871viotezb.fsf@yoom.home.cworth.org> References: <54hbrnpod1.fsf@gmail.com> <8763836xnv.fsf@59A2.org> <54hbrmze3v.fsf@gmail.com> <87aaxextev.fsf@yoom.home.cworth.org> <54eimqz2sk.fsf@gmail.com> <871viotezb.fsf@yoom.home.cworth.org> Message-ID: <6618de730a746044b8561e5af5cda197@localhost> X-Sender: madcat@mymadcat.com User-Agent: RoundCube Webmail/0.3-beta Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 X-Mailman-Approved-At: Mon, 21 Dec 2009 12:25:11 -0800 Cc: notmuch@notmuchmail.org Subject: Re: [notmuch] keeping a copy of sent mail locally X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Dec 2009 19:39:12 -0000 On Mon, 21 Dec 2009 09:27:04 -0800, Carl Worth wrote: > On Sun, 20 Dec 2009 15:29:15 +1100, Alex Ghitza 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