--- /dev/null
+Return-Path: <jani@nikula.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 8C3B8431FBF\r
+ for <notmuch@notmuchmail.org>; Sun, 3 Mar 2013 13:55:20 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id UXq7Vh4BDhoM for <notmuch@notmuchmail.org>;\r
+ Sun, 3 Mar 2013 13:55:16 -0800 (PST)\r
+Received: from mail-la0-f51.google.com (mail-la0-f51.google.com\r
+ [209.85.215.51]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 4BD5A431FAE\r
+ for <notmuch@notmuchmail.org>; Sun, 3 Mar 2013 13:55:16 -0800 (PST)\r
+Received: by mail-la0-f51.google.com with SMTP id fo13so4445290lab.10\r
+ for <notmuch@notmuchmail.org>; Sun, 03 Mar 2013 13:55:13 -0800 (PST)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=google.com; s=20120113;\r
+ h=x-received:from:to:cc:subject:date:message-id:x-mailer\r
+ :x-gm-message-state;\r
+ bh=iCEM80rkTgI2CTDznL38dsVWuJWXZudAdBnD84RseB8=;\r
+ b=Abs4vPBdCzD9UVDfGcHlIralOAdLZCJZRB/IiPdfihICQlyzx+DJmRMn5P3G381s9I\r
+ MZgBO07bTkVXfoh8QG3Em++TuVBbK1I7eGl31iJQzT8auETTJfhoRSMAADYRHmZktOV5\r
+ k3LfU8kxCqemyn9yUm4/4BOYLaBTky9xZPsXS/hN0P4VkTTpZn69i1QtGUaCVQ2Nx9KW\r
+ +Lb0woj7OQFE+NtV8uW5mR7BYT8vrZtgXxby3//fU0VXyRWd0I18CkxYHQs3PgG0DqOT\r
+ 2N2rZrGxd0T49LvFmGSbWUXA17Q3fqfJEwAIIcl5jlFusu3zZiB2RgUf0knz03sdzqr3\r
+ ewmA==\r
+X-Received: by 10.152.105.38 with SMTP id gj6mr15715754lab.25.1362347713258;\r
+ Sun, 03 Mar 2013 13:55:13 -0800 (PST)\r
+Received: from localhost (dsl-hkibrasgw4-50df51-27.dhcp.inet.fi.\r
+ [80.223.81.27])\r
+ by mx.google.com with ESMTPS id mq7sm10733980lab.1.2013.03.03.13.55.11\r
+ (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+ Sun, 03 Mar 2013 13:55:12 -0800 (PST)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v2 0/6] notmuch cli config changes\r
+Date: Sun, 3 Mar 2013 23:55:04 +0200\r
+Message-Id: <cover.1362347362.git.jani@nikula.org>\r
+X-Mailer: git-send-email 1.7.10.4\r
+X-Gm-Message-State:\r
+ ALoCoQlaXG+LWgp2XGHw3zWm69v3UM8apPRIIMiV4th118uzQCRlTb8OLZtMT9ASSxppeVZ+ZkNl\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 03 Mar 2013 21:55:20 -0000\r
+\r
+This is v2 of id:cover.1359495450.git.jani@nikula.org, being mostly just\r
+rebase and commit message amendments, and a slight reordering of a few\r
+patches. The only functional change is to allow notmuch help to be run\r
+without a config file which was broken in v1.\r
+\r
+BR,\r
+Jani.\r
+\r
+\r
+Jani Nikula (6):\r
+ cli: abstract subcommand finding into a new function\r
+ cli: plug main notmuch command into subcommand machinery\r
+ cli: config: keep track of whether the config is newly created\r
+ cli: config: make notmuch_config_open() "is new" parameter input only\r
+ cli: move config open/close to main() from subcommands\r
+ cli: add top level --config=FILE option\r
+\r
+ notmuch-client.h | 35 ++++++------\r
+ notmuch-config.c | 73 +++++++++----------------\r
+ notmuch-count.c | 11 ++--\r
+ notmuch-dump.c | 7 +--\r
+ notmuch-new.c | 17 +++---\r
+ notmuch-reply.c | 15 ++----\r
+ notmuch-restore.c | 11 ++--\r
+ notmuch-search.c | 15 ++----\r
+ notmuch-setup.c | 22 ++++----\r
+ notmuch-show.c | 15 ++----\r
+ notmuch-tag.c | 15 ++----\r
+ notmuch.c | 144 +++++++++++++++++++++++++++-----------------------\r
+ test/random-corpus.c | 2 +-\r
+ 13 files changed, 162 insertions(+), 220 deletions(-)\r
+\r
+-- \r
+1.7.10.4\r
+\r