Re: [PATCH v2 1/3] Add 'compose' command
[notmuch-archives.git] / 63 / 5bbdf11154caa8e06d720d5ca5d29cbb3cf290
1 Return-Path: <tomi.ollila@iki.fi>\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 A3980431FAF\r
6         for <notmuch@notmuchmail.org>; Wed, 21 Mar 2012 11:30:47 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         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 DZYEA4gMzqYz for <notmuch@notmuchmail.org>;\r
16         Wed, 21 Mar 2012 11:30:47 -0700 (PDT)\r
17 Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66])\r
18         by olra.theworths.org (Postfix) with ESMTP id E0927431FAE\r
19         for <notmuch@notmuchmail.org>; Wed, 21 Mar 2012 11:30:46 -0700 (PDT)\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)\r
21         id D8AFA68055; Wed, 21 Mar 2012 20:30:43 +0200 (EET)\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>\r
23 To: Peter Wang <novalazy@gmail.com>, notmuch@notmuchmail.org\r
24 Subject: Re: [PATCH 1/2] config: Add 'config list' command\r
25 In-Reply-To: <1332282698-7951-1-git-send-email-novalazy@gmail.com>\r
26 References: <1332282698-7951-1-git-send-email-novalazy@gmail.com>\r
27 User-Agent: Notmuch/0.11.1+288~g4b3af0e (http://notmuchmail.org) Emacs/23.3.1\r
28         (x86_64-unknown-linux-gnu)\r
29 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
30         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
31         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
32 Date: Wed, 21 Mar 2012 20:30:43 +0200\r
33 Message-ID: <m2d385dcx8.fsf@guru.guru-group.fi>\r
34 MIME-Version: 1.0\r
35 Content-Type: text/plain; charset=us-ascii\r
36 X-BeenThere: notmuch@notmuchmail.org\r
37 X-Mailman-Version: 2.1.13\r
38 Precedence: list\r
39 List-Id: "Use and development of the notmuch mail system."\r
40         <notmuch.notmuchmail.org>\r
41 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
42         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
44 List-Post: <mailto:notmuch@notmuchmail.org>\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
46 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
48 X-List-Received-Date: Wed, 21 Mar 2012 18:30:47 -0000\r
49 \r
50 On Wed, 21 Mar 2012 09:31:37 +1100, Peter Wang <novalazy@gmail.com> wrote:\r
51 > Add a command to list all keys in a given configuration section.\r
52\r
53 > One use is as follows: a MUA may prefer to store data in a central\r
54 > notmuch configuration file so that the data is accessible across\r
55 > different machines, e.g. an addressbook.  The list command helps\r
56 > to implement features such as tab completion on the keys.\r
57 \r
58 Before getting deeper into implementation it is good to remember\r
59 that 'notmuch config' is loosely modeled after 'git config'.\r
60 \r
61 git config --list outputs somewhat different output.\r
62 \r
63 Maybe this command should be like 'notmuch config list-section-keys'\r
64 \r
65 > ---\r
66 >  notmuch-config.c |   27 +++++++++++++++++++++++++++\r
67 >  1 files changed, 27 insertions(+), 0 deletions(-)\r
68 \r
69 Tomi\r