[PATCH] configure: add --without-api-docs option
[notmuch-archives.git] / fa / 2dd295636a99ffc7051807ebcb329b3f44f880
1 Return-Path: <jani@nikula.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 72AFE431FAF\r
6         for <notmuch@notmuchmail.org>; Tue, 29 Jan 2013 13:46:34 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id iUEucyQeCj46 for <notmuch@notmuchmail.org>;\r
16         Tue, 29 Jan 2013 13:46:34 -0800 (PST)\r
17 Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com\r
18         [209.85.217.179]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id C3C7E431FAE\r
21         for <notmuch@notmuchmail.org>; Tue, 29 Jan 2013 13:46:33 -0800 (PST)\r
22 Received: by mail-lb0-f179.google.com with SMTP id j14so1343227lbo.10\r
23         for <notmuch@notmuchmail.org>; Tue, 29 Jan 2013 13:46:30 -0800 (PST)\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
25         d=google.com; s=20120113;\r
26         h=x-received:from:to:subject:date:message-id:x-mailer\r
27         :x-gm-message-state;\r
28         bh=Z6oA6oC6S0B7Bw9msvbr5mprubrSfIIpyfulPOTa3YQ=;\r
29         b=KwJxFu+V7n+mzLKcyzm1tw31V8jbev0C1pY6M/OJAXSIXiNPONjD4UbVncvphLTSUo\r
30         3psRP5A37KrSfuMnEmZuauEenfXfIvjMP3/kbADU8i0Up1iq4ImPjsjNq7ZHvFDd/5bF\r
31         wUFjGPZcc20ktMw42oMkhEdS7/0ugCzCwOpehe9icJR7uOa3/uEHdaZzYVj5E+1IaIrA\r
32         2mvYV3q6ycDUcW8syL9uDXjg6ILhv7hfGWKMZ6lbzRhwozS0LQCSyDJ+PgjWvwOf/DbC\r
33         nAABRpmTxpEsFrde+sSJT0MGEhpnUGpRWOAr4NoUBNdxOICNHiAYSg2T6C8u7K+88A7M\r
34         GaLw==\r
35 X-Received: by 10.112.45.201 with SMTP id p9mr1076792lbm.13.1359495989959;\r
36         Tue, 29 Jan 2013 13:46:29 -0800 (PST)\r
37 Received: from localhost (dsl-hkibrasgw4-50df51-27.dhcp.inet.fi.\r
38         [80.223.81.27])\r
39         by mx.google.com with ESMTPS id go4sm5059807lbb.16.2013.01.29.13.46.25\r
40         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
41         Tue, 29 Jan 2013 13:46:28 -0800 (PST)\r
42 From: Jani Nikula <jani@nikula.org>\r
43 To: notmuch@notmuchmail.org\r
44 Subject: [PATCH 0/6] notmuch cli config changes\r
45 Date: Tue, 29 Jan 2013 23:46:18 +0200\r
46 Message-Id: <cover.1359495450.git.jani@nikula.org>\r
47 X-Mailer: git-send-email 1.7.10.4\r
48 X-Gm-Message-State:\r
49  ALoCoQl+/kgLALrSKCrs3D5G8kOylJiasgT9Fg7RYbx6AmkbSN8J14oY1Et14AW+v/u5xjnrrncU\r
50 X-BeenThere: notmuch@notmuchmail.org\r
51 X-Mailman-Version: 2.1.13\r
52 Precedence: list\r
53 List-Id: "Use and development of the notmuch mail system."\r
54         <notmuch.notmuchmail.org>\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
58 List-Post: <mailto:notmuch@notmuchmail.org>\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
62 X-List-Received-Date: Tue, 29 Jan 2013 21:46:34 -0000\r
63 \r
64 Hi all, the goal here is to add support for --config=FILE option at the\r
65 notmuch top level (e.g. 'notmuch --config=FILE search foo'). In order to\r
66 achieve this neatly, I ended up moving config open/close to main() from\r
67 subcommands. This isn't a bad thing, because all notmuch commands opened\r
68 the config file anyway.\r
69 \r
70 As an added bonus, after this it should be trivial to 1) add top level\r
71 command line arguments to override config, or 2) add global command line\r
72 parameters passed on to subcommands via config (even if not stored in\r
73 the config file).\r
74 \r
75 In the end this results in a net reduction of code.\r
76 \r
77 BR,\r
78 Jani.\r
79 \r
80 \r
81 Jani Nikula (6):\r
82   cli: keep track of whether the config is newly created\r
83   cli: make notmuch_config_open() "is new" parameter input only\r
84   cli: abstract subcommand finding into a new function\r
85   cli: plug main notmuch command into subcommand machinery\r
86   cli: move config open/close to main() from subcommands\r
87   cli: add top level --config=FILE option\r
88 \r
89  notmuch-client.h     |   35 ++++++-------\r
90  notmuch-config.c     |   73 +++++++++-----------------\r
91  notmuch-count.c      |   11 ++--\r
92  notmuch-dump.c       |    7 +--\r
93  notmuch-new.c        |   17 +++----\r
94  notmuch-reply.c      |   15 ++----\r
95  notmuch-restore.c    |   11 ++--\r
96  notmuch-search.c     |   15 ++----\r
97  notmuch-setup.c      |   22 ++++----\r
98  notmuch-show.c       |   15 ++----\r
99  notmuch-tag.c        |   15 ++----\r
100  notmuch.c            |  138 +++++++++++++++++++++++++++-----------------------\r
101  test/random-corpus.c |    2 +-\r
102  13 files changed, 159 insertions(+), 217 deletions(-)\r
103 \r
104 -- \r
105 1.7.10.4\r
106 \r