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 EF573431FAF for ; Fri, 13 Apr 2012 18:41:43 -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 mo02E-vMnJ+J for ; Fri, 13 Apr 2012 18:41:43 -0700 (PDT) Received: from mail-pz0-f45.google.com (mail-pz0-f45.google.com [209.85.210.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 82C90431FAE for ; Fri, 13 Apr 2012 18:41:43 -0700 (PDT) Received: by dacx6 with SMTP id x6so4543752dac.18 for ; Fri, 13 Apr 2012 18:41:41 -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=0RdsYRmOY88K5FhVrhjhNBON5MURUgQRJGGPIT8PHUA=; b=kvmWNrkkO+cwtbWKmYu6IMTVyVthXw5vuRT0HHA47LuFyBtDmgiS6i3XhkXGjnU6tY 5KtHwee2AQ4T7RNyvgpnTYEuipbvthYMT8le6+Hlfzut8QrnZXnYwOqrlRHg1iTAi98Y CtZvFm/2T4cefIe3zwEKCH+zQqC2nu0RHsmiLPjF5EMBAeeKUFVOBW3KIvg/j1ryqUMo k4ukOpymKxWew/GKaov6JCCF2Qem1PZyxH1chYVfFqWsLkPYKtAKOsIfGG9Jr/ShUKPh /zbY8pb/3O5yiJyZvKR2Eg1IiBQ1dHl73uDBcJLsfxY9kXPfqhTkWaRP4cCEFiiPWDaJ hYyg== Received: by 10.68.223.67 with SMTP id qs3mr8856978pbc.142.1334367701669; Fri, 13 Apr 2012 18:41:41 -0700 (PDT) Received: from localhost (215.42.233.220.static.exetel.com.au. [220.233.42.215]) by mx.google.com with ESMTPS id g4sm10245938pbt.58.2012.04.13.18.41.26 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 13 Apr 2012 18:41:40 -0700 (PDT) From: Peter Wang To: notmuch@notmuchmail.org Subject: [PATCH v4 0/6] Config-related patches Date: Sat, 14 Apr 2012 11:41:00 +1000 Message-Id: <1334367666-10954-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: Sat, 14 Apr 2012 01:41:44 -0000 Changes from v3: - rephrase part of the 'list' implementation as a separate patch - test 'set' on an extant key - test removing keys Peter Wang (6): config: Fix free in 'config get' implementation. config: Check 'config get' arity exactly 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 | 60 +++++++++++++++++++++++++++++++++++++++ test/notmuch-test | 1 + 4 files changed, 138 insertions(+), 5 deletions(-) create mode 100755 test/config -- 1.7.4.4