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 9E9EE429E26 for ; Mon, 12 Dec 2011 10:26:23 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled 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 8PKROEGfSwwW for ; Mon, 12 Dec 2011 10:26:23 -0800 (PST) Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 226ED429E25 for ; Mon, 12 Dec 2011 10:26:23 -0800 (PST) Received: from convex-new.cs.unb.ca ([131.202.13.154]) by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id pBCIQLBw015930; Mon, 12 Dec 2011 14:26:21 -0400 Received: from bremner by convex-new.cs.unb.ca with local (Exim 4.72) (envelope-from ) id 1RaAZx-0004i0-4B; Mon, 12 Dec 2011 14:26:21 -0400 From: David Bremner To: Dmitry Kurochkin , notmuch@notmuchmail.org Subject: Re: [PATCH] cli: factor out config handling code to get/set lists. In-Reply-To: <874nx76oxa.fsf@gmail.com> References: <87sjkstbiu.fsf@zancas.localnet> <1323619671-14111-1-git-send-email-david@tethera.net> <874nx76oxa.fsf@gmail.com> User-Agent: Notmuch/0.10.2+93~g518d4ef (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Mon, 12 Dec 2011 14:26:21 -0400 Message-ID: <87pqft8x4i.fsf@convex-new.cs.unb.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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, 12 Dec 2011 18:26:23 -0000 On Sun, 11 Dec 2011 20:41:53 +0400, Dmitry Kurochkin wrote: > Hi David. > > On Sun, 11 Dec 2011 12:07:51 -0400, David Bremner wrote: > > From: David Bremner > > > > Two new internal routines are created _config_get_list and > > _config_set_list; the notmuch_config_get_* functions that deal with > > lists are simply wrappers for these functions. Updated version pushed. I'm not completely happy with _config_get_list's weird API, but I don't have a better idea now. d