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 6E9AC431FB6 for ; Thu, 5 Apr 2012 18:48:36 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 ear6HSaUi9PJ for ; Thu, 5 Apr 2012 18:48:36 -0700 (PDT) Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com [209.85.160.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 00B30431FAE for ; Thu, 5 Apr 2012 18:48:35 -0700 (PDT) Received: by pbcuo1 with SMTP id uo1so2418745pbc.26 for ; Thu, 05 Apr 2012 18:48:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=DxsIxyyPrOTLqrs0DsGhDkVWaDK0yxW7CvwvHHPb9Js=; b=TBSYxFloxxs84GGKAwj014+VLbnLzyWtjQIqHT6xW9q0TmgHqzg3hUxzv3dTw/0sDZ 9RSBKDoiPfNvX9v12K3IZCTdN53hM3VyfRhxdfHl3oHOt/k4Pk/Fsno4f0JkQYlyp/UV N2Y18LEpPT4i5V3R5Ri09T8WxvziszpzvOGIfQPflZimmYLSGMZcyxFW7uhGDH8oa5wE aOBFetSRNjMLaGf6uG3urCifug4zxnj05SzUFv4Cpxxq2Va29Wsd6z0KIdXrwWN3Sdr5 wEXoxrTJO3C8SpGTxv6YyuRPWGSaxw9UidvjyWiHQv1XjCc3GdmtSGhbRxRMIw0keJQ8 VODA== Received: by 10.68.212.35 with SMTP id nh3mr11575158pbc.84.1333676913941; Thu, 05 Apr 2012 18:48:33 -0700 (PDT) Received: from localhost (215.42.233.220.static.exetel.com.au. [220.233.42.215]) by mx.google.com with ESMTPS id a9sm4777895pbo.48.2012.04.05.18.48.30 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Apr 2012 18:48:32 -0700 (PDT) From: Peter Wang To: notmuch@notmuchmail.org Subject: [PATCH v3 0/5] Add 'config list' command Date: Fri, 6 Apr 2012 11:48:01 +1000 Message-Id: <1333676886-9835-1-git-send-email-novalazy@gmail.com> X-Mailer: git-send-email 1.7.4.4 In-Reply-To: <1332282698-7951-1-git-send-email-novalazy@gmail.com> References: <1332282698-7951-1-git-send-email-novalazy@gmail.com> 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: Fri, 06 Apr 2012 01:48:36 -0000 This version tests 'config set' by reading back the set value, as suggested. Peter Wang (5): config: Fix free in 'config get' implementation. test: Add tests for 'config' command test: Add broken test for 'config list' config: Add 'config list' command man: Document 'config list' command man/man1/notmuch-config.1 | 14 +++++++++ notmuch-config.c | 68 +++++++++++++++++++++++++++++++++++++++++--- test/config | 40 ++++++++++++++++++++++++++ test/notmuch-test | 1 + 4 files changed, 118 insertions(+), 5 deletions(-) create mode 100755 test/config -- 1.7.4.4